Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10289 closed defect (cantfix)

ZeroDivisionError: float division

Reported by: Jennifer Gentz Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.2
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'Sprint4',
 'name': u'Sprint Backlog',
 'scope': None,
 'view': u'View'}

System Information

Trac 0.11.2
Python 2.5.2 (r252:60911, Jan 20 2010, 23:30:56)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
setuptools 0.6c9
SQLite 3.4.2
pysqlite 2.3.2
Genshi 0.5.1
mod_python 3.3.1
Pygments 1.2.2
Agilo 0.9.0.1-r2918-20100528
Subversion 1.4.6 (r28521)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2-py2.5.egg/trac/web/main.py", line 432, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.2-py2.5.egg/trac/web/main.py", line 204, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/agilo-0.9.0.1_r2918_20100528-py2.5.egg/agilo/api/view.py", line 155, in process_request
    return self._call_filters_and_handler(req, handler)
  File "/usr/lib/python2.5/site-packages/agilo-0.9.0.1_r2918_20100528-py2.5.egg/agilo/api/view.py", line 143, in _call_filters_and_handler
    data = handler(req) or {}
  File "/usr/lib/python2.5/site-packages/agilo-0.9.0.1_r2918_20100528-py2.5.egg/agilo/scrum/backlog/web_ui.py", line 323, in do_get
    chart = self._get_and_prepare_burndown_chart_if_neccessary(req, backlog)
  File "/usr/lib/python2.5/site-packages/agilo-0.9.0.1_r2918_20100528-py2.5.egg/agilo/scrum/backlog/web_ui.py", line 302, in _get_and_prepare_burndown_chart_if_neccessary
    widget.prepare_rendering(req)
  File "/usr/lib/python2.5/site-packages/agilo-0.9.0.1_r2918_20100528-py2.5.egg/agilo/scrum/burndown/charts.py", line 165, in prepare_rendering
    self._populate_with_sprint_and_viewer_timezone(self.data['sprint_name'], req.tz)
  File "/usr/lib/python2.5/site-packages/agilo-0.9.0.1_r2918_20100528-py2.5.egg/agilo/scrum/burndown/charts.py", line 192, in _populate_with_sprint_and_viewer_timezone
    utc_ideal_data = self._calculate_ideal_burndown(utc_capacity_data, first_remaining_time, sprint)
  File "/usr/lib/python2.5/site-packages/agilo-0.9.0.1_r2918_20100528-py2.5.egg/agilo/scrum/burndown/charts.py", line 320, in _calculate_ideal_burndown
    return calculate_ideal_burndown(utc_capacity_data, first_remaining_time, sprint)
  File "/usr/lib/python2.5/site-packages/agilo-0.9.0.1_r2918_20100528-py2.5.egg/agilo/scrum/burndown/charts.py", line 107, in calculate_ideal_burndown
    ideal_burndown_proportion = 1 + (first_remaining_time.remaining_time - first_capacity) / first_capacity
ZeroDivisionError: float division

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 13 years ago

Cc: support@… added
Resolution: cantfix
Status: newclosed

AgiloForScrum issue. Please use their support forum.

in reply to:  1 comment:2 by anonymous, 13 years ago

Replying to cboos:

AgiloForScrum issue. Please use their support forum.

Please update to the latest version of Agilo and if possible Trac 0.12 or at least the latest update of Trac 0.11, you are running quite an older version.

@Christian, thanks :-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.