[Zope-Coders] Re: [Zope.Com Geeks] No Zope tracebacks

Guido van Rossum guido@python.org
Mon, 20 May 2002 15:30:30 -0400


> I am trying the ZMI with some new code on the Zope 2 trunk, and I need
> tracebacks.  When I get an error, the message
> 
>   For more detailed information about the error, please refer to the
>   HTML source for this page.
> 
> is displayed, but there is no traceback in the HTML source.  (I've
> looked in all frames!)
> 
> I showed this to Jim last week and he was very surprised.  Did
> something break?  Can anyone help me with this?  I have no idea where
> to start looking.

FYI, here's a clue: in lib/python/ZPublisher/HTTPResponse.py, set
APPEND_TRACEBACKS to 1 to show the tracebacks (no peeking in the
source required).  The comment there suggests that tracebacks in the
HTML source are no longer supported; perhaps the text in
lib/python/OFS/standard/standard_error_message.dtml should be updated?

Also, perhaps this policy change should be mentioned in CHANGES.txt?

Shane?  (Your name seems to be all over this. :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)