Not a good error.

can you do the following:

1/take a backup by export to .gramps xml file. If export fails, there should be a .backup.gramps file in the dir you save data with last backup.
2/upgrade to version 2.2.10, you find ubuntu package on our website. The check tool has been improved.
3/create a new empty grdb, and import the backup into it. This will make sure you do not drag errors in your previous database with you, as you import from a .gramps xml file (= a text file)
4/in the tools menu, run the rebuild reference tables tool and rebuild secondary indexes tool. Then run the check and repair tool.

Still problems?


2008/3/18, Jonathan Hipkiss <>:
User Information:

I was trying to repair a database Gramps is complaining about

Error Details:

51905: ERROR: line 271: Failed to start tool.
Traceback (most recent call last):
   File "/usr/local/share/gramps/PluginUtils/", line 267, in
     tool_class(dbstate, uistate, options_class, name, callback)
   File "/usr/local/share/gramps/plugins/", line 161, in __init__
   File "/usr/local/share/gramps/plugins/", line 89, in low_level
     if _table_low_level(db,the_map[1]):
   File "/usr/local/share/gramps/plugins/", line 101, in
     handle_list = table.keys()
AttributeError: 'NoneType' object has no attribute 'keys'

System Information:

Python version: 2.5.1 (r251:54863, Mar  7 2008, 04:10:12) [GCC 4.1.3
20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
BSDDB version:
Gramps version: 2.2.8-0.SVNexported
OS: Linux
Distribution: 2.6.22-14-generic

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