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
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to