Modify ↓
      
Opened 16 years ago
Closed 16 years ago
#8959 closed defect (cantfix)
AttributeError: 'NoneType' object has no attribute 'name'
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11.5 | 
| Severity: | normal | Keywords: | |
| Cc: | 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.1.7) Gecko/20091221 Firefox/3.5.7
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 
 | 
| Subversion |  1.5.6 (r36142) 
 | 
| jQuery: |  1.2.6 
 | 
Python Traceback
Traceback (most recent call last):
  File "E:\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 444, in _dispatch_request
    dispatcher.dispatch(req)
  File "E:\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 "E:\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 "E:\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 "E:\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 "E:\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 "E:\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 "E:\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)
  Note:
 See   TracTickets
 for help on using tickets.
    


  
Problem found
because of no team assign in current Sprint