AttributeError: Roster instance has no attribute '__setitem__'
Bug description
When trying to set the status of the "local" account to online, a dialog pops up with a Python error message regarding a missing attribute in a Roster instance. After closing the dialog, Gajim continues running, but the "local" account does not go online.
Python traceback:
Traceback (most recent call last): File "gajim.py", line 3190, in autoconnect message = self.roster.get_status_message(show, on_message) File "/usr/share/gajim/src/roster_window.py", line 2188, in get_status_message on_response('', empty_pep) File "gajim.py", line 3187, in on_message self.roster.send_status(a, show, message) File "/usr/share/gajim/src/roster_window.py", line 2003, in send_status self.send_status_continue(account, status, txt, auto, to) File "/usr/share/gajim/src/roster_window.py", line 2053, in send_status_continue gajim.connections[account].change_status(status, txt, auto) File "/usr/share/gajim/src/common/zeroconf/connection_zeroconf.py", line 324, in change_status if not self.connect(show, msg): File "/usr/share/gajim/src/common/zeroconf/connection_zeroconf.py", line 270, in connect self.dispatch('ROSTER', self.roster) File "/usr/share/gajim/src/common/zeroconf/connection_zeroconf.py", line 140, in dispatch gajim.interface.dispatch(event, self.name, data) File "gajim.py", line 2399, in dispatch self.handlersevent File "gajim.py", line 503, in handle_event_roster self.roster.fill_contacts_and_groups_dicts(data, account) File "/usr/share/gajim/src/roster_window.py", line 1778, in fill_contacts_and_groups_dicts 'groups': ['self_contact'], 'subscription': 'both', 'ask': 'none'} AttributeError: Roster instance has no attribute 'setitem'
Steps to reproduce
- Set up some funny value in the advanced configuration (I do not know which value triggers the behavior).
- Restart Gajim.
- If needed, try to set the status of the "local" account to "online".
Software versions
OS version: Debian squeeze amd64 GTK version: 2.20.1-2 PyGTK version: 2.17.0-4