Did you move or rename the database?
Please read http://gramps-project.org/wiki/index.php?title=Recover_corrupted_grdb

If not that, create a new database, and import the last .backup.gramps file to start anew. You lost contact to database somehow.


2008/11/12 Szymon Wlazlowski <swlazlowski@googlemail.com>
User Information:

Problem occured when switching between workplaces in Ubuntu 8.04

Error Details:

5306167: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
 File "/usr/share/gramps/ViewManager.py", line 492, in quit
 File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1108, in close
DBNoSuchFileError: (2, "No such file or directory --
Documents/Sylwia/Wlazlowscy_genealogia.grdb: unable to flush: No such
file or directory")
5310930: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
 File "/usr/share/gramps/DisplayState.py", line 344, in modify_statusbar
   person = dbstate.get_active_person()
 File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 2402, in
   self.active = self.db.get_person_from_handle(self.active.handle)
 File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 738, in
   return self._get_from_handle(handle, Person, self.person_map)
 File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1352, in
   if data_map:
 File "/usr/lib/python2.5/bsddb/dbshelve.py", line 105, in __len__
   return len(self.db)
DBError: (0, 'DB object has been closed')

System Information:

Python version: 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3
(Ubuntu 4.2.3-2ubuntu7)]
BSDDB version:
Gramps version: 2.2.10-1
OS: Linux
Distribution: 2.6.24-21-generic

Szymon Wlazłowski (PhD)

e-mail: swlazlowski@gmail.com
mobile:(+ 1) 646-467-3898
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Gramps-bugs mailing list