[ZPT] zpt errors...
richard@bizarsoftware.com.au
richard@bizarsoftware.com.au
Wed, 30 May 2001 10:12:29 +1000
Peter Bengtsson wrote:
>
> > richard@bizarsoftware.com.au wrote:
> > >
> > > I'm getting this sort of thing a lot now:
> > >
> > > File /home/zope/Zope/lib/python/TAL/TALInterpreter.py, line 377, in
> > > do_setGlobal
> > > File /home/zope/Zope/lib/python/Products/PageTemplates/TALES.py, line
> > > 285, in evaluate
> > > File /home/zope/Zope/lib/python/Products/PageTemplates/PythonExpr.py,
> > > line 136, in __call__
> > > (Info: Batch(results, 5, int(b_start), orphan=1))
> > > File <string>, line 2, in <function>
> > > (Object: <lambda>)
> > > TALESError: Sorry, an error occurred
> > >
> > > ... not a very useful error message. Where'd the useful information go?
> >
> > Sorry - our fault - we broke standard_error_message.
> >
> So this phrase "Sorry, an error occurred" is your phrase, not DC's?
No, it's SimpleItem's way of saying "you broke standard_error_message".
We've fixed standard_error_message and are looking to remove the dependency
on the SimpleItem code (the same code also forces us to use a HTML instance
to render the error message).
Richard
--
Richard Jones
richard@bizarsoftware.com.au
Senior Software Developer, Bizar Software (www.bizarsoftware.com.au)