Opened 18 years ago
Closed 18 years ago
#5286 closed defect (duplicate)
ValueError: invalid literal for int(): /path/to/report
Reported by: | Owned by: | Matthew Good | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | report system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
I installed the .11dev version due to running Trac on CentOS (which doesn't support ClearSilver). The installation went fine, but I am unable to view or edit tickets. When I click the 'View Reports' tab, I get the above error.
Here's the log snippet:
<snip> 2007-05-08 15:45:30,367 Trac[main] ERROR: invalid literal for int(): projects/isound/report Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r5354-py2.3.egg/trac/web/main.py", line 429, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r5354-py2.3.egg/trac/web/main.py", line 217, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r5354-py2.3.egg/trac/ticket/report.py", line 74, in process_request id = int(req.args.get('id', -1)) ValueError: invalid literal for int(): projects/isound/report </snip>
Attachments (0)
Change History (6)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Description: | modified (diff) |
---|---|
Keywords: | needinfo added |
Milestone: | 0.11 |
Severity: | blocker → normal |
What was the requested URL? And did you do anything special in your TracIni?
id
is expected to be the report number, not a path…
If the requested URL was .../report/projects/isound/report
, then this error must indeed be triggered.
comment:3 by , 18 years ago
Keywords: | needinfo removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Same misconfiguration as #5287, please follow-up only there.
comment:4 by , 18 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
The URL was this: http://mydomain.com/projects/isound/report. My trac.ini file hasn't been modified beyond turning logging on.
After reading the source code I realize id is supposed to be a report number, but it looks in fact to be a path.
FYI, #5287 & #5286 are related.