Modify ↓
#4640 closed defect (wontfix)
python error when going to the roadmap page
| Reported by: | anonymous | Owned by: | Christopher Lenz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | roadmap | Version: | 0.9.4 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
I went to http://siprouter.onsip.org/trac/roadmap
and I got :
Oops... Trac detected an internal error: empty string for float()
with the Python traceback :
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 130, in run
dispatch_request(req.path_info, req, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/ticket/roadmap.py", line 210, in process_request
req.hdf[prefix + 'stats'] = calc_ticket_stats(tickets)
File "/usr/lib/python2.3/site-packages/trac/ticket/roadmap.py", line 108, in calc_ticket_stats
spent_work += parse_time(ticket['tt_spent'])
File "/usr/lib/python2.3/site-packages/trac/ticket/roadmap.py", line 41, in parse_time
return float(value)
ValueError: empty string for float()
Attachments (0)
Change History (3)
comment:1 by , 19 years ago
| Component: | general → roadmap |
|---|---|
| Description: | modified (diff) |
| Owner: | changed from to |
| Version: | → 0.9.4 |
comment:2 by , 19 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
comment:3 by , 19 years ago
To clarify cboos' comment, it appears that the administrator of that site has made modifications to the Trac source code and the error is in those modifications. As such we can't help you, so you will need to contact the site's administrator to get them to correct their errors.
Note:
See TracTickets
for help on using tickets.



File "/usr/lib/python2.3/site-packages/trac/ticket/roadmap.py", line 108, in calc_ticket_stats spent_work += parse_time(ticket['tt_spent'])that's not our code … so we can't fix it.