[ZODB-Dev] ValueError: database_name already in databases

Chris Withers chris at simplistix.co.uk
Mon Apr 20 16:56:41 EDT 2009


Hi All,

Is this a bug in ZODBMountPoint or ZODB?
In any case, what's the correct tracker to report this in?

Failed to mount database. <type 'exceptions.ValueError'> (database_name 
'packed' already in databases)
Traceback (most recent call last):
   File 
"/Zope2-2.12.0a3-py2.5-linux-i686.egg/Products/ZODBMountPoint/MountedObject.py", 
line 253, in _getOrOpenObject
     conn = self._getMountedConnection(anyjar)
   File 
"/Zope2-2.12.0a3-py2.5-linux-i686.egg/Products/ZODBMountPoint/MountedObject.py", 
line 148, in _getMountedConnection
     self._getDB()
   File 
"/Zope2-2.12.0a3-py2.5-linux-i686.egg/Products/ZODBMountPoint/MountedObject.py", 
line 158, in _getDB
     return getConfiguration().getDatabase(self._path)
   File 
"/Zope2-2.12.0a3-py2.5-linux-i686.egg/Zope2/Startup/datatypes.py", line 
287, in getDatabase
     db = factory.open(name, self.databases)
   File 
"/Zope2-2.12.0a3-py2.5-linux-i686.egg/Zope2/Startup/datatypes.py", line 
185, in open
     DB = self.createDB(database_name, databases)
   File 
"/Zope2-2.12.0a3-py2.5-linux-i686.egg/Zope2/Startup/datatypes.py", line 
182, in createDB
     return ZODBDatabase.open(self, databases)
   File "/ZODB3-3.9.0a12-py2.5-linux-i686.egg/ZODB/config.py", line 111, 
in open
     **options)
   File "/ZODB3-3.9.0a12-py2.5-linux-i686.egg/ZODB/DB.py", line 467, in 
__init__
     database_name)
ValueError: database_name 'packed' already in databases

FWIW, this is a non-error error. I guess it's trying to tell me that 
whatever is trying to add the packed storage shouldn't be doing it 
twice, but it's only there once in the config. I don't know what's 
trying to add it twice or why...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZODB-Dev mailing list