Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10513 closed defect (fixed)

TypeError: 'NoneType' object does not support item assignment

Reported by: Christopher Paredes Owned by: falkb
Priority: normal Component: SimpleMultiProjectPlugin
Severity: normal Keywords:
Cc: falkb, thomasd Trac Release: 0.12

Description

Since the plugin active, began to appear the following errors in the debug log trac:

0.11.7 and 0.12.5 happens in

Trac[main] ERROR: Exception caught while post-processing request: 
Traceback (most recent call last):
  File "/usr/local/trac-0.12dev/lib/python2.7/site-packages/Trac-0.12.5dev_r11401-py2.7.egg/trac/web/main.py", line 276, in dispatch
    self._post_process_request(req)
  File "/usr/local/trac-0.12dev/lib/python2.7/site-packages/Trac-0.12.5dev_r11401-py2.7.egg/trac/web/main.py", line 365, in _post_process_request
    f.post_process_request(req, *(None,)*extra_arg_count)
  File "/usr/local/lib/python2.7/dist-packages/SimpleMultiProject-0.0.3dev_r12068-py2.7.egg/simplemultiproject/roadmap.py", line 59, in post_process_request
    data['infodivclass'] = 'info trac-progress'
TypeError: 'NoneType' object does not support item assignment

Attachments (0)

Change History (7)

comment:1 Changed 11 years ago by Christopher Paredes

Cc: falkb thomasd added; anonymous removed

comment:2 Changed 11 years ago by falkb

Owner: changed from Christopher Paredes to falkb
Status: newassigned

comment:3 Changed 11 years ago by falkb

(In [12236]) corrected [12068] (refs #10513)

comment:4 Changed 11 years ago by falkb

Could you please test if it works now?

comment:5 Changed 11 years ago by Christopher Paredes

Hello falkb indentation was indeed the problem, that solves it thanks

comment:6 Changed 11 years ago by Christopher Paredes

Resolution: fixed
Status: assignedclosed

comment:7 Changed 11 years ago by falkb

(In [12347]) replace [12236] which was a fix of [12068], now I hope it's finally fixed (refs #10513, seen misbehaviour: roadmap progress bars appeared with width=0 in case of filter_projects='All')

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain falkb.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.