Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#4891 closed (wontfix)

cgitb for mod_python

Reported by: Thomas Güttler <hv@…> Owned by: nobody
Component: HTTP handling Version: dev
Severity: Keywords:
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi,

here is a small patch to modpython.py and modpython.txt. It allows you
to use cgitb if an error at mod_python level happens. (e.g. Errors in
middleware code). It uses cgitb instead of displaying the simple ascii
traceback.

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

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

Attachment: modpython.diff added

comment:1 by James Bennett, 17 years ago

#4903 is a duplicate, and has an alternate patch.

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

This patch uses cgitb for errors at mod_python (apache module) level.

Sorry, #4903 is not a duplicate. It is about falling back to cgitb if there
is an error in views/debug.py

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

Cc: hv@… added

comment:4 by Simon G <dev@…>, 16 years ago

Triage Stage: UnreviewedDesign decision needed

comment:5 by Jacob, 16 years ago

Resolution: wontfix
Status: newclosed

I don't much see the point of including this in Django proper -- very few people are going to want cgitb over the pretty error pages, and those few that do can do this themselves.

comment:6 by Thomas Güttler, 16 years ago

Cc: hv@… removed
Note: See TracTickets for help on using tickets.
Back to Top