Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9026 closed defect (cantfix)

TypeError: 'NoneType' object is not iterable

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/MBC01, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'bscope': u'MBC01', 'name': u'MBC01', '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.1-pro
Subversion 1.5.6 (r36142)

Python Traceback

Traceback (most recent call last):
  File "C:\Arquivos de programas\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:\Arquivos de programas\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:\documents and settings\administrator\desktop\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.1_PRO-py2.5.egg\agilo\api\view.py", line 155, in process_request
  File "c:\documents and settings\administrator\desktop\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.1_PRO-py2.5.egg\agilo\api\view.py", line 143, in _call_filters_and_handler
  File "C:\Arquivos de programas\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:\Arquivos de programas\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:\documents and settings\administrator\desktop\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.1_PRO-py2.5.egg\agilo\charts\chart_generator.py", line 135, in get_chartwidget
  File "c:\documents and settings\administrator\desktop\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.1_PRO-py2.5.egg\agilo\charts\chart_generator.py", line 110, in _get_widget
  File "C:\Arquivos de programas\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:\Arquivos de programas\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\scrum\backlog\charts.py", line 300, in populate_with_sprint_data
    actual_data = self.get_remaining_time_series(sprint_name, backlog, commitment)
  File "C:\Arquivos de programas\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\scrum\backlog\charts.py", line 284, in get_remaining_time_series
    actual_data = self.sp_controller.process_command(cmd_rem_times)
  File "c:\documents and settings\administrator\desktop\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.1_PRO-py2.5.egg\agilo\api\controller.py", line 333, in process_command
  File "c:\documents and settings\administrator\desktop\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.1_PRO-py2.5.egg\agilo\api\controller.py", line 286, in execute
  File "C:\Arquivos de programas\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\scrum\sprint\controller.py", line 654, in _execute
    start, end, sprint, sp_controller, commitment)
  File "C:\Arquivos de programas\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\scrum\sprint\controller.py", line 623, in _get_remaining_times_for_interval
    sprint, sp_controller)
  File "C:\Arquivos de programas\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\scrum\sprint\controller.py", line 573, in build_remaining_time_series_for_interval
    Key.ESTIMATED_REMAINING_TIME)
  File "C:\Arquivos de programas\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\scrum\sprint\controller.py", line 460, in _get_tickets_with_attribute
    return tc.process_command(cmd)
  File "c:\documents and settings\administrator\desktop\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.1_PRO-py2.5.egg\agilo\api\controller.py", line 333, in process_command
  File "c:\documents and settings\administrator\desktop\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.1_PRO-py2.5.egg\agilo\api\controller.py", line 286, in execute
  File "C:\Arquivos de programas\Agilo\lib\site-packages\binary_agilo-1.2.1_pro-py2.5.egg\agilo\ticket\controller.py", line 118, in _execute
    for ticket_or_bi in self.tickets:
TypeError: 'NoneType' object is not iterable

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 14 years ago

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

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

@reporter: thats an interesting stacktrace - could you please join our support google group so we can debug this together? For Details see Reporting Bugs on AgiloForScrum.

@rblank: thanks for the heads up!

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.