Modify ↓
Opened 15 years ago
Closed 15 years ago
#9190 closed defect (duplicate)
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: | 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)
Note:
See TracTickets
for help on using tickets.
Duplicate of #9189.