Modify ↓
#9051 closed defect (cantfix)
AttributeError: 'NoneType' object has no attribute 'toordinal'
| Reported by: | trac | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11.6 |
| 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',
'name': u'Sprint Backlog',
'scope': None,
'view': u'View'}
System Information
| Trac | 0.11.6
|
| Python | 2.6.4 (r264:75706, Dec 7 2009, 18:43:55) [GCC 4.4.1]
|
| setuptools | 0.6c11
|
| SQLite | 3.6.16
|
| pysqlite | 2.4.1
|
| Genshi | 0.5.1
|
| Agilo | 0.8.4.1-r2322-20100129
|
Python Traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/web/main.py", line 450, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/web/main.py", line 206, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.6/dist-packages/agilo-0.8.4.1_r2322_20100129-py2.6.egg/agilo/api/view.py", line 155, in process_request
return self._call_filters_and_handler(req, handler)
File "/usr/local/lib/python2.6/dist-packages/agilo-0.8.4.1_r2322_20100129-py2.6.egg/agilo/api/view.py", line 143, in _call_filters_and_handler
data = handler(req) or {}
File "/usr/local/lib/python2.6/dist-packages/agilo-0.8.4.1_r2322_20100129-py2.6.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/local/lib/python2.6/dist-packages/agilo-0.8.4.1_r2322_20100129-py2.6.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/local/lib/python2.6/dist-packages/agilo-0.8.4.1_r2322_20100129-py2.6.egg/agilo/charts/chart_generator.py", line 135, in get_chartwidget
new_widget = self._get_widget(name, kwargs, use_cache)
File "/usr/local/lib/python2.6/dist-packages/agilo-0.8.4.1_r2322_20100129-py2.6.egg/agilo/charts/chart_generator.py", line 110, in _get_widget
new_widget = generator.generate_widget(name, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/agilo-0.8.4.1_r2322_20100129-py2.6.egg/agilo/scrum/backlog/charts.py", line 62, in generate_widget
burndown_widget.populate_with_sprint_data(sprint_name)
File "/usr/local/lib/python2.6/dist-packages/agilo-0.8.4.1_r2322_20100129-py2.6.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 , 16 years ago
| Cc: | added |
|---|---|
| Resolution: | → cantfix |
| Status: | new → closed |
comment:2 by , 16 years ago
@reporter: this looks like the sprint has no start date - a condition that should be prevented by the UI. Could you please report how you did that to our google user group for reproduction? Please see AgiloForScrum for contact details.
@cboos: thanks for the heads up. :)
Note:
See TracTickets
for help on using tickets.



PluginIssue (AgiloForScrum).