Opened 18 years ago
Closed 18 years ago
#4335 closed (fixed)
Pretty error page should display Python version
Reported by: | 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)
Change History (6)
comment:1 by , 18 years ago
Summary: | request for python version on error outputs → show python version on error outputs |
---|---|
Triage Stage: | Unreviewed → Design decision needed |
comment:2 by , 18 years ago
Component: | Tools → Core framework |
---|---|
Summary: | show python version on error outputs → Pretty error page should display Python version |
Triage Stage: | Design decision needed → Accepted |
You mean Django's "pretty HTML error page," right? If so, I'm +1 for this. Could you write up a patch?
by , 18 years ago
Attachment: | sys-info-debug-500-error.patch added |
---|
Includes the Python executable path and version in the 500 error pages whilst debugging
comment:3 by , 18 years ago
Cc: | added |
---|---|
Has patch: | set |
comment:4 by , 18 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:5 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.