Ticket #10513 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

TypeError: 'NoneType' object does not support item assignment

Reported by: crossroad Assigned to: 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

Change History

10/20/12 17:58:19 changed by crossroad

  • cc set to falkb, thomasd.

10/22/12 14:27:22 changed by falkb

  • owner changed from crossroad to falkb.
  • status changed from new to assigned.

10/22/12 14:34:47 changed by falkb

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

10/22/12 14:35:32 changed by falkb

Could you please test if it works now?

10/22/12 17:53:36 changed by crossroad

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

10/22/12 17:53:50 changed by crossroad

  • status changed from assigned to closed.
  • resolution set to fixed.

11/14/12 14:09:33 changed 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/Change #10513 (TypeError: 'NoneType' object does not support item assignment)




Change Properties
Action