Hi all,
We have pyAIM 0.8a working reliably with our ejabberd server, but have
one remaining bug -- when a user imports an AIM account into their
roster, pyAIM hits the following error while attempting to retrieve
the buddy icon from the AIM server (note that some of these are debug
messages I've added myself, not in the standard source:)
----------------------
[2008-09-04 21:04:44] sendSNAC: about to enqueue snac fam=1, sub=4,
reqid=20, data='\x00\x10',
snac='\x00\x01\x00\x04\x00\x00\x00\x00\x00\x14\x00\x10'
... a bit later ...
[2008-09-04 21:04:46] ERROR IN DEFERRED [Failure instance: Traceback
(failure with no frames): <type 'list'>: [1, 1, 128, 0, 22L, '\x00\r']
]
[2008-09-04 21:04:46] on sending of message, family 0x01, subtype 0x04
[2008-09-04 21:04:46] data: '\x00\x10'
[2008-09-04 21:04:46] Connection Failed! <legacy.aimt.B instance at
0xbe41b8>
----------------------
I've traced the error down to the connectService() call made in src/
tlib/oscar.py. The SNAC it's attempting to send looks valid, but as
you can see the transport indicated "connection failed."
This error only seems to occur during the initial roster import, and
then only if the buddy list has more than one buddy. I've tried
adding an artificial delay to the loop that sends packets to AIM (in
case it's a rate issue) but that hasn't helped. Note that if a buddy
changes their avatar while they're already in the roster that the
image appears as expected in our client.
Is anybody else out there successfully using AIM avatars? Any ideas
on what our problem might be, or how to track down what's causing the
connection to bomb out?
Thanks,
John Berry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"py-transports" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/py-transports?hl=en
-~----------~----~----~----~------~----~------~--~---