From: Serge N. <Ser...@fr...> - 2010-09-08 19:19:06
|
Does someone already get this kind of problem ? I had gramps 3.2.0 on a ubuntu hardy. I export my database with media : no problem. I tried to import in trunk under lucid : big problem. I tried to import in the same gramps in a new db under hardy: I get the following problem 299902: ERROR: dbloader.py: line 247: Failed to import database. Traceback (most recent call last): File "/usr/share/gramps/gui/dbloader.py", line 237, in do_import self._pulse_progress) File "/usr/share/gramps/plugins/import/ImportXml.py", line 111, in importData version_is_valid(xml_file, cl) is False: File "/usr/share/gramps/plugins/import/ImportXml.py", line 2479, in version_is_valid parser = VersionParser(filename) File "/usr/share/gramps/plugins/import/ImportXml.py", line 2405, in __init__ self.__p.ParseFile(xml_file) ExpatError: not well-formed (invalid token): line 1, column 11 I installed gramps 3.2.3 : I can work with my database. I export the db. I create a new db then import the gramps file : same problem I export it then try to reimport : same problem I have the same problem with 3.2.4 svn I tried to see in the xml file. Impossible, it's a 45600 lines file. Is there a way to debug the parsing of the gramps file ? can we add _LOG.debug() ? I'm on ubuntu hardy. I tried to export my database without media. It works. very strange ! isn't it ? Serge |