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

Sidnei da Silva sidnei at awkly.org
Wed Dec 10 11:45:06 EST 2003


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


-- 
Sidnei da Silva <sidnei at awkly.org>
http://awkly.org - dreamcatching :: making your dreams come true
http://plone.org/about/team#dreamcatcher

"Nuclear war can ruin your whole compile."
		-- Karl Lehenbauer



More information about the Zope-Dev mailing list