Hi John,

This was a bit of a mystery to me as well.  (seeing all of the 0  
length icons showing up)  All I can figure is that the buddy icon  
server is "a tad flaky".  My guess was that other clients do this  
better by trying multiple times until they get it.  My code currently  
only tries once per announcement.

Now, the way I was aware of previously to find icons is that you  
would receive an extended status notification with the icon hash.  At  
the time it didn't dawn on me that there might be another way.

Then, yesterday, I was talking with some folk in the pytransports  
chat room and in the process discovered that there are icon  
notifications attached to sending messages as well.  (there's a "I  
have an icon" flag and a "i want your icon" flag)  Cute, huh?  =)   
Anyway, I need to implement that as well.

So... I guess I would call the avatar support as "partial" right  
now.  I also would like to start sending the icon on to the jabber  
user "as is" instead of converting it.  Otherwise things like  
animated gifs will never get through.

On a related note, I tried out the latest gaim (2.0 series) and  
something interesting occured.  Namely, I was able to see other's  
Jabber icons but not if they were through pyaim.  I'm got distracted  
while researching how the new gaim is handling icons, but I thought  
it interesting that the py's and gaim 2.* weren't getting along in  
that respect.  =)  Will post more when I check it out.

Daniel



On Jan 5, 2006, at 4:50 PM, John Laur wrote:

> Is there something obvious that I am missing with getting AIM buddy
> icon/Jabber Avatar support going properly in 0.7b? I have python- 
> imaging
> installed, but only a few of the contacts on my AIM buddy list have  
> icons
> that show up properly. The rest all have a generic icon (The AIM  
> guy with
> the jabber light bulbs icon). The icons for these contacts appear  
> fine using
> gaim, trillian, etc.
>
> Sorry for the generic question with no debugging info. I ran with - 
> d and -D
> to see if I could find anything. It appears the icons are being  
> requested
> but some are returning len 0.. Maybe the requests are being sent at  
> times
> when clients will refuse to send icons?
>
> Thanks for any suggestions,
>
> John Laur
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
>

Reply via email to