[Zope] Symlink product returns "Attribute Error"
Joel Burton
joel@joelburton.com
Thu, 28 Feb 2002 08:21:41 -0500 (EST)
Symlink product isn't working for me. When I go to add a symlink, I get an
Attribute Error:
Error Type: AttributeError
Error Value: testa
Traceback (innermost last):
File /usr/local/zope/2.5.0/lib/python/ZPublisher/Publish.py, line 150,
in publish_module
File /usr/local/zope/2.5.0/lib/python/ZPublisher/Publish.py, line 114,
in publish
File /usr/local/zope/2.5.0/lib/python/Zope/__init__.py, line 158, in
zpublisher_exception_hook
File /usr/local/zope/2.5.0/lib/python/ZPublisher/Publish.py, line 98, in
publish
File /usr/local/zope/2.5.0/lib/python/ZPublisher/mapply.py, line 88, in
mapply
(Object: manage_addSymlink)
File /usr/local/zope/2.5.0/lib/python/ZPublisher/Publish.py, line 39, in
call_object
(Object: manage_addSymlink)
File /usr/local/zope/instance/Products/Symlink/__init__.py, line 22, in
manage_addSymlink
File /usr/local/zope/2.5.0/lib/python/OFS/ObjectManager.py, line 235, in
_setObject
(Object: bury)
File /usr/local/zope/2.5.0/lib/python/OFS/ObjectManager.py, line 215, in
_getOb
(Object: bury)
AttributeError: (see above)
bury is the folder I'm trying to add the symlink to, testa is the object
I'm trying to symlink to.
It would appear that the problem is that _setObject() call doesn't work,
and is unable to find the newly added symlink after it's added.
I've looked at the source code (it's a very short product) but don't see
anything wrong with the constructor. I assume this has something to do
with the deep magic of playing with the __of__ acquisition in the symlink.
I'm running Zope 2.5.0. Anyone have any success with this version, or
ideas of where to start?
Thanks!
Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton
Independent Knowledge Management Consultant