You lost connection to the database.

Try the following:

1/export your data as .gramps xml file to have a backup
2/run tool: rebuild reference tables
3/run tool: rebuild sec indexes
4/run tool: check and repair

Then try again. If problem persists, create new database and import the xml backup file. Consider upgrading to a more recent version (3.0.4 or 3.1.1), this error occured often in gramps 2.2.x series

Benny

2009/5/26 Ron Lacey <ron_lacey@suddenlink.net>
"User Information:
===================




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

97882: 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 1070, 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')
126435: 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 1070, in close
   self.env.txn_checkpoint()
DBRunRecoveryError: (-30977, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: fatal region error detected; run recovery')


System Information:
===================

Python version: 2.4.3 (#1, Jan 21 2009, 20:18:43) [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)]
BSDDB version: 4.3.0.1
Gramps version: 2.2.8-0.SVNexported
LANG: en_US.UTF-8
OS: Linux
Distribution: 2.6.18-128.1.1.el5
"


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs