Issue 35: KeyError when Jabber Roster and ICQ contact list differ
Status:  WontFix
Owner: ----
Closed:  Dec 2008
Reported by jadest...@gmail.com, Dec 9, 2007
Posted by shtrom at 2006-06-26 07:43:16

I used to receive KeyErrors from the transport (0.7b). I tracked this down to
the updateNickname(self, contact, nick) line 164 in legacy/legacylist.py.
As far
as I understood the problem, it was due to some ICQ contacts in my Jabber
roster
not being present in my ICQ buddy list (for whatever reason I still don't
understand). Aside from never appearing as online, whenever one of these
contacts IM'd me, PyICQt would quickly raise a KeyError trying to find this
contact in self.xdbcontacts (which seems to be built up from the ICQ buddy
list).

I think a way to fix this would be to build the self.xdbcontacts as before, and
then, for every ICQ contact in the roster not in this list, issue an
authorization request. I'm not fluent enough in Python to do this by myself.

This error would take the whole transport down (for other users too), even
if it
didn't exit. It was necessary to restart it every time this happened. Maybe
some
kind of method, either to definitely quit, or fix the problem, would be neat
too.
Dec 12, 2008
Project Member #1 r000ns...@gmail.com
(No comment was entered for this change.)
Status: WontFix
Owner: ---