Is there a way to make TALESError Messages more verbose? Would be nice to have a line number and a more descriptive text than "TALESError". thomas
On Tuesday 16 April 2002 4:39 pm, Thomas Guettler wrote:
Is there a way to make TALESError Messages more verbose? Would be nice to have a line number and a more descriptive text than "TALESError".
thomas
What version of Zope/PageTemplates are you using? I'm pretty sure this is fixed in later versions of PageTemplates, which are subsequently bundled with later versions of the Zope 2.5 branch. Not sure which versions are the newer ones (I'm sure someone will enlighten us ;-) ), but basically it sounds like you need to update your PageTemplates to a newer version. Harry
Thomas Guettler writes:
Is there a way to make TALESError Messages more verbose? Would be nice to have a line number and a more descriptive text than "TALESError". Someone else already pointed out that newer ZPT versions are already better.
Shane was working on another big improvement. It may already be available via CVS. I expect really good tracebacks... Dieter
Dieter Maurer wrote:
Thomas Guettler writes:
Is there a way to make TALESError Messages more verbose? Would be nice to have a line number and a more descriptive text than "TALESError". Someone else already pointed out that newer ZPT versions are already better.
Shane was working on another big improvement. It may already be available via CVS. I expect really good tracebacks...
Yes, this would be realy good. I tried 2.5.1b2 today, but the tracebacks of PageTemplates are still bad. Most of the time I use python-methods now: ret=[] ret.append('<html>...') ret.append('</html>') return string.join(ret) But sometimes it is better to have something like ZPT. BTW, I think ZPT are overkill I use only <span tal:replace="structure python: ..."/> <span tal:replace="python: ..."/> thomas
On Wed, Apr 17, 2002 at 04:35:00PM +0200, Thomas Guettler wrote:
Yes, this would be realy good. I tried 2.5.1b2 today, but the tracebacks of PageTemplates are still bad. Most of the time I use python-methods now:
Speaking of which, anybody looked into adding ZPT support to ZDebug? I found zdebug saved *lots* of time when working with dtml... --PW
participants (4)
-
Dieter Maurer -
Harry Wilkinson -
Paul Winkler -
Thomas Guettler