From: Tom W. <to...@ad...> - 2008-05-21 11:32:56
|
That worked, Thanks! On Wednesday 21 May 2008 03:43, Benny Malengier wrote: > This is a database inconsistency due to the original error (which we no > longer know what it was, unfortunately). Do the following: > > 0/backup data as .gramps/.gpkg file > 1/You have a family name wich has no data and is the only occurrence of the > family name. The check tool cannot correct this, read, delete fails as it > is the last occurence of a family name and deleting that means some > reference tables must be adapted which the check tool cannot do for > technical reasons. > > Just look for this single empty name in person view and make it non-empty > or delete it. (This is a long standing bug that is hard to solve but can > easily be circumvented by a manual delete). The name is normally at the top > with spaces as family name. > 2/in tools menu run: Rebuild reference tables > 3/in tools menu run: Rebuild secondary indexes > 4/in tools menu run: Check and repair tool > > Benny > > 2008/5/21 Tom Weichmann <to...@ad...>: > > HI, > > > > I'm having a problem with my database. Kind of a long description so > > stick with me: > > > > While I WAS running Gramps 2.2.10: > > I had a woman (called her Jane) who I had found in a census so I added a > > new > > set of parents, added her mother, father and 2 brothers. After I did > > this I > > realized that I had already had her in a family with a 3rd brother but no > > parents. I went into the "no parents" family and removed her and her > > brother > > and added them into the "new" family. I then tried to delete the "no > > parents" family and gramps gave me an error (sorry I didn't keep the > > msg). > > > > The "no parents" family disappeared and all appeared fine in the Family > > View. > > When i went to the pedigree view, the woman "Jane" showed no parents. I > > went > > back into Family view and she is shown in the family. I tried removing > > her and re-adding her, but problem still exists. I tried completely > > removing the > > family and re-making the family and the problem still exists. > > > > Next I updated to Gramps 3.0.1 and after importing the DB the problems > > still > > exists. I again tried completely removing and re-creating the family, > > tried > > making a new "test" family with new "test partents", still no parents > > show up > > in pedigree view, but do in family view. > > > > Here are two errors that I get from gramps: > > > > 1: When I right click on "Jane" or any of her children I get the > > following: 749177: ERROR: gramps.py: line 160: Unhandled exception > > Traceback (most recent call last): > > File "/opt/gnome//share/gramps/DataViews/PedigreeView.py", line 1159, in > > person_button_press_cb > > self.build_full_nav_menu_cb(obj,event,person_handle) > > File "/opt/gnome//share/gramps/DataViews/PedigreeView.py", line 1490, in > > build_full_nav_menu_cb > > sib_list = fam.get_child_ref_list() > > AttributeError: 'NoneType' object has no attribute 'get_child_ref_list' > > > > 2: I ran the db error checker and I got the following (not sure if it is > > related): > > 934598: ERROR: _Tool.py: line 255: Failed to start tool. > > Traceback (most recent call last): > > File "/opt/gnome//share/gramps/PluginUtils/_Tool.py", line 251, in > > gui_tool > > tool_class(dbstate, uistate, options_class, name, callback) > > File "/opt/gnome//share/gramps/plugins/Check.py", line 177, in __init__ > > checker.cleanup_empty_objects() > > File "/opt/gnome//share/gramps/plugins/Check.py", line 674, in > > cleanup_empty_objects > > remove_func(handle, self.trans) > > File "/opt/gnome//share/gramps/gen/db/base.py", line 2063, in > > remove_person > > self.remove_from_surname_list(person) > > File "/opt/gnome//share/gramps/gen/db/dbdir.py", line 1354, in > > remove_from_surname_list > > if self.surnames.keys().count(name) == 1: > > DBError: (0, 'DB object has been closed') > > > > > > Anyone have any idea how to fix this? I'm fine with sending someone my > > db if > > need be. > > > > Best regards, > > > > Tom Weichmann > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Gramps-users mailing list > > Gra...@li... > > https://lists.sourceforge.net/lists/listinfo/gramps-users |