Opened 9 years ago
Last modified 9 years ago
#11886 closed defect
BaseException.message has been deprecated as of Python 2.6 — at Initial Version
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.5 |
Component: | general | Version: | 1.0-stable |
Severity: | minor | Keywords: | exception |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
If non-TRAC_ADMIN
user requests with hdfdump=1
parameter and Python 2.6 is used, Python says DeprecationWarning
.
python trac/web/standalone.py -p 3000 -a '*,/home/jun66j5/src/trac-htdigest.txt,auth' /dev/shm/testenv Server starting in PID 19162. Serving on 0.0.0.0:3000 view at http://127.0.0.1:3000/ Using HTTP/1.1 protocol version /home/jun66j5/src/tracdev/git/trac/web/api.py:137: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.detail = detail.message 192.168.11.11 - - [19/Dec/2014 13:03:40] "GET /testenv?hdfdump=1 HTTP/1.1" 403 - 192.168.11.11 - - [19/Dec/2014 13:03:40] "GET /testenv/chrome/site/your_project_logo.png HTTP/1.1" 404 - 192.168.11.11 - - [19/Dec/2014 13:03:40] "GET /testenv/chrome/site/your_project_logo.png HTTP/1.1" 404 -
Note:
See TracTickets
for help on using tickets.