[Zope] How to access Zope root in Script (Python)

Chris Withers chrisw@nipltd.com
Mon, 02 Dec 2002 09:59:09 +0000


tom smith wrote:
> Incidentally, I hate the fact that the Zope error page is less 
> informative, I've always advocated having an error page where all the 
> objects in question are inspectable to so some level... I'm the type of 
> person who needs to see stuff on screen (now!) rather than go poking 
> around in log files

try this one:

<html>
<body>
<I>An Error has occurred:</I>
<br><br>
<dtml-if error_message>
<B>Error Message</B><br>
<dtml-var error_message>
<br><br>
</dtml-if>
<strong>Error Type: <dtml-var error_type html_quote></strong><br>
<strong>Error Value: <dtml-var error_value html_quote></strong><br>
<pre>
<dtml-var error_tb html_quote><br>
</pre>
<strong>REQUEST:</strong><br>
<dtml-var REQUEST>
</body>
</html>

cheers,

Chris