[ZPT] cryptic tracebacks from TALES

Florent Guillaume fg@nuxeo.com
Thu, 24 Jan 2002 23:53:15 +0000 (UTC)


Hi all,

Did anyone find a fix for the cryptic "Undefined" tracebacks that give
no info about line or expression and original exception, such as the
following ? I'm using 2.5.0b3 BTW.

  ...
  File /home/zope/project/lib/python/TAL/TALInterpreter.py, line 191, in interpret
  File /home/zope/project/lib/python/TAL/TALInterpreter.py, line 542, in do_defineSlot
  File /home/zope/project/lib/python/TAL/TALInterpreter.py, line 191, in interpret
  File /home/zope/project/lib/python/TAL/TALInterpreter.py, line 402, in do_setLocal_tal
  File /home/zope/project/lib/python/Products/PageTemplates/TALES.py, line 247, in evaluate
  File /home/zope/project/lib/python/Products/PageTemplates/Expressions.py, line 189, in __call__
  File /home/zope/project/lib/python/Products/PageTemplates/Expressions.py, line 179, in _eval
Undefined: Sorry, an error occurred


Thanks,

Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com