Modify ↓
#9232 closed defect (cantfix)
AttributeError: 'NoneType' object has no attribute 'name'
Reported by: | mattias | 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 6.1; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2
System Information
Trac | 0.11.6
|
Python | 2.5.2 (r252:60911, Nov 14 2008, 20:05:29) [GCC 4.3.2]
|
setuptools | 0.6c8
|
SQLite | 3.5.9
|
pysqlite | 2.3.2
|
Genshi | 0.5.1
|
Agilo | 1.2.1-PRO
|
Subversion | 1.5.1 (r32289)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/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/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/binary_agilo-1.2.1_PRO-py2.5.egg/agilo/scrum/backlog/dashboard.py", line 101, in process_request self._add_charts_to_template_data(req, current_sprint_name, data) File "/usr/lib/python2.5/site-packages/binary_agilo-1.2.1_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 "/usr/lib/python2.5/site-packages/binary_agilo-1.2.1_PRO-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/binary_agilo-1.2.1_PRO-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/binary_agilo-1.2.1_PRO-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/binary_agilo-1.2.1_PRO-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/binary_agilo-1.2.1_PRO-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/binary_agilo-1.2.1_PRO-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/binary_agilo-1.2.1_PRO-py2.5.egg/agilo/scrum/sprint/controller.py", line 926, in _execute sp_controller) File "/usr/lib/python2.5/site-packages/binary_agilo-1.2.1_PRO-py2.5.egg/agilo/scrum/sprint/controller.py", line 881, 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 , 15 years ago
Cc: | added |
---|---|
Resolution: | → cantfix |
Status: | new → closed |
comment:2 by , 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 again for wrangling! :)
Note:
See TracTickets
for help on using tickets.
PluginIssue (AgiloForScrum).