#9099 closed defect (cantfix)
AttributeError: 'NoneType' object has no attribute 'name'
| Reported by: | dmedina | 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 /oldbacklog/Sprint Backlog/Piloto 1, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'name': u'Sprint Backlog', 'scope': u'Piloto 1'}
User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; es-ES; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7
System Information
| Trac | 0.11.6
|
| Python | 2.6.4rc2 (r264rc2:75497, Oct 20 2009, 03:10:19) [GCC 4.4.1]
|
| setuptools | 0.6c9
|
| SQLite | 3.6.16
|
| pysqlite | 2.4.1
|
| Genshi | 0.5.1
|
| mod_python | 3.3.1
|
| Agilo | 1.2.1-PRO
|
| Subversion | 1.6.5 (r38866)
|
| jQuery: | 1.3.2
|
Python Traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/web/main.py", line 450, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/web/main.py", line 206, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/api/view.py", line 155, in process_request
return self._call_filters_and_handler(req, handler)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/api/view.py", line 143, in _call_filters_and_handler
data = handler(req) or {}
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/scrum/backlog/web_ui.py", line 812, in do_get
self._do_show(req, data, backlog)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/scrum/backlog/web_ui.py", line 474, in _do_show
chart_widgets = self._load_chart_widgets(req, backlog)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/scrum/backlog/web_ui.py", line 387, in _load_chart_widgets
filter_by=filter_by)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/charts/chart_generator.py", line 135, in get_chartwidget
new_widget = self._get_widget(name, kwargs, use_cache)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/charts/chart_generator.py", line 110, in _get_widget
new_widget = generator.generate_widget(name, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/scrum/sprint/charts/resource_assignment_piechart.py", line 42, in generate_widget
resource_widget.populate_with_sprint_data(sprint_name)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.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/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/api/controller.py", line 333, in process_command
return command.execute(self, date_converter, as_key)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/api/controller.py", line 286, in execute
return self._execute(controller, date_converter, as_key)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.egg/agilo/scrum/sprint/controller.py", line 926, in _execute
sp_controller)
File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.2.1_PRO-py2.6.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 (3)
comment:1 by , 16 years ago
| Cc: | added |
|---|---|
| Resolution: | → cantfix |
| Status: | new → closed |
comment:2 by , 16 years ago
@reporter: Could you please join our google group to help us reproduce this issue? (For details please see AgiloForScrum) Thanks!
@cboos: Thanks! :)
comment:3 by , 16 years ago
Thanks, I solved my problem assigning a team to the sprint. The error it the error message.
I set this info in ticket https://dev.agile42.com/ticket/1069 in agilo's team trac.



Sorry, this is an AgiloForScrum issue.