Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9181 closed defect (cantfix)

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

Reported by: mandrado@… 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; pt-BR; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2

System Information

Trac 0.11.5
Python 2.4.2 (#1, Sep 25 2007, 16:14:01)
[GCC 4.1.2 20070115 (prerelease) (SUSE Linux)]
setuptools 0.6c9
SQLite 3.3.17
pysqlite 1.1.8
Genshi 0.5.1
mod_python < 3.2
Pygments 1.0
Agilo 0.8.4.1-r2322-20100129
FullBlog 0.1.1
Subversion 1.6.5 (r38866)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib64/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py", line 444, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib64/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib64/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/scrum/backlog/dashboard.py", line 101, in process_request
  File "/usr/local/lib64/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/scrum/backlog/dashboard.py", line 76, in _add_charts_to_template_data
  File "/usr/local/lib64/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/charts/chart_generator.py", line 135, in get_chartwidget
  File "/usr/local/lib64/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/charts/chart_generator.py", line 110, in _get_widget
  File "/usr/local/lib64/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/scrum/sprint/charts/resource_assignment_piechart.py", line 42, in generate_widget
  File "/usr/local/lib64/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/scrum/sprint/charts/resource_assignment_piechart.py", line 70, in populate_with_sprint_data
  File "/usr/local/lib64/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/api/controller.py", line 333, in process_command
  File "/usr/local/lib64/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/api/controller.py", line 286, in execute
  File "/usr/local/lib64/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/scrum/sprint/controller.py", line 926, in _execute
  File "/usr/local/lib64/python2.4/site-packages/agilo-0.8.4.1_r2322_20100129-py2.4.egg/agilo/scrum/sprint/controller.py", line 881, in get_load_series_for_interval
AttributeError: 'NoneType' object has no attribute 'name'

Attachments (0)

Change History (5)

comment:1 by Remy Blank, 15 years ago

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

comment:2 by Felix Schwarz <felix.schwarz@…>, 15 years ago

Thanks for reporting, this will be fixed in our next release.

comment:3 by Mandrado Santos <mandrado@…>, 15 years ago

Please there is a workaround?

comment:4 by Martin Häcker <martin.haecker@…>, 15 years ago

@reporter: Please feel free to subscribe to our google group where we handle all agilo related support. For more details please see AgiloForScrum.

As first check: this is probably a problem of the values configured for a sprint, so you could start by ensuring that the sprint name is simple (no special characters in it) and that you re-set the start and end time manually, to make sure that the database has good values for these.

Regards, Martin

p.s.: and thanks to rblank for the headsup! :)

comment:5 by Mandrado Santos <mandrado@…>, 15 years ago

Dear Martin,

Thank you, really had put special character in the name of the sprint (Sprint # 1), was sufficient to remove the "#" that the error did not occur when you click Drashboard.

Now I can re-submit the AgiloForScrum for our team.

Success!

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.