Opened 6 years ago

Closed 6 years ago

#8482 closed defect (fixed)

Error: "KeyError: 'id'"

Reported by: Sebastián Zaffarano Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


  1. Click in the Forums tab
  2. Click in a Forum name to edit it
  3. Select a registered user from the list in combo
  4. Click the button "Edit subscribers"
  5. Got the error:
Traceback (most recent call last):
  File "/opt/trac/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/", line 444, in _dispatch_request
  File "/opt/trac/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 112, in process_request
    template, data = api.process_discussion(context)
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 259, in process_discussion
    self._do_actions(context, actions)
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 908, in _do_actions
    listener.forum_changed(context, forum,
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 64, in forum_changed
KeyError: 'id'

I use the last svn version (checkouted from I attached a patch file.

Attachments (2)

discussionplugin-r9840.patch (1.1 KB) - added by Sebastián Zaffarano 6 years ago.
tracdiscussion-r9877.patch (2.0 KB) - added by kpeo 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Sebastián Zaffarano

comment:1 Changed 6 years ago by Radek Bartoň

Status: newassigned

Thank you for the pactch.

Changed 6 years ago by kpeo

Attachment: tracdiscussion-r9877.patch added


comment:2 Changed 6 years ago by kpeo

Resolution: fixed
Status: assignedclosed

also errors like this occurs in topic changes, so tracdiscussion-r9877.patch (attached) works for me

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Radek Bartoň.
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.