Skip to content

Instantly share code, notes, and snippets.

@vortec
Created January 8, 2016 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vortec/86721d4c363734f5bf78 to your computer and use it in GitHub Desktop.
Save vortec/86721d4c363734f5bf78 to your computer and use it in GitHub Desktop.
2016-01-08 10:39:13 ERROR Zope.ZODBMountPoint Failed to mount database. <type 'exceptions.AttributeError'> ('NoneType' object has no attribute 'db')
Traceback (most recent call last):
File "./py2temp/lib/python2.7/site-packages/Products/ZODBMountPoint/MountedObject.py", line 255, in _getOrOpenObject
obj = self._traverseToMountedRoot(root, parent)
File "./py2temp/lib/python2.7/site-packages/Products/ZODBMountPoint/MountedObject.py", line 206, in _traverseToMountedRoot
obj = blazer.traverseOrConstruct(real_path)
File "./py2temp/lib/python2.7/site-packages/Products/ZODBMountPoint/MountedObject.py", line 77, in traverseOrConstruct
container = self._construct(container, part)
File "./py2temp/lib/python2.7/site-packages/Products/ZODBMountPoint/MountedObject.py", line 104, in _construct
klass = jar.db().classFactory(jar, self.module_name, self.class_name)
AttributeError: 'NoneType' object has no attribute 'db'
2016-01-08 10:39:13 INFO ZEO.ClientStorage test4 Disconnected from storage: "('192.168.2.53', 54513)"
Traceback (most recent call last):
File "./py2temp/bin/runzope", line 11, in <module>
sys.exit(run())
File "./py2temp/lib/python2.7/site-packages/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "./py2temp/lib/python2.7/site-packages/Zope2/Startup/__init__.py", line 96, in prepare
self.sendEvents()
File "./py2temp/lib/python2.7/site-packages/Zope2/Startup/__init__.py", line 69, in sendEvents
notify(ProcessStarting())
File "./py2temp/lib/python2.7/site-packages/zope/event/__init__.py", line 31, in notify
subscriber(event)
File "/Users/fkochem/workspace/code/zk-didactix/Products/ZKDidactiX/hook.py", line 34, in hook
mount_unmounted_zeos(app)
File "/Users/fkochem/workspace/code/zk-didactix/Products/ZKDidactiX/actions.py", line 37, in mount_unmounted_zeos
manage_addMounts(app.author, (path,))
File "./py2temp/lib/python2.7/site-packages/Products/ZODBMountPoint/MountedObject.py", line 373, in manage_addMounts
mo._test(app)
File "./py2temp/lib/python2.7/site-packages/Products/ZODBMountPoint/MountedObject.py", line 234, in _test
self._getOrOpenObject(parent)
File "./py2temp/lib/python2.7/site-packages/Products/ZODBMountPoint/MountedObject.py", line 255, in _getOrOpenObject
obj = self._traverseToMountedRoot(root, parent)
File "./py2temp/lib/python2.7/site-packages/Products/ZODBMountPoint/MountedObject.py", line 206, in _traverseToMountedRoot
obj = blazer.traverseOrConstruct(real_path)
File "./py2temp/lib/python2.7/site-packages/Products/ZODBMountPoint/MountedObject.py", line 77, in traverseOrConstruct
container = self._construct(container, part)
File "./py2temp/lib/python2.7/site-packages/Products/ZODBMountPoint/MountedObject.py", line 104, in _construct
klass = jar.db().classFactory(jar, self.module_name, self.class_name)
AttributeError: 'NoneType' object has no attribute 'db'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment