[lxml-dev] jbrout fails to work second time on Fedora Core 6/RHEL 5b2

Hi, trying to package jbrout (photo management application) for Fedora Extras and I get always this error when running jbrout for the second time (this time on RHEL 5beta2; verision of python-lxml is still just 1.0.3.2): [matej@hubmaier ~]$ jbrout GTK Accessibility Module initialized Traceback (most recent call last): File "/usr/share/jbrout/jbrout.py", line 2164, in ? main() File "/usr/share/jbrout/jbrout.py", line 2133, in main JBrout.init(canModify) File "/usr/share/jbrout/db.py", line 1297, in init JBrout.db = DBPhotos( JBrout.getConfFile("db.xml") ) File "/usr/share/jbrout/db.py", line 118, in __init__ self.root = ElementTree(file=file).getroot() File "etree.pyx", line 1504, in etree.ElementTree File "parser.pxi", line 687, in etree._parseDocument File "parser.pxi", line 624, in etree._parseDocFromFile File "parser.pxi", line 364, in etree._BaseParser._parseDocFromFile File "parser.pxi", line 432, in etree._handleParseResult File "parser.pxi", line 403, in etree._raiseParseError etree.XMLSyntaxError: line 1: PCDATA invalid Char value 2 [matej@hubmaier ~]$ Further discussion of this bug is on jbrout list at http://groups.google.com/group/jbrout/browse_thread/thread/73aaa54115930c5b Could anybody help me how to make this package work? Thanks a lot, Matěj -- http://www.ceplovi.cz/matej/blog/, Jabber: ceplma<at>jabber.cz GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC My life has been full of terrible misfortunes most of which never happened. -- Michel de Montaigne

Fredrik Lundh scripst:
the error message says that the "db.xml" file is broken. what does the first few lines in that file look like?
The file is available in its entiriety on http://www.ceplovi.cz/matej/tmp/db.xml Thanks a lot for the answer, Matěj -- http://www.ceplovi.cz/matej/blog/, Jabber: ceplma<at>jabber.cz GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC Scouts are saving aluminum cans, bottles and other items to be recycled. Proceeds will be used to cripple children. -- from a church bulletin

Fredrik Lundh scripst:
the error message says that the "db.xml" file is broken. what does the first few lines in that file look like?
The file is available in its entiriety on http://www.ceplovi.cz/matej/tmp/db.xml Thanks a lot for the answer, Matěj -- http://www.ceplovi.cz/matej/blog/, Jabber: ceplma<at>jabber.cz GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC Scouts are saving aluminum cans, bottles and other items to be recycled. Proceeds will be used to cripple children. -- from a church bulletin
participants (3)
-
Fredrik Lundh
-
Matej Cepl
-
Matej Cepl