Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9245 closed defect (cantfix)

AttributeError: 'NoneType' object has no attribute 'toordinal'

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

System Information

Trac 0.11.7
Python 2.4.3 (#1, Mar 14 2007, 18:51:08)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)]
setuptools 0.6c11
SQLite 3.3.6
pysqlite 1.1.7
Genshi 0.5.1
mod_python 3.2.8
Agilo 0.8.4.1-r2322-20100129
Subversion 1.4.2 (r22196)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/api/view.py", line 155, in process_request
    return self._call_filters_and_handler(req, handler)
  File "/usr/lib/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/api/view.py", line 143, in _call_filters_and_handler
    data = handler(req) or {}
  File "/usr/lib/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/scrum/backlog/new_webui.py", line 166, in do_get
    chart = self._get_and_prepare_burndown_chart_if_neccessary(req, backlog)
  File "/usr/lib/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/scrum/backlog/new_webui.py", line 148, in _get_and_prepare_burndown_chart_if_neccessary
    widget = get_widget(ChartType.BURNDOWN, sprint_name=sprint.name)
  File "/usr/lib/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/charts/chart_generator.py", line 135, in get_chartwidget
    new_widget  = self._get_widget(name, kwargs, use_cache)
  File "/usr/lib/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/charts/chart_generator.py", line 110, in _get_widget
    new_widget = generator.generate_widget(name, **kwargs)
  File "/usr/lib/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/scrum/backlog/charts.py", line 62, in generate_widget
    burndown_widget.populate_with_sprint_data(sprint_name)
  File "/usr/lib/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/scrum/backlog/charts.py", line 292, in populate_with_sprint_data
    start_sprint = sprint.start.toordinal()
AttributeError: 'NoneType' object has no attribute 'toordinal'

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 15 years ago

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

comment:2 by Robert Buchholz <robert.buchholz@…>, 15 years ago

@reporter: Please feel free to subscribe to our the Agilo google group where we handle all Agilo related support. For more details please see AgiloForScrum.

Please make sure your sprint has a valid start and end date or duration (e.g. set them in the administration panel). Some sprints with invalid date fields may cause the backlog to display this error. We are tracking this https://dev.agile42.com/ticket/1069issue and it will be fixed in the upcoming release.

@rblank: Thank you for wrangling this bug and cc'ing us.

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.