Modify

Opened 17 years ago

Closed 16 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

Description

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/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

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

resp = chosen_handler.process_request(req)

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

self._do_create(req, db)

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

ticket.insert(db=db)

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

listener.ticket_created(self)

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

self.update_burndown_data()

File "build/bdist.linux-i686/egg/burndown/burndown.py", 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@… 17 years ago.

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by felipe.sanches@…

Attachment: fix-3172.patch added

comment:1 Changed 16 years ago by daan

Owner: changed from Sam Bloomquist to daan

comment:2 Changed 16 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
Action
as closed The owner will remain daan.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.