[Zope] TALES on-error

drew nichols drew@mena.org.au
Wed Aug 6 03:24:28 EDT 2003


Can anyone help ?

I understand from the TAL documentation that the on-error tag sets a var 
error.
<<<
##bind namespace=_
...

error = _['error']
print error.type
print error.value
print error.traceback

return printed
 >>>

Unfortunately the error produced says that:

ErrorInfo instance has no attribute 'traceback'


Checking the Tales.py i agree. It doesn't.
type and value are fine, but how do i get the traceback?????

Drew






More information about the Zope mailing list