Modify ↓
      
#8992 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'Behnam Taghizadeh',
 'name': u'Sprint Backlog',
 'scope': None,
 'view': u'View'}
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.0-pro 
 | 
| Subversion |  1.5.6 (r36142) 
 | 
Python Traceback
Traceback (most recent call last):
  File "C:\Program Files (x86)\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 (x86)\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 (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_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 (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_pro-py2.5.egg\agilo\api\view.py", line 143, in _call_filters_and_handler
    data = handler(req) or {}
  File "C:\Program Files (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_pro-py2.5.egg\agilo\scrum\backlog\new_webui.py", line 154, in do_get
    chart = self._get_and_prepare_burndown_chart_if_neccessary(req, backlog)
  File "C:\Program Files (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_pro-py2.5.egg\agilo\scrum\backlog\new_webui.py", line 137, in _get_and_prepare_burndown_chart_if_neccessary
    widget = get_widget(ChartType.BURNDOWN, sprint_name=sprint.name)
  File "C:\Program Files (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_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 (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_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 (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_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 (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_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 (3)
comment:1 by , 16 years ago
| Resolution: | → cantfix | 
|---|---|
| Status: | new → closed | 
comment:2 by , 16 years ago
| Cc: | added | 
|---|
comment:3 by , 16 years ago
@reporter: Please contact on our google group to help us get this fixed.
@cboos: thanks!
  Note:
 See   TracTickets
 for help on using tickets.
    


  
Another PluginIssue (AgiloForScrum).