Some errors in the data can cause this error.
Please run the tools:

1/rebuild reference tables
2/rebuild sec indexes
3/check and repair tool

Note that working directly on XML files, means you loose your data on crash. This is why the database files are the standard (grdb files).
Note also that version 3.0.1 is available, ubuntu package on our website.

Benny

2008/6/29 Doug Lewis <douglewis@optusnet.com.au>:
"User Information:
===================




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

38418: 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/_GrampsXMLDB.py", line 75, in close
   if self.db_is_changed() or self.db_has_bm_changes():
 File "/usr/share/gramps/GrampsDb/_GrampsInMemDB.py", line 375, in db_is_changed
   (len(self.undodb) > 0 or
DBError: (0, 'DB object has been closed')


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

Python version: 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
BSDDB version: 4.4.5.3
Gramps version: 2.2.10-1
LANG: en_AU.UTF-8
OS: Linux
Distribution: 2.6.24-16-generic
"


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs