First,

see if you can upgrade to the recent version 2.2.10, see:
http://www.gramps-project.org/wiki/index.php?title=Installation#Upgrading_to_the_latest_version

About the bug, is it possible you moved the database? It is not a portable format, see: http://www.gramps-project.org/wiki/index.php?title=Recover_corrupted_grdb

If not that; do the following:
1/take a backup as .gramps file
2/look for the last backup you have and copy it to save place (in the dir as .backup.gramps file)
3/in the tools menu, run the rebuild reference tables tool and rebuild secondary indexes tool. Then run the check and repair tool
4/If above does not work, start a new database and import the .gramps backup into it.

Benny

2008/3/22, Bob Shueey <bob@shueey.org>:
User Information:
===================

It happens whenever I close gramps, by any means.  The x in the top right,
the close
in the KDE program bar, and the exit option in the menu bar


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

31351707: ERROR: gramps.py: line 147: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/ViewManager.py", line 492, in quit
    self.state.db.close()
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1077, in close
    self.env.txn_checkpoint()
DBRunRecoveryError: (-30977, '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.3 (#1, Apr  3 2007, 03:41:32) [GCC 4.1.1 (Gentoo
4.1.1-r3)]
BSDDB version: 4.3.0.1
Gramps version: 2.2.6-1
LANG:
OS: Linux
Distribution: 2.6.22-gentoo-r5



-------------------------------------------------------------------------
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