Opened 10 years ago

Closed 9 years ago

#3172 closed defect (wontfix)

ValueError exception on update_burndown_data

Reported by: felipe.sanches@… Owned by: daan
Priority: normal Component: ScrumBurndownPlugin
Severity: normal Keywords: crash
Cc: Trac Release: 0.10


I filled the estimated time with the string "20 minutes" and got this:

Traceback (most recent call last):

File "/var/lib/python-support/python2.5/trac/web/", line 406, in dispatch_request


File "/var/lib/python-support/python2.5/trac/web/", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "/var/lib/python-support/python2.5/trac/ticket/", line 138, in process_request

self._do_create(req, db)

File "/var/lib/python-support/python2.5/trac/ticket/", line 201, in _do_create


File "/var/lib/python-support/python2.5/trac/ticket/", line 180, in insert


File "build/bdist.linux-i686/egg/burndown/", line 124, in ticket_created


File "build/bdist.linux-i686/egg/burndown/", line 324, in update_burndown_data

hours += float(estimate) - float(spent)

ValueError: invalid literal for float(): 20 minutes

then I wrote a patch to fix it. :-D

Attachments (1)

fix-3172.patch (1.5 KB) - added by felipe.sanches@… 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by felipe.sanches@…

Attachment: fix-3172.patch added

comment:1 Changed 10 years ago by daan

Owner: changed from Sam Bloomquist to daan

comment:2 Changed 9 years ago by daan

Resolution: wontfix
Status: newclosed

It's a nice idea, but the Timing and Estimation plugin does not work this way. And it is not really internationalizable...

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain daan.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.