From: Serge N. <Ser...@fr...> - 2006-10-23 17:12:00
|
Hi, I found and correct my problem . I explain it : I have several events which are about Birth and Decease. I don't want to du= plicate those events. =46irstly I tried to share those events. My problem is I can't say the first one is for the birth and the second one= is for Decease. So I trid to create a new event and in the ID of the new event I put the ID= of the already created event. it seems to work. I see two events with the same ID and one for the Birth a= nd the second for the Decease. The problem is when I export the database. I get the result as follow. In the database export, I saw two events with two different IDs. I don't know is there is a better solution for this kind of event. Does anybody has an idea about this ? How do you do that ? User Information:=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I save the database in portable format. I install gramps on a new machine. This is the first time gramps starts. I start gramps. I open a new database then I import the .gpkg file Then the problem occurs. Error Details:=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 138118: ERROR: DbLoader.py: line 465: Failed to import database. Traceback (most recent call last): File "/usr/local/share/gramps/DbLoader.py", line 461, in do_import importer(self.dbstate.db, filename, self.uistate.pulse_progressbar) File "/usr/local/share/gramps/plugins/ReadPkg.py", line 99, in impData importer(database,imp_db_name,cb) File "/usr/local/share/gramps/GrampsDb/_ReadXML.py", line 143, in importD= ata parser.parse(xml_file,use_trans,lc,pc) File "/usr/local/share/gramps/GrampsDb/_ReadXML.py", line 614, in parse self.p.ParseFile(file) File "/usr/local/share/gramps/GrampsDb/_ReadXML.py", line 1803, in startE= lement f(attrs) File "/usr/local/share/gramps/GrampsDb/_ReadXML.py", line 779, in start_e= ventref event.personal =3D True AttributeError: 'NoneType' object has no attribute 'personal' System Information:=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Python version: 2.4.3 (#2, Oct 6 2006, 07:52:30) [GCC 4.0.3 (Ubuntu 4.0.3-= 1ubuntu5)]=20 Gramps version: 2.2.0rc1-1=20 LANG: fr_FR.UTF-8 OS: Linux Distribution: 2.6.15-27-386 =2D-=20 Serge Noiraud |