Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#4891 closed (wontfix)

cgitb for mod_python

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

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@…> 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by Thomas Güttler <hv@…>

Attachment: modpython.diff added

comment:1 Changed 9 years ago by James Bennett

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

comment:2 Changed 9 years ago by Thomas Güttler <hv@…>

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 Changed 9 years ago by Thomas Güttler <hv@…>

Cc: hv@… added

comment:4 Changed 9 years ago by Simon G <dev@…>

Triage Stage: UnreviewedDesign decision needed

comment:5 Changed 9 years ago by Jacob

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 Changed 8 years ago by Thomas Güttler

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