Opened 17 years ago
Closed 16 years ago
#3172 closed defect (wontfix)
ValueError exception on update_burndown_data
Reported by: | 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)
Change History (3)
Changed 17 years ago by
Attachment: | fix-3172.patch added |
---|
comment:1 Changed 16 years ago by
Owner: | changed from Sam Bloomquist to daan |
---|
comment:2 Changed 16 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
It's a nice idea, but the Timing and Estimation plugin does not work this way. And it is not really internationalizable...