ERROR BeforeTraverse Error while invoking hook
Hi! After upgrading our Zope instances from Zope 2.7.2 to 2.8.4 we've noticed new kind of errors in event.log on one of our servers. Error is as follows: 2005-12-19T07:53:59 ERROR BeforeTraverse Error while invoking hook: "input" Traceback (most recent call last): File "/opt/Zope/2.8.4/lib/python/ZPublisher/BeforeTraverse.py", line 144, in __call__ meth(*(container, request, None)[:args]) AttributeError: __call__ I've looked into BeforeTraverse.py and I see this error is only logged to event.log and is not visible to the users, and it seems to me that it is something with acquisition(?) I need some hints how to find what causes this error - what has changed in 2.8.x and how to deal with this? Our application is written in ZODB not in products. There is a folder named 'input' in it, may it be the problem? -- Maciej Wisniowski
You might have a access rule in there that expects to be able to call something that's missing? On Dec 19, 2005, at 4:29 AM, Maciej Wisniowski wrote:
Hi!
After upgrading our Zope instances from Zope 2.7.2 to 2.8.4 we've noticed new kind of errors in event.log on one of our servers. Error is as follows:
2005-12-19T07:53:59 ERROR BeforeTraverse Error while invoking hook: "input" Traceback (most recent call last): File "/opt/Zope/2.8.4/lib/python/ZPublisher/BeforeTraverse.py", line 144, in __call__ meth(*(container, request, None)[:args]) AttributeError: __call__
I've looked into BeforeTraverse.py and I see this error is only logged to event.log and is not visible to the users, and it seems to me that it is something with acquisition(?) I need some hints how to find what causes this error - what has changed in 2.8.x and how to deal with this? Our application is written in ZODB not in products. There is a folder named 'input' in it, may it be the problem?
-- Maciej Wisniowski
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
You might have a access rule in there that expects to be able to call something that's missing? Thanks for the answer I've checked this, but the problem was different - I think we've solved it already :) We're using VirtualHostMonster and exUserFolder and I think those have hooks for objects below in acquisition chain. If there is object with id 'input' it causes this error. I'm not sure if it was caused by VHM or exUserFolder (or something other), but in 'clean' Zope folder 'input' causes no errors. One more thing: I've checked again old logs from Zope 2.7.2 and the problem was there too, so it's not 2.8.x issue.
-- Maciej Wisniowski
participants (2)
-
Chris McDonough -
Maciej Wisniowski