Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9083 closed defect (cantfix)

AttributeError: 'NoneType' object has no attribute 'name'

Reported by: mokplan@… 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 /dashboard, Trac issued an internal error.

(please provide additional details here)

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8

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
jQuery: 1.2.6

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\scrum\backlog\dashboard.py", line 100, in process_request
    self._add_charts_to_template_data(req, current_sprint_name, data)
  File "C:\Program Files (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_pro-py2.5.egg\agilo\scrum\backlog\dashboard.py", line 76, in _add_charts_to_template_data
    sprint_name=current_sprint_name, cached_data=cached_data)
  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:\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.0_PRO-py2.5.egg\agilo\scrum\sprint\charts\resource_assignment_piechart.py", line 42, in generate_widget
  File "c:\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.0_PRO-py2.5.egg\agilo\scrum\sprint\charts\resource_assignment_piechart.py", line 70, in populate_with_sprint_data
  File "C:\Program Files (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_pro-py2.5.egg\agilo\api\controller.py", line 333, in process_command
    return command.execute(self, date_converter, as_key)
  File "C:\Program Files (x86)\Agilo\lib\site-packages\binary_agilo-1.2.0_pro-py2.5.egg\agilo\api\controller.py", line 286, in execute
    return self._execute(controller, date_converter, as_key)
  File "c:\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.0_PRO-py2.5.egg\agilo\scrum\sprint\controller.py", line 921, in _execute
  File "c:\agilo installer\agilo\lib\site-packages\binary_agilo-1.2.0_PRO-py2.5.egg\agilo\scrum\sprint\controller.py", line 876, in get_load_series_for_interval
AttributeError: 'NoneType' object has no attribute 'name'

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

@reporter: You are using an old version of Agilo - I think this problem is solved in 1.2.1 so you should try to upgrade (also a good point in updating trac to 0.11.6). For more support, please join our google group (details can be found 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.