Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9349 closed defect (cantfix)

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

Reported by: ljin Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.6
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 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

System Information

Trac 0.11.6
Python 2.5.2 (r252:60911, Jan 24 2010, 18:02:01)
[GCC 4.3.2]
setuptools 0.6c8
SQLite 3.5.9
pysqlite 2.4.1
Genshi 0.5.1
mod_wsgi 2.5 (WSGIProcessGroup trac_https_wsgi WSGIApplicationGroup %{GLOBAL})
Pygments 0.10
RPC 1.0.6
Agilo 0.8.3.2-r2138-20091203
Subversion 1.6.11 (r934486)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/agilo-0.8.3.2_r2138_20091203-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 "/usr/lib/python2.5/site-packages/agilo-0.8.3.2_r2138_20091203-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 "/usr/lib/python2.5/site-packages/agilo-0.8.3.2_r2138_20091203-py2.5.egg/agilo/charts/chart_generator.py", line 135, in get_chartwidget
    new_widget  = self._get_widget(name, kwargs, use_cache)
  File "/usr/lib/python2.5/site-packages/agilo-0.8.3.2_r2138_20091203-py2.5.egg/agilo/charts/chart_generator.py", line 110, in _get_widget
    new_widget = generator.generate_widget(name, **kwargs)
  File "/usr/lib/python2.5/site-packages/agilo-0.8.3.2_r2138_20091203-py2.5.egg/agilo/scrum/sprint/charts/resource_assignment_piechart.py", line 42, in generate_widget
    resource_widget.populate_with_sprint_data(sprint_name)
  File "/usr/lib/python2.5/site-packages/agilo-0.8.3.2_r2138_20091203-py2.5.egg/agilo/scrum/sprint/charts/resource_assignment_piechart.py", line 70, in populate_with_sprint_data
    self.data['resource_stats'] = SprintController(self.env).process_command(cmd_resources)
  File "/usr/lib/python2.5/site-packages/agilo-0.8.3.2_r2138_20091203-py2.5.egg/agilo/api/controller.py", line 333, in process_command
    return command.execute(self, date_converter, as_key)
  File "/usr/lib/python2.5/site-packages/agilo-0.8.3.2_r2138_20091203-py2.5.egg/agilo/api/controller.py", line 286, in execute
    return self._execute(controller, date_converter, as_key)
  File "/usr/lib/python2.5/site-packages/agilo-0.8.3.2_r2138_20091203-py2.5.egg/agilo/scrum/sprint/controller.py", line 921, in _execute
    sp_controller)
  File "/usr/lib/python2.5/site-packages/agilo-0.8.3.2_r2138_20091203-py2.5.egg/agilo/scrum/sprint/controller.py", line 876, in get_load_series_for_interval
    self._add_capacity_information(env, sprint.team.name,
AttributeError: 'NoneType' object has no attribute 'name'

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 15 years ago

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

comment:2 by Robert Buchholz <robert.buchholz@…>, 15 years ago

@reporter: this could likely be a case of you having a sprint with no team assigned to it, so a workaround could be to add one to that sprint. For further support on Agilo, please use our Google Group (details on AgiloForScrum).

@rblank: Thanks ;-)

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.