Modify ↓
#11878 closed defect (cantfix)
ZeroDivisionError: float division by zero
Reported by: | swapnil.rastogi | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12.3 |
Severity: | normal | Keywords: | |
Cc: | support@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /backlog/Sprint Backlog
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'bscope': u'Sprint 4', 'name': u'Sprint Backlog', 'scope': None}
User agent: #USER_AGENT#
System Information
Trac | 0.12.3
|
Agilo | 0.9.8
|
Babel | 0.9.6 (translations unavailable)
|
Docutils | 0.8.1
|
Genshi | 0.6
|
GIT | 1.7.9.5
|
mod_wsgi | 3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
|
Pygments | 1.4
|
pysqlite | 2.6.0
|
Python | 2.7.3 (default, Feb 27 2014, 20:09:21) [GCC 4.6.3]
|
pytz | 2011k
|
setuptools | 0.6c11
|
SQLite | 3.7.9
|
jQuery | #JQUERY#
|
Enabled Plugins
agilo | 0.9.8
|
TracGit | 0.12.0.5dev
|
Python Traceback
Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 522, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 243, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.7/dist-packages/agilo-0.9.8-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/agilo-0.9.8-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/agilo-0.9.8-py2.7.egg/agilo/scrum/backlog/web_ui.py", line 325, in do_get chart = self._get_and_prepare_burndown_chart_if_neccessary(req, backlog) File "/usr/local/lib/python2.7/dist-packages/agilo-0.9.8-py2.7.egg/agilo/scrum/backlog/web_ui.py", line 304, in _get_and_prepare_burndown_chart_if_neccessary widget.prepare_rendering(req) File "/usr/local/lib/python2.7/dist-packages/agilo-0.9.8-py2.7.egg/agilo/scrum/burndown/charts.py", line 196, in prepare_rendering self._populate_with_sprint_and_viewer_timezone(self.data['sprint_name'], req.tz) File "/usr/local/lib/python2.7/dist-packages/agilo-0.9.8-py2.7.egg/agilo/scrum/burndown/charts.py", line 223, 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/agilo-0.9.8-py2.7.egg/agilo/scrum/burndown/charts.py", line 352, in _calculate_ideal_burndown return calculate_ideal_burndown(utc_capacity_data, first_remaining_time, sprint) File "/usr/local/lib/python2.7/dist-packages/agilo-0.9.8-py2.7.egg/agilo/scrum/burndown/charts.py", line 138, in calculate_ideal_burndown ideal_burndown_proportion = 1 + (first_remaining_time.remaining_time - first_capacity) / first_capacity ZeroDivisionError: float division by zero
Attachments (0)
Change History (2)
comment:1 by , 10 years ago
Cc: | added |
---|---|
Resolution: | → cantfix |
Status: | new → closed |
comment:2 by , 10 years ago
@jomae: thanks for the cc
@reporter: please upgrade to the latest version of Agilo for Trac
Note:
See TracTickets
for help on using tickets.
PluginIssue (AgiloForScrum).