Re: [Zope] How to access Zope root in Script (Python)
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
tom> ... I hate the fact that the Zope error page is less informative ... Chris> try this one: ... Is there something like cgitb available? I could install the version that comes with 2.2, but is there a convenient way to make its functionality available via Zope? Thx, -- Skip Montanaro - skip@pobox.com http://www.mojam.com/ http://www.musi-cal.com/
Skip Montanaro wrote:
tom> ... I hate the fact that the Zope error page is less informative ...
Chris> try this one:
...
Is there something like cgitb available?
If I knew what cgitb was, I could comment :-S Chris
participants (2)
-
Chris Withers -
Skip Montanaro