Did you by any chance use the .grdb file as a portable format? It is not, see http://www.gramps-project.org/wiki/index.php?title=Recover_corrupted_grdb

If that is not the reason, you have a database problem. Best to start from a new empty database and import the last .gramps file backup. This really creates a new database from scratch as oposed to importing a grdb which copies database tables directly.

Then in the tools menu, submenu repair, run rebuild reference tables, rebuild sec indexes and then the check and repair tool.

Does that work?


2008/2/28, Frank Bergmann <mail@frankbergmann.com>:
"User Information: ===================Error Details:
===================21002: ERROR: gramps.py: line 147: Unhandled
exceptionTraceback (most recent call last):  File
"/usr/share/gramps/DataViews/_PersonView.py", line 689, in row_changed
   self.uistate.modify_statusbar(self.dbstate)  File
"/usr/share/gramps/DisplayState.py", line 350, in modify_statusbar
msg = self.display_relationship(dbstate)  File
"/usr/share/gramps/DisplayState.py", line 297, in display_relationship
   default_person = dbstate.db.get_default_person()  File
"/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 292, in
get_default_person    self.metadata.put('default',None,txn=the_txn)
File "/usr/lib/python2.4/bsddb/dbshelve.py", line 193, in put    return
self.db.put(key, data, txn, flags)DBPermissionsError: (1, 'Die Operation
ist nicht erlaubt -- the log files from a database environment')31492:
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 164, in __init__
trans = self.db.transaction_begin("",batch=True)  File
"/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1388, in
transaction_begin    self.env.txn_checkpoint()DBRunRecoveryError:
(-30975, 'DB_RUNRECOVERY: Fatal error, run database recovery --
txn_checkpoint: failed to flush the buffer cache: DB_RUNRECOVERY: Fatal
error, run database recovery')System Information:
===================Python version: 2.4.4 (#2, Jan  3 2008, 13:53:47)
[GCC 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)] BSDDB version: Gramps version: 2.2.10-1 LANG: de_DE@euroOS: LinuxDistribution:"

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