A database table could not be closed. Is it possible a database was open that could not be closed (eg because you moved the grdb file)?

Does it work on other filesystems?
Perhaps try to start from the command line and make sure nothing is loaded before starting new database

Benny

2008/5/10 <axel.kellermann@get2net.dk>:
User Information:
===================

I tried to open a new file on an nfs-mounted filesystem


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

1687310: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
 File "/usr/share/gramps/ViewManager.py", line 899, in new_activate
   (filename,filetype) = self.db_loader.new_file()
 File "/usr/lib/python2.5/warnings.py", line 62, in warn
   globals)
 File "/usr/lib/python2.5/warnings.py", line 83, in warn_explicit
   for item in filters:
 File "/usr/share/gramps/DbLoader.py", line 179, in new_file
   self.read_file(filename,filetype)
 File "/usr/share/gramps/DbLoader.py", line 436, in read_file
   self.dbstate.change_database(dbclass(Config.get(Config.TRANSACTIONS)))
 File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 2406, in
change_database
   self.db.close()
 File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1075, in close
   self._close_metadata()
 File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 994, in
_close_metadata
   self.metadata.put('name_formats',self.name_formats,txn=the_txn)
AttributeError: 'NoneType' object has no attribute 'put'


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: da_DK.UTF-8
OS: Linux
Distribution: 2.6.24-16-generic


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs