#9189 closed defect (cantfix)
AttributeError: 'NoneType' object has no attribute 'toordinal'
| Reported by: | admin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11.5 |
| 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'sss', 'name': u'Sprint Backlog', 'scope': None}
System Information
| Trac | 0.11.5
|
| Python | 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
|
| setuptools | 0.6c9
|
| SQLite | 3.3.4
|
| pysqlite | 2.3.2
|
| Genshi | 0.5.1
|
| Agilo | 1.2.1-pro
|
| Subversion | 1.5.6 (r36142)
|
Python Traceback
Traceback (most recent call last):
File "C:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 444, in _dispatch_request
dispatcher.dispatch(req)
File "C:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 205, in dispatch
resp = chosen_handler.process_request(req)
File "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\api\view.py", line 155, in process_request
return self._call_filters_and_handler(req, handler)
File "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\api\view.py", line 143, in _call_filters_and_handler
data = handler(req) or {}
File "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\scrum\backlog\new_webui.py", line 166, in do_get
chart = self._get_and_prepare_burndown_chart_if_neccessary(req, backlog)
File "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.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 "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\charts\chart_generator.py", line 135, in get_chartwidget
new_widget = self._get_widget(name, kwargs, use_cache)
File "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\charts\chart_generator.py", line 110, in _get_widget
new_widget = generator.generate_widget(name, **kwargs)
File "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\scrum\backlog\charts.py", line 62, in generate_widget
burndown_widget.populate_with_sprint_data(sprint_name)
File "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.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 (4)
comment:1 by , 16 years ago
| Cc: | added |
|---|---|
| Resolution: | → cantfix |
| Status: | new → closed |
comment:2 by , 16 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 issue and it will be fixed in the upcoming release.
@rblank: Thank you for wrangling this bug and cc'ing us.
follow-up: 4 comment:3 by , 16 years ago
Did any one fixed the above issue..Even i am faceing the same issue
comment:4 by , 16 years ago
Replying to anonymous:
Did any one fixed the above issue..Even i am faceing the same issue
I wouldn't expect any answers here since this Trac is about development of Trac itself, and not it's plugins, please read AgiloForScrum#BugsHelpandFeatureRequests for addressing bugs and questions.



PluginIssue (AgiloForScrum).