You are not logged in.

#1 2010-02-25 05:14:31

stryder
Member
Registered: 2009-02-28
Posts: 500

[solved] cdcat: parse error opening database

I have been unable to open the cdcat database recently with errors showing up. Unusually,

1. 1 database can be opened completely
2. 1 database opened when I deleted several entries, but cannot be opened if I rescaned discs I deleted.
3. Import works but after file is saved, it cannot be opened again

Cdcat in windows works. An older version (built before libpng upgrade) works. This problem is the same whether 32-bit or 64-bit. Ninian reports similar problems here. I have rebuilt everything AFAIK but the problem persists. Can anyone shed some light? My guess is the libpng change, although I can't understand how - the program runs and does everything - just has problems opening even files that it creates, complaining of unclosed tokens, no element found, etc. The database is basically an xml file gzipped.

Here's a list of dependencies:

$ ldd /usr/bin/cdcat
    linux-vdso.so.1 =>  (0x00007fff9b8ea000)
    libpcre.so.0 => /lib/libpcre.so.0 (0x00007f040f2e0000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00007f040f0c8000)
    libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f040eea0000)
    libqt-mt.so.3 => /opt/qt/lib/libqt-mt.so.3 (0x00007f040e425000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f040e213000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f040deda000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f040dbca000)
    libm.so.6 => /lib/libm.so.6 (0x00007f040d949000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f040d733000)
    libc.so.6 => /lib/libc.so.6 (0x00007f040d3dc000)
    libpng14.so.14 => /usr/lib/libpng14.so.14 (0x00007f040d1b4000)
    libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f040cfbc000)
    libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007f040cda3000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f040cb9a000)
    libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f040c992000)
    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f040c789000)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f040c587000)
    libXft.so.2 => /usr/lib/libXft.so.2 (0x00007f040c373000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f040c0dc000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f040bea8000)
    libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f040bca0000)
    libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f040ba85000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007f040b881000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007f040b665000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f040b44a000)
    /lib/ld-linux-x86-64.so.2 (0x00007f040f510000)
    libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00007f0409f7a000)
    libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x00007f040f606000)
    libXt.so.6 => /usr/lib/libXt.so.6 (0x00007f0409d17000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f0409b12000)
    libuuid.so.1 => /lib/libuuid.so.1 (0x00007f040990e000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f040970c000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f0409507000)

FURTHER INVESTIGATION:

OK, I'm officially confused. I tried to rebuild the database with 11 DVDs. With every addition I save, close and reopen. Any problems, I use the windows cdcat to delete and go on. So, out of them, DVD9 and DVD1 were problematic. BUT, I can create a new catalog and scan those 2 dvds, save and reopen. There are several such permutations and there does not seem to be something consistent, except that the dvds that are OK remains consistently OK.

Any cdcat users out there who has a solution, please let me know. Thanks.

Last edited by stryder (2010-03-30 08:28:04)

Offline

#2 2010-02-26 06:24:22

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: [solved] cdcat: parse error opening database

Well I pretty much eliminated the libpng possibility - copied the cdcat from an old install, with related files, (which works there and can open every database), installed libpng12 - cdcat ran, but the database error remained. Anyone who uses cdcat?

Offline

#3 2010-02-28 06:36:50

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: [solved] cdcat: parse error opening database

Looks like nobody else has this problem. Anyway I have installed sidux (debian sid) in virtualbox and I run cdcat there. It balks at video and audio metadata but I don't need these and turn them off. A little overkill but I do have a use for a light linux installation running as a virtual image. So, not solved, but my present need is resolved. Why not just use another program? Well, cdcat runs in windows, osx and linux.

Offline

#4 2010-03-09 19:48:28

hbalazs1980
Member
Registered: 2010-03-09
Posts: 4

Re: [solved] cdcat: parse error opening database

Hi,

I have the same problem here. I've tried the following: I opened the related hcf files with cdcat under Windows and exported it into csv. After that I import csv file with cdcat under Arch Linux. That worked, the csv file was imported successfully. I saved the new database into hcf file and then tried to load it. I was very amused when cdcat was not able to open it. The parsing error message appeared and nothing more sad

Offline

#5 2010-03-10 02:24:35

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: [solved] cdcat: parse error opening database

Yup... did all that too with similar disappointing results. sad

Offline

#6 2010-03-10 12:38:37

hbalazs1980
Member
Registered: 2010-03-09
Posts: 4

Re: [solved] cdcat: parse error opening database

Have you already reported it at bug.archlinux.org?

Offline

#7 2010-03-10 12:39:14

hbalazs1980
Member
Registered: 2010-03-09
Posts: 4

Re: [solved] cdcat: parse error opening database

Sorry, bugs.archlinux.org

Offline

#8 2010-03-10 13:13:49

hbalazs1980
Member
Registered: 2010-03-09
Posts: 4

Re: [solved] cdcat: parse error opening database

I've just reported it at bugs.archlinux.org.
http://bugs.archlinux.org/task/18628

Offline

#9 2010-03-28 13:44:01

Gregiure.Favre
Member
Registered: 2010-03-28
Posts: 3

Re: [solved] cdcat: parse error opening database

I am not under Archlinux and I just registrered here to post the solution : http://bugs.gentoo.org/show_bug.cgi?id=48826 look for the patch posted today :-)

Offline

#10 2010-03-28 13:53:38

Gregiure.Favre
Member
Registered: 2010-03-28
Posts: 3

Re: [solved] cdcat: parse error opening database

Damned, I registrered with bad name (Gregiure should be Grégoire)...

Offline

#11 2010-03-30 08:25:39

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: [solved] cdcat: parse error opening database

I must confess I have no clue how to understand the patch or how to use the patch, so I just took a look at the PKGBUILD and copied the command that applied a patch. Anyway, long story short, it works. Thanks, Gregoire... Comments in AUR are off so I can't say anything there but whoever has this problem (@hbalazs1980), this works.

Offline

Board footer

Powered by FluxBB