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?

Benny

2008/3/18, Jonathan Hipkiss <jonathan@hipkiss.org>:
User Information:
===================

I was trying to repair a database Gramps is complaining about


Error Details:
===================

51905: ERROR: _Tool.py: line 271: Failed to start tool.
Traceback (most recent call last):
   File "/usr/local/share/gramps/PluginUtils/_Tool.py", line 267, in
gui_tool
     tool_class(dbstate, uistate, options_class, name, callback)
   File "/usr/local/share/gramps/plugins/Check.py", line 161, in __init__
     low_level(self.db)
   File "/usr/local/share/gramps/plugins/Check.py", line 89, in low_level
     if _table_low_level(db,the_map[1]):
   File "/usr/local/share/gramps/plugins/Check.py", line 101, in
_table_low_level
     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: 4.4.5.2
Gramps version: 2.2.8-0.SVNexported
LANG: en_GB.UTF-8
OS: Linux
Distribution: 2.6.22-14-generic

-------------------------------------------------------------------------
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-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs