This is a known bug in the check tool. You have one empty object, but the tool runs in batch mode and cannot delete the last person of a familyname.
The solution is to look up that problematic person in the person view (It should be a person without a name), and delete it by hand. Then rerun the tool.


2008/2/26, Jules Gosnell <>:
"User Information: ===================I was running Tools/Database
Repair/Check and Repair Database :-(Error Details:
===================170101: ERROR: line 271: Failed to start
tool.Traceback (most recent call last):  File
"/usr/share/gramps/PluginUtils/", line 267, in gui_tool
tool_class(dbstate, uistate, options_class, name, callback)  File
"/usr/share/gramps/plugins/", line 175, in __init__
checker.cleanup_empty_objects()  File
"/usr/share/gramps/plugins/", line 659, in cleanup_empty_objects
    remove_func(handle, self.trans)  File
"/usr/share/gramps/GrampsDb/", line 1833, in
remove_person    self.remove_from_surname_list(person)  File
"/usr/share/gramps/GrampsDb/", line 1220, in
remove_from_surname_list    if self.surnames.keys().count(name) ==
1:DBError: (0, 'DB object has been closed')System Information:

===================Python version: 2.4.4 (#1, Oct 23 2006, 13:58:18)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] BSDDB version: Gramps
version: 2.2.10-1 LANG: en_US.UTF-8OS: LinuxDistribution:"

This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Gramps-bugs mailing list