From: Benny M. <ben...@gm...> - 2008-04-07 08:58:56
|
2008/4/7, Dave <dia...@ya...>: > > > When I use File-Export-Export to gramps XML I get the following error > after I confirm my selections and press the accept button. Gramps crashes > and has to be restarted. A file is generated but I don't know what it > contains. I will attach it so you can examine it as well. I tried to > attach it but the Norton Anti virus attached to yahoo mail rejects it as > having a virus and won't send it. Let me know if you need it and I will > figure out a way to get it to you. > Your compile and install went wrong. Above code indicates you are running gramps 2.2.x, but the file const.py is the one of version 3.0.0. I think you should uninstall version 2.2.x with your package manager, then reinstall 3.0.0 from source but use the --prefix option to autogen.sh to set the correct location for SUSE. Then try again. Benny Dave > > 40223: ERROR: gramps.py: line 160: Unhandled exception > Traceback (most recent call last): > File "/usr/local/share/gramps/ExportAssistant.py", line 462, in > do_prepare > success = self.save() > File "/usr/local/share/gramps/ExportAssistant.py", line 584, in save > self.callback) > File "/usr/local/share/gramps/GrampsDb/_WriteXML.py", line 101, in > exportData > ret = g.write(filename) > File "/usr/local/share/gramps/GrampsDb/_WriteXML.py", line 178, in write > self.write_xml_data() > File "/usr/local/share/gramps/GrampsDb/_WriteXML.py", line 227, in > write_xml_data > self.g.write(" version=\"" + const.version + "\"") > AttributeError: 'module' object has no attribute 'version' > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > > |