Problems with zope 2.7.0 and ZODB (suse 9.1)
Hi all: I get the next errors, when I try to add some of my Product Instances... (In zope 2.5.0 works well...) 2005-03-29T18:52:47 INFO(0) ZODB Opening database for mounting: '1110315472_1112115167.490661' ------ 2005-03-29T18:52:47 PROBLEM(100) ZODB Failed to mount database. exceptions.AttributeError ('NoneType' object has no attribute 'getVersion') Traceback (most recent call last): File "/opt/zope/lib/python/ZODB/Mount.py", line 168, in _getOrOpenObject conn, newMount, mcc = self._openMountableConnection(parent) File "/opt/zope/lib/python/ZODB/Mount.py", line 142, in _openMountableConnection conn = db.open(version=jar.getVersion()) AttributeError: 'NoneType' object has no attribute 'getVersion' ------ 2005-03-29T18:52:47 PROBLEM(100) ZODB Failed to mount database. exceptions.AttributeError ('NoneType' object has no attribute 'getVersion') Traceback (most recent call last): File "/opt/zope/lib/python/ZODB/Mount.py", line 168, in _getOrOpenObject conn, newMount, mcc = self._openMountableConnection(parent) File "/opt/zope/lib/python/ZODB/Mount.py", line 142, in _openMountableConnection conn = db.open(version=jar.getVersion()) AttributeError: 'NoneType' object has no attribute 'getVersion' ------ 2005-03-29T18:52:47 PROBLEM(100) ZODB Failed to mount database. exceptions.AttributeError ('NoneType' object has no attribute 'getVersion') Traceback (most recent call last): File "/opt/zope/lib/python/ZODB/Mount.py", line 168, in _getOrOpenObject conn, newMount, mcc = self._openMountableConnection(parent) File "/opt/zope/lib/python/ZODB/Mount.py", line 142, in _openMountableConnection conn = db.open(version=jar.getVersion()) AttributeError: 'NoneType' object has no attribute 'getVersion' What I'm doing wrong? Thanks...
Antonio Beamud Montero wrote at 2005-3-29 20:49 +0200:
I get the next errors, when I try to add some of my Product Instances... (In zope 2.5.0 works well...)
2005-03-29T18:52:47 INFO(0) ZODB Opening database for mounting: '1110315472_1112115167.490661' ------ 2005-03-29T18:52:47 PROBLEM(100) ZODB Failed to mount database. exceptions.AttributeError ('NoneType' object has no attribute 'getVersion') Traceback (most recent call last): File "/opt/zope/lib/python/ZODB/Mount.py", line 168, in _getOrOpenObject conn, newMount, mcc = self._openMountableConnection(parent) File "/opt/zope/lib/python/ZODB/Mount.py", line 142, in _openMountableConnection conn = db.open(version=jar.getVersion()) AttributeError: 'NoneType' object has no attribute 'getVersion'
Apparently, Zope cannot locate the parent ZODB connection. This can happen, when you create a new subhierarchy containing a leaf mount point. In such a case, you can commit a subtransaction to give all new objects a connection before you create the mount point. -- Dieter
participants (2)
-
Antonio Beamud Montero -
Dieter Maurer