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.

Benny

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
   self.state.db.close()
 File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1108, in close
   self.env.close()
DBNoSuchFileError: (2, "No such file or directory --
/home/swlazlowski/Documents/Friends'
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
get_active_person
   self.active = self.db.get_person_from_handle(self.active.handle)
 File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 738, in
get_person_from_handle
   return self._get_from_handle(handle, Person, self.person_map)
 File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1352, in
_get_from_handle
   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: 4.4.5.3
Gramps version: 2.2.10-1
LANG: en_GB.UTF-8
OS: Linux
Distribution: 2.6.24-21-generic


--
Szymon Wlazłowski (PhD)

e-mail: swlazlowski@gmail.com
mobile:(+ 1) 646-467-3898
http://swlazlowski.googlepages.com
-------------------------------------------------------------------------
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
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs