add vhm, and cant browse/manage site
hi i'm in a bit of trouble here i added a virtual host monster in my zope root, and i cant browse/manage the site after. only after truncating the Data.fs can i manage/browse the site. conf: zope 2.3.2, rh linux, python 1.5.2 however, adding vhm to other zope instance works. just my luck vhm screwed up on the production box :P here's the error and tracebacks: Error Type: TypeError Error Value: call of non-function (type string) - Traceback (innermost last): File /home/kdie/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /home/kdie/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/kdie/Zope-2.3.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/kdie/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 162, in publish File /home/kdie/Zope-2.3.2-src/lib/python/ZPublisher/BaseRequest.py, line 309, in traverse File /home/kdie/Zope-2.3.2-src/lib/python/ZPublisher/BeforeTraverse.py, line 171, in __call__ thanks
On Thu, Nov 29, 2001 at 09:09:19PM +0800, Bak @ kedai wrote:
conf: zope 2.3.2, rh linux, python 1.5.2
Error Type: TypeError Error Value: call of non-function (type string)
File /home/kdie/Zope-2.3.2-src/lib/python/ZPublisher/BeforeTraverse.py, line 171, in __call__
Smells like well-known bug fixed long ago. Are you sure it is Zope 2.3.2? Tried 2.3.3? Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Bak @ kedai wrote:
File /home/kdie/Zope-2.3.2-src/lib/python/ZPublisher/BeforeTraverse.py, line 171, in __call__
I recommend patching your BeforeTraverse.py as follows (lines 170-171): for cob in self._list: try: cob(container, request) except TypeError: from zLOG import LOG, ERROR LOG('BeforeTraverse', ERROR, 'Error while calling %s' % `cob` Then install the VHM and check your logs. Cheers, Evan @ Zope
participants (3)
-
Bak @ kedai -
Evan Simpson -
Oleg Broytmann