|
From: jerome <rom...@ya...> - 2011-09-19 07:39:21
|
Here the link to the discussion of devel mailing list: http://sourceforge.net/mailarchive/message.php?msg_id=27939737 http://gramps.1791082.n4.nabble.com/May-Check-and-Repair-tool-ask-user-to-backup-and-import-his-data-td3740475.html --- En date de : Lun 19.9.11, jerome <rom...@ya...> a écrit : > De: jerome <rom...@ya...> > Objet: [Gramps-users] Re : Unable to load into 3.3.x > À: gra...@li..., "Jeff Hunt" <jef...@gm...> > Date: Lundi 19 septembre 2011, 9h26 > Hi, > > > The problem is that identical handles show up for > different > > objects in > > the xml file and it refuses to load. > > I don't know how it originally corrupted. > > I have read on wikipedia page (french version[1]) that > these DB handles are not unique/single ... > > This might be a serious issue with multiple index (tables > like). :( > > Note, looking at last comment this is fixed on revision > 18037[3] and next stable release (3.3.1). Need to ask more > informations to Michiel[2], but at glance the new "import > XML" module is now able to fix this issue. > > I do not know if to only replace the current one to the new > one will fix it, as there is maybe some others additional > changes somewhere else ? > Michiel does to use the new import XML module will fix it > on 3.3.0 or there is others changes (gen, bd), which needs > to wait the 3.3.1 release ? > > > [1] "Chaque enregistrement est composé d'une paire clé / > valeur, la clé n'étant pas unique." > http://fr.wikipedia.org/wiki/Berkeley_DB > [2] http://www.gramps-project.org/bugs/view.php?id=5140#c20718 > [3] http://gramps.svn.sourceforge.net/viewvc/gramps?view=revision&revision=18037 > > > Jérôme > > --- En date de : Lun 19.9.11, Jeff Hunt <jef...@gm...> > a écrit : > > > De: Jeff Hunt <jef...@gm...> > > Objet: [Gramps-users] Unable to load into 3.3.x > > À: gra...@li... > > Date: Lundi 19 septembre 2011, 3h22 > > I am a victim of bug 0005140. I > > submitted bug 0005183 but it is the > > same problem. > > The problem is that identical handles show up for > different > > objects in > > the xml file and it refuses to load. > > I don't kmow how it originally corrupted. With the > latest > > release or > > Gramps it is not possible to change versions by > simply > > moving the > > hidden database files into Gramps 3.3.x so I am > stranded in > > 3.2.5 > > which still seems to work fine. > > The bug is said to be fixed in the next release. Does > that > > mean I will > > be able to import my corrupted xml file and have it > sorted? > > Or should > > I be doing something now to remove the duplicate > handles in > > my > > existing Gramps? > > > > I've gunzipped the xml and found the offending handles > but > > I don't > > know enough to start editing the xml. > > > > Any encouragement - hand holding welcome. > > > > ******* > > > > The xmllint readout is > > cat ~/grampsdata/20110905.gramps|gzip > -dc|xmllint > > --loaddtd --valid --noout - > > -:8: element researcher: validity error : Element > > researcher content > > does not follow the DTD, expecting (resname , resaddr? > , > > rescity? , > > resstate? , rescountry? , respostal? , resphone? , > > resemail?), got () > > </researcher> > > > > ^ > > -:30500: element person: validity error : ID > > _5IBLCTFMZQE9DFP4X4 already defined > > <person id="I1271" > > handle="_5IBLCTFMZQE9DFP4X4" change="1278213323"> > > > > > > > > > > ^ > > -:49500: element placeobj: validity error : ID > > _DRBLCTB6L5SR83F96X > > already defined > > <placeobj id="P0464" > > handle="_DRBLCTB6L5SR83F96X" change="1211085327"> > > > > > > > > > > ^ > > -:50870: element placeobj: validity error : ID > > _5IBLCTFMZQE9DFP4X4 > > already defined > > <placeobj id="P0462" > > handle="_5IBLCTFMZQE9DFP4X4" change="1193008650"> > > > > > > > > > > ^ > > -:51025: element file: validity error : Element file > does > > not carry > > attribute description > > <file src="" mime=""/> > > > > ^ > > -:52470: element repository: validity error : Element > > repository > > content does not follow the DTD, expecting (rname , > type , > > address* , > > url* , noteref*), got (type url ) > > </repository> > > > > ^ > > -:52537: element repository: validity error : Element > > repository > > content does not follow the DTD, expecting (rname , > type , > > address* , > > url* , noteref*), got (type url ) > > </repository> > > > > ******* > > > > There are hundreds if not thousands of hours of work > in our > > Gramps > > database. What do I do? > > > > > ------------------------------------------------------------------------------ > > BlackBerry® DevCon Americas, Oct. 18-20, San > > Francisco, CA > > Learn about the latest advances in developing for the > > > BlackBerry® mobile platform with sessions, > labs > > & more. > > See new tools and technologies. Register for > > BlackBerry® DevCon today! > > http://p.sf.net/sfu/rim-devcon-copy1 > > _______________________________________________ > > Gramps-users mailing list > > Gra...@li... > > https://lists.sourceforge.net/lists/listinfo/gramps-users > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San > Francisco, CA > Learn about the latest advances in developing for the > BlackBerry® mobile platform with sessions, labs > & more. > See new tools and technologies. Register for > BlackBerry® DevCon today! > http://p.sf.net/sfu/rim-devcon-copy1 > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > |