Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#8968 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'KW1/2010',
 '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
Subversion 1.5.6 (r36142)
Agilo 1.2.0-pro

Python Traceback

Traceback (most recent call last):
  File "C:\Programme\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:\Programme\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:\Programme\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:\Programme\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:\Programme\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:\Programme\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:\Programme\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:\Programme\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:\Programme\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:\Programme\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 Remy Blank, 12 years ago

Cc: support@… added
Resolution: cantfix
Status: newclosed

comment:2 by Martin Häcker <martin.haecker@…>, 12 years ago

@rblank: Thanks for notifying us!

@Reporter: you might want to try an update to Trac 0.11.6 (although that probably isn't the root cause of the problem). The best place to go from there is probably our mailing list.

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.