[Zope-dev] To the brave folks trying Zope HEAD...

Chris McDonough chrism at plope.com
Wed Dec 10 12:19:47 EST 2003


Right.  Ugh.  I need to fix this.  To work around if for the meantime,
you could comment out Application.py's line 348 and other related lines
around it.

On Wed, 2003-12-10 at 11:45, Sidnei da Silva wrote:
> On Wed, Dec 10, 2003 at 11:32:27AM -0500, Chris McDonough wrote:
> | The default Zope setup has two databases: the main database and the
> | session database.  So it's not completely nonsensical for any
> | default-configured Zope to raise the error (although I have no idea how
> | this error is occurring).  It might be worthwhile to specify a main
> | database explicitly in zope.conf.  This will prevent the default
> | database setup from being invoked and then you will be sure that you
> | only have one database connection.
> 
> If I don't specify the temp_folder mount database, I get this error:
> 
> 
> 2003-12-10T14:37:46 ERROR(200) ZODB Failed to mount
> database. DBTab.Exceptions.DBTabConfigurationError (No database
> configured for mount point at /temp_folder)
> Traceback (most recent call last):
>   File
>   "/var/src/zope/head/lib/python/Products/ZODBMountPoint/Mount.py",
>   line 86, in _getOrOpenObject
>     conn = self._getMountedConnection(anyjar)
>   File
>   "/var/src/zope/head/lib/python/Products/ZODBMountPoint/Mount.py",
>   line 63, in _getMountedConnection
>     db_name = self._getDBName()
>   File
>   "/var/src/zope/head/lib/python/Products/ZODBMountPoint/MountedObject.py", line 154, in _getDBName
>     return getConfiguration().getDatabaseFactory(self._path).getName()
>   File "/var/src/zope/head/lib/python/DBTab/DBTab.py", line 107, in
>   getDatabaseFactory
>     self._mountPathError(mount_path)
>   File "/var/src/zope/head/lib/python/DBTab/DBTab.py", line 71, in
>   _mountPathError
>     raise DBTabConfigurationError(
> DBTabConfigurationError: No database configured for mount point at
> /temp_folder
> Traceback (most recent call last):
>   File "/var/src/zope/head/lib/python/Zope/Startup/run.py", line 27,
>   in ?
>     run()
>   File "/var/src/zope/head/lib/python/Zope/Startup/run.py", line 24,
>   in run
>     start_zope(opts.configroot)
>   File "/var/src/zope/head/lib/python/Zope/Startup/__init__.py", line
>   50, in start_zope
>     starter.startZope()
>   File "/var/src/zope/head/lib/python/Zope/Startup/__init__.py", line
>   218, in startZope
>     Zope.startup()
>   File "/var/src/zope/head/lib/python/Zope/__init__.py", line 46, in
>   startup
>     _startup()
>   File "/var/src/zope/head/lib/python/Zope/App/startup.py", line 95,
>   in startup
>     OFS.Application.initialize(application)
>   File "/var/src/zope/head/lib/python/OFS/Application.py", line 348,
>   in initialize
>     tf._setObject('session_data', toc)
> AttributeError: _setObject
> 




More information about the Zope-Dev mailing list