default error message

Bug #125969 reported by Wim Boucquaert
4
Affects Status Importance Assigned to Milestone
grok
Fix Released
Low
Michael Haubenwallner
1.0
Fix Released
Low
Michael Haubenwallner

Bug Description

By default you always get a "a system error occurred" message it would be nice to have a nice traceback.
Eval Exception cfr Philikon's talk would be nice

Revision history for this message
Philipp von Weitershausen (philikon) wrote :

We could tackle this by plugging in a different SystemError exception view that displays the traceback. Zope 3 in fact has such a view already, registered in the DebugLayer (zope.app.debug or something).

Another way we can tackle this (Wim mentions this) is to use Paste and z3c.evalexception. Then you will get the normal safe behaviour if you don't use this middleware and you will get the interactive debugger when you do use it. We could enable the middleware by default.

todd (todd-infrae)
Changed in grok:
assignee: nobody → faassen
milestone: none → 1.0
Revision history for this message
Martijn Faassen (faassen) wrote :

Michael, what does the current grokproject do? What is your opinion on this topic? 1.0 material or later?

Changed in grok:
assignee: faassen → d2m
importance: Undecided → Low
Revision history for this message
Michael Haubenwallner (d2m) wrote :

Grokproject uses z3c.evalexception middleware
http://svn.zope.org/grokproject/trunk/grokproject/template_paste/etc/debug.ini_tmpl?view=markup

Are you suggesting to change the Grok buildout to support WSGI too for 1.0 ?

Revision history for this message
Martijn Faassen (faassen) wrote :

Cool, then I can close this issue.

Using WSGI for Grok's own buildout is a separate bug: https://bugs.launchpad.net/grok/+bug/307197

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.