Hi there, was wondering if anyone has had this issue in the past.
With a new empty sprint, I added a task with a remaining time of 6. When I
go to the sprint backlog I get the following error:
ZeroDivisionError: float division by zero
This doesn't happen when I omit the remaining time, however I assume my
burndown chart won't work without time estimates. Here's the stack trace
for the error:
File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 511, in
_dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 237, in
dispatch
resp = chosen_handler.process_request(req)
File
"/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.5_PRO-py2.7.egg/agilo/api/view.py",
line 155, in process_request
return self._call_filters_and_handler(req, handler)
File
"/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.5_PRO-py2.7.egg/agilo/api/view.py",
line 143, in _call_filters_and_handler
data = handler(req) or {}
File
"/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.5_PRO-py2.7.egg/agilo/scrum/backlog/web_ui.py",
line 324, in do_get
chart = self._get_and_prepare_burndown_chart_if_neccessary(req, backlog)
File
"/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.5_PRO-py2.7.egg/agilo/scrum/backlog/web_ui.py",
line 303, in _get_and_prepare_burndown_chart_if_neccessary
widget.prepare_rendering(req)
File
"/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.5_PRO-py2.7.egg/agilo/scrum/burndown/charts.py",
line 166, in prepare_rendering
self._populate_with_sprint_and_viewer_timezone(self.data['sprint_name'],
req.tz)
File
"/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.5_PRO-py2.7.egg/agilo/scrum/burndown/charts.py",
line 193, in _populate_with_sprint_and_viewer_timezone
utc_ideal_data = self._calculate_ideal_burndown(utc_capacity_data,
first_remaining_time, sprint)
File
"/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.5_PRO-py2.7.egg/agilo/scrum/burndown/charts.py",
line 322, in _calculate_ideal_burndown
return calculate_ideal_burndown(utc_capacity_data, first_remaining_time,
sprint)
File
"/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.5_PRO-py2.7.egg/agilo/scrum/burndown/charts.py",
line 108, in calculate_ideal_burndown
ideal_burndown_proportion = 1 + (first_remaining_time.remaining_time -
first_capacity) / first_capacity
I'm using Agilo 1.3.5-PRO, on Trac 0.12.2, Python 2.7.2 using a PostgreSQL
database.
As an aside, does anyone know what the resources field is supposed to be? I
can't find any info on that. Don't know if that's related to the problem.
Many thanks,
Ross
--
Follow Agilo on Twitter: http://twitter.com/agiloforscrum
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-scrum
http://freshmeat.net/projects/agiloforscrum
You have received this message because you are subscribed to
the "Agilo for Scrum" Google Group. This group is focused on
supporting Agilo for Scrum users and is moderated by
Agilo Software GmbH <http://www.agiloforscrum.com>.
To post to this group, send email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo