Opened 17 years ago

Closed 17 years ago

#4335 closed (fixed)

Pretty error page should display Python version

Reported by: rogerpack2005@… Owned by: Adrian Holovaty
Component: Core (Other) Version: dev
Severity: Keywords:
Cc: pete.crosier@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

It would be nice in certain instances (such as a shared host) to be able to 1) see what version of python ran your code and/or (if possible) 2) where that python binary is located. Just a thought as not all error traces show such, though some do. Thank you!

Attachments (1)

sys-info-debug-500-error.patch (1.3 KB ) - added by pete.crosier@… 17 years ago.
Includes the Python executable path and version in the 500 error pages whilst debugging

Download all attachments as: .zip

Change History (6)

comment:1 by Simon G. <dev@…>, 17 years ago

Summary: request for python version on error outputsshow python version on error outputs
Triage Stage: UnreviewedDesign decision needed

I've got Django running on a shared host, where python 2.3 is the default (Debian Sarge) and I have to explicitly set it to use 2.4 with a shebang line. Showing the python version would be handy here.

Showing version numbers is generally a bad idea as it provides lots of hackable info, but this is a debug page, and it does show lots of other info.

comment:2 by Adrian Holovaty, 17 years ago

Component: ToolsCore framework
Summary: show python version on error outputsPretty error page should display Python version
Triage Stage: Design decision neededAccepted

You mean Django's "pretty HTML error page," right? If so, I'm +1 for this. Could you write up a patch?

by pete.crosier@…, 17 years ago

Includes the Python executable path and version in the 500 error pages whilst debugging

comment:3 by anonymous, 17 years ago

Cc: pete.crosier@… added
Has patch: set

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

Triage Stage: AcceptedReady for checkin

comment:5 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [5456]) Fixed #4335 -- Added Python executable binary path and version to debug output.
Thanks, Pete Crosier.

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