[Zope] Standard_error_message and 2.6.0

Tony McDonald tony.mcdonald@ncl.ac.uk
Tue, 22 Oct 2002 14:54:51 +0100


Hi all,
You might have noticed that when you get errors in your DTML/ZPT etc that
the tracebacks in the HTML page are no longer there.

You have two choices (as I see it);
1) edit lib/python/ZPublisher/HTTPResponse.py, look for APPEND_TRACEBACKS
and set it to 1
Or
2) add the following to the end of your standard_error_message

....
<dtml-var standard_html_footer>
<!--
<dtml-var error_tb>
-->

Your choice - I opted for the second.

Tone
-- 
Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/zope