Modify

Opened 6 years ago

Closed 6 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@… 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by felipe.sanches@…

comment:1 Changed 6 years ago by daan

  • Owner changed from sambloomquist to daan

comment:2 Changed 6 years ago by daan

  • Resolution set to wontfix
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.