offline contacts appearing in roster
Bug description
two tracebacks, 3 times each, while idle: Traceback (most recent call last): File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 497, in _process_events return IdleQueue._process_events(self, fd, flags) File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 367, in _process_events obj.pollin() File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 391, in pollin self._do_receive() File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 571, in _do_receive self._on_receive(received) File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 583, in _on_receive self.on_receive(data) File "/usr/share/gajim/src/common/xmpp/dispatcher_nb.py", line 445, in dispatch handler'func' File "/usr/share/gajim/src/common/connection_handlers.py", line 2509, in _presenceCB keyID, timestamp, contact_nickname)) File "/usr/share/gajim/src/common/connection.py", line 199, in dispatch gajim.interface.dispatch(event, self.name, data) File "gajim.py", line 2478, in dispatch self.handlersevent File "gajim.py", line 853, in handle_event_notify account) File "/usr/share/gajim/src/roster_window.py", line 2100, in chg_contact_status self.adjust_and_draw_contact_context(contact.jid, account) File "/usr/share/gajim/src/roster_window.py", line 1388, in adjust_and_draw_contact_context self.draw_contact(jid, account) File "/usr/share/gajim/src/roster_window.py", line 1275, in draw_contact self.draw_parent_contact(jid, account) File "/usr/share/gajim/src/roster_window.py", line 1118, in draw_parent_contact self.draw_contact(parent_jid, parent_account) File "/usr/share/gajim/src/roster_window.py", line 1237, in draw_contact if not self.tree.row_expanded(path) and icon_name != 'event': TypeError: could not convert path to a GtkTreePath
and
Traceback (most recent call last): File "/usr/share/gajim/src/roster_window.py", line 977, in remove_to_be_removed self._recalibrate_metacontact_family(family, account) File "/usr/share/gajim/src/roster_window.py", line 587, in _recalibrate_metacontact_family self.draw_completely(c.jid, acc) File "/usr/share/gajim/src/roster_window.py", line 1369, in draw_completely self.draw_contact(jid, account) File "/usr/share/gajim/src/roster_window.py", line 1237, in draw_contact if not self.tree.row_expanded(path) and icon_name != 'event': TypeError: could not convert path to a GtkTreePath
and there are three contacts in my roster that are offline but appear anyway.
Steps to reproduce
it happens when idling, more than that, I don't know. I assume it probably happens when the contact's status changes, probably when they go offline?
Software versions
OS version:Ubuntu 9.10
GTK version: 2.18.3
PyGTK version: 2.16.0