[ZPT] M$ Error Messages from TALES? ;-)
Chris Withers
chrisw@nipltd.com
Tue, 11 Sep 2001 12:06:08 +0100
Hi,
I got this:
File \PageTemplates\ZRPythonExpr.py, line 121, in __call__
(Info: here.portal_actions.listFilteredActionsFor(here)['top_menu'])
File Python expression
"here.portal_actions.listFilteredActionsFor(here)['top_menu']", line
2, in f
(Object: guarded_getitem)
File E:\Zope\2.4.0\lib\python\AccessControl\ZopeGuards.py, line 151, in
guarded_getitem
TALESError: Sorry, an error occurred
..from a ZPT.
TALES really isn't being very helpful here :-(
Could it not give you the exception type and value which it caught? It's already
giving the traceback (from which, with a bit of digging, I'm pretty sure I've
deduced the above is a KeyError on 'top_menu')
cheers,
Chris