Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#8972 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: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /backlog/AMS_SprintBacklog, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'bscope': u'SGC 1',
 'name': u'AMS_SprintBacklog',
 '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
Subversion 1.5.6 (r36142)
Agilo 1.2.0-pro

Python Traceback

Traceback (most recent call last):
  File "C:\Archivos de programa\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:\Archivos de programa\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:\Archivos de programa\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:\Archivos de programa\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:\Archivos de programa\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:\Archivos de programa\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:\Archivos de programa\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:\Archivos de programa\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:\Archivos de programa\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:\Archivos de programa\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 (2)

comment:1 by Felix Schwarz <felix.schwarz@…>, 14 years ago

This is a PluginIssue - AgiloForScrum. Please use our mailing list.

comment:2 by Tim Hatch, 14 years ago

Resolution: cantfix
Status: newclosed

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.