[ZPT] cryptic tracebacks from TALES

Florent Guillaume fg@nuxeo.com
Fri, 25 Jan 2002 18:21:57 +0000 (UTC)


Thanks a lot Evan.


Florent


Evan Simpson  <evan@zope.com> wrote:
> 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".
> 
> Cheers,
> 
> Evan @ Zope
> 
> 
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt
> 


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