Code

Opened 7 years ago

Closed 7 years ago

Last modified 6 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@…> 7 years ago.

Download all attachments as: .zip

Change History (7)

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

comment:1 Changed 7 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

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

  • Cc hv@… added

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

  • Triage Stage changed from Unreviewed to Design decision needed

comment:5 Changed 7 years ago by jacob

  • Resolution set to wontfix
  • Status changed from new to closed

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 6 years ago by guettli

  • Cc hv@… removed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.