The check tool is not able to remove the last member of a specific family name.
You should delete that name manually. As the tool only removes people if they are empty, you probably have a person with family name '' and no data in it. Look it up in the person editor, and remove it there.
Then run the check tool again.

Note that GRAMPS is already version 3.0.4, with 3.1.0 released this or the next week


2009/3/1 Enzo Marinari <>
"User Information:

Error Details:

27577793: 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__
 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
 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.5.1 (r251:54863, Jun 15 2008, 18:24:51) [GCC 4.3.0 20080428 (Red Hat 4.3.0-8)]
BSDDB version:
Gramps version: 2.2.10-1
OS: Linux

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