Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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 Emmanuel Blot)

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 Emmanuel Blot, 18 years ago

Component: generalroadmap
Description: modified (diff)
Owner: changed from Jonas Borgström to Christopher Lenz
Version: 0.9.4

comment:2 by Christian Boos, 18 years ago

Resolution: wontfix
Status: newclosed
  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.

comment:3 by Matthew Good, 18 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.