Modify ↓
Opened 9 years ago
Closed 9 years ago
#12198 closed defect (fixed)
KeyError: 'cnum'
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.9 |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
Missing or invalid |
||
API Changes: | |||
Internal Changes: |
Description
Another traceback that was found in the logs:
2015-09-03 02:47:34,418 Trac[main] ERROR: Internal Server Error: Traceback (most recent call last): File "build/bdist.linux-i686/egg/trac/web/main.py", line 551, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-i686/egg/trac/web/main.py", line 244, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/trac/ticket/web_ui.py", line 182, in process_request return self._process_ticket_request(req) File "build/bdist.linux-i686/egg/trac/ticket/web_ui.py", line 554, in _process_ticket_request cnum = int(req.args['cnum']) KeyError: 'cnum'
Attachments (0)
Change History (5)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:4 by , 9 years ago
Release Notes: | modified (diff) |
---|
comment:1 change committed to 1.0-stable in [14294], merged to trunk in [14295].
Proposed changes in log:rjollos.git:t12198_invalid_cnum.
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
What about logging with the
req
object and its referrer for trouble shooting?trac/web/api.py
trac/web/main.py
After the patch: