You should export to a .gramps file
Then you should upgrade GRAMPS to version 3.0.x if possible, reimport and run the check and repair tool of that version.
You can also try to run the 'remove empty objects' tool
As a last resort, you can export to .gramps file, and extract that with unzip and open the unzipped file with kate/gedit. If you search on family, it should be clear how you can search in this xml file to hunt for the empty families. Just delete them there in the xml, and import that file again in GRAMPS.
Note that direct opening of xml files is not possible anymore in version 3.0.x+ as it was too dangerous to loose data on edit and crash.
I seem to have two empty family objects that don't even have IDs.
(I'm not sure how I got them.) Whenever I try deleting them I get
an error like this. I got this particular error when I tried to run
the repair tool (hoping that it would clean up the bad family objects
24271: ERROR: _Tool.py: line 271: Failed to start tool.
Traceback (most recent call last):
File "/usr/share/gramps/PluginUtils/_Tool.py", line 267, in gui_tool
tool_class(dbstate, uistate, options_class, name, callback)
File "/usr/share/gramps/plugins/Check.py", line 175, in __init__
File "/usr/share/gramps/plugins/Check.py", line 659, in cleanup_empty_objects
File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 1909, in remove_family
File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 1860, in _do_remove_object
File "/usr/share/gramps/GrampsDb/_GrampsInMemDB.py", line 203, in _del_family
Python version: 2.5.1 (r251:54863, Jul 10 2008, 17:25:56) [GCC 4.1.2 20070925 (Red Hat 4.1.2-33)]
BSDDB version: 188.8.131.52
Gramps version: 2.2.10-1
Keith Pomakis <firstname.lastname@example.org>
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
Gramps-bugs mailing list