[ZPT] cryptic tracebacks from TALES

Evan Simpson evan@zope.com
Fri, 25 Jan 2002 12:56:03 -0500

Florent Guillaume wrote:
> Undefined: Sorry, an error occurred

I *finally* tracked this one down.  It's fixed in CVS, but you can easy 
patch your Zope.  In PageTemplates/TALES.py, find the following lines:

     def __nonzero__(self):
         return 0

...and change the "0" to a "1".


Evan @ Zope