[Zope] ExternalMount and zope-2.2.x
Chris McDonough
chrism@digicool.com
Thu, 1 Mar 2001 00:42:31 -0500
This looks like it's caused by the object you're attempting to mount not
having a getId method.
In later versions of Mount.py this is fixed by changing line 244 from:
id = data.getId()
to...
try: id = data.getId()
except: id = '???'
.. which is fine because it's only trying to get the id in order to output
it to the debug log.
----- Original Message -----
From: "Bak@kedai" <kedai@kedai.com.my>
To: <zope@zope.org>
Sent: Wednesday, February 28, 2001 11:47 PM
Subject: [Zope] ExternalMount and zope-2.2.x
hi
does external mount work with zope-2.2.5? i tried mounting an external
BerkeleyDB, but failed with this traceback[1]
also, i followed randy's How-To to create the mount point. but no mount
point was created. can somebody who has higher zen level explain what is
it
i'm doing when i exec the script
this works with 2.3.
thanks
----8<--------------------- [1]
<STRONG>Error Type: AttributeError</STRONG><BR>
<STRONG>Error Value: getId</STRONG><BR>
</P>
<!--
Traceback (innermost last):
File /usr/local/Zope-2.2.0b3-src/lib/python/ZPublisher/Publish.py, line
222, in publish_module
File /usr/local/Zope-2.2.0b3-src/lib/python/ZPublisher/Publish.py, line
187, in publish
File /usr/local/Zope-2.2.0b3-src/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
File /usr/local/Zope-2.2.0b3-src/lib/python/ZPublisher/Publish.py, line
171, in publish
File /usr/local/Zope-2.2.0b3-src/lib/python/ZPublisher/mapply.py, line
160,
in mapply
(Object: manage_addExternalMount)
File /usr/local/Zope-2.2.0b3-src/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: manage_addExternalMount)
File /home/Zope-edit/lib/python/Products/ExternalMount/ExternalMount.py,
line 112, in manage_addExternalMount
(Object: ApplicationDefaultPermissions)
File /home/Zope-edit/lib/python/ZODB/Mount.py, line 271, in _test
(Object: APoll)
File /home/Zope-edit/lib/python/ZODB/Mount.py, line 244, in
_getOrOpenObject
(Object: APoll)
AttributeError: (see above)
--
http://www.kedai.com.my/kk
http://www.kedai.com.my/eZine
Just bring it!
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )