Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#4903 closed (duplicate)

views/debug.py: fallback to cgitb

Reported by: Thomas Güttler <hv@…> Owned by: nobody
Component: Core (Other) Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi,

Unicode errors in views/debug.py are hard to debug. You
don't see the buggy string, and you don't see the real
exception.

That's way I patched views/debug.py to fall back to cgitb
if rendering the technical 500 response failed.

Attachments (1)

debug_py_cgitb_fallback.diff (1.1 KB ) - added by Thomas Güttler <hv@…> 17 years ago.

Download all attachments as: .zip

Change History (3)

by Thomas Güttler <hv@…>, 17 years ago

comment:1 by James Bennett, 17 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #4891.

comment:2 by Thomas Güttler <hv@…>, 17 years ago

Sorry this is not a duplicate.

This patch is about falling back to cgitb if there is an error in views/debug.py

#4891 is about errors at mod_python level (apache module).

Nevertheless I leave this closed, because since the unicode merge is stable,
I don't get errors in views/debug.py any more.

Note: See TracTickets for help on using tickets.
Back to Top