Modify

Opened 22 months ago

Closed 22 months ago

Last modified 21 months ago

#10513 closed defect (fixed)

TypeError: 'NoneType' object does not support item assignment

Reported by: crossroad 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 22 months ago by crossroad

  • Cc falkb thomasd added

comment:2 Changed 22 months ago by falkb

  • Owner changed from crossroad to falkb
  • Status changed from new to assigned

comment:3 Changed 22 months ago by falkb

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

comment:4 Changed 22 months ago by falkb

Could you please test if it works now?

comment:5 Changed 22 months ago by crossroad

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

comment:6 Changed 22 months ago by crossroad

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:7 Changed 21 months 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')

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from falkb. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.