[Pidgin] #10882: Yahoo avatars again

Pidgin trac at pidgin.im
Thu Dec 3 05:26:52 EST 2009


#10882: Yahoo avatars again
-------------------------------------+--------------------------------------
 Reporter:  andrixnet                |        Owner:  sulabh.dev         
     Type:  defect                   |       Status:  pending            
Milestone:                           |    Component:  Yahoo!/Yahoo! JAPAN
  Version:  2.6.4                    |   Resolution:                     
 Keywords:  Yahoo avatar buddy icon  |  
-------------------------------------+--------------------------------------
Changes (by andrixnet):

  * status:  pending => new


Comment:

 Replying to [comment:2 sulabh.dev]:
 > Replying to [comment:1 andrixnet]:
 > In case you are trying to check if the upload was actually successful,
 try the following url instead http://98.136.112.115/avatar.php?yids=<id>
 > replace <id> with your friend's id.
 All my avatars are 96x96 PNG8 or PNG24 (rarely) files.[[BR]]
 File sizes could be 3k, 10k, 22k, 27k ... [[BR]]
 They are all files that worked in Pidgin before and they all work with
 official Yahoo client. [[BR]]
 Also, I've tested about a dozen a few minutes ago, they are visible at the
 URL you told me, however not always, though the same image appears when
 set at one time and does not appear when set at some other time. [[BR]]
 I will attach a few example avatars.

 >
 > I would need more details to work out the problem. Exact steps to
 produce the bug would be ideal.
 This is simple.
  1. Log in (with no avatar set in account prefs, but it doesn't seem to
 matter)
  2. select an avatar. use a 96x96 PNG8 image.
  3. having myself in the list shows no avatar change.
  4. checking at the given URL shows the correct avatar.
  5. partner with yahoo client 8 sees no avatar for me.
  6. repeat steps 2-5 with other images. no change.

 Sometimes at step 5, Yahoo client shows the correct avatar in the buddy
 list, but not in conversation window and View->Contact's display image
 from menu is disabled.[[BR]]
 Haven't been able to determine a criteria for this behaviour.

 > In case you observe this issue with certain buddy icons only, you can
 specify dimensions and file size for the icon, or attach the icon to the
 ticket, so that I can reproduce the bug at my end.
 See attachment, but they all fall under "not working in pidgin at this
 time".

 > In case its not possible to provide the exact steps, or even otherwise,
 a full debug log and if possible packet capture would be needed.
 >
 Debug log follows, with the steps described above : (image not visibile at
 step 4). [[BR]]
 image is 24k

 {{{
 (12:22:14) win32placement: Window RECT: L:508 R:1032 T:281 B:708
 (12:22:14) win32placement: Working Area RECT: L:0 R:1024 T:0 B:740
 (12:22:14) win32placement: conversation window out of working area,
 relocating
 (12:22:14) win32placement: Relocation RECT: L:500 R:1024 T:281 B:708
 (12:22:17) util: Writing file prefs.xml to directory ~/.purple
 (12:22:17) util: Writing file ~/.purple\prefs.xml
 (12:22:18) yahoo: Calculated buddy icon checksum: 1765938594
 (12:22:18) dnsquery: Performing DNS lookup for filetransfer.msg.yahoo.com
 (12:22:18) prefs: /pidgin/accounts/buddyicon changed, scheduling save.
 (12:22:18) dnsquery: IP resolved for filetransfer.msg.yahoo.com
 (12:22:18) proxy: Attempting connection to 98.136.112.30
 (12:22:18) proxy: Connecting to filetransfer.msg.yahoo.com:80 with no
 proxy
 (12:22:18) proxy: Connection in progress
 (12:22:18) proxy: Connecting to filetransfer.msg.yahoo.com:80.
 (12:22:18) proxy: Connected to filetransfer.msg.yahoo.com:80.
 (12:22:18) yahoo: Buddy icon upload data:
 POST /notifyft HTTP/1.1

 User-Agent: Mozilla/5.0

 Cookie:
 T=z=1.4FLB1EOGLBElH2znBvUVvNDE1Bk8xMU42MU5PTw--&a=YAE&sk=DAAmI.m8.iAnuD&ks=EAALKye4iyin8qyf6Ku4yXohg--~C&d=c2wBTXpZeUFUZzJOamt4TmprNE9BLS0BYQFZQUUBZwFZVlVQWlZOWk9MTkJHRkxHMlVPMko2TzdBWQFvawFaVzAtAXp6ATEuNEZMQmdXQQF0aXABVng4TE5B;
 Y=v=1&n=1hoe9krsui6j8&l=0d3h8nd4j/o&p=m2cvvro013000000&jb=29|47|&iz=021691&r=73&lg
 =en-US&intl=us&np=1

 Host: filetransfer.msg.yahoo.com:80

 Content-Length: 24991

 Cache-Control: no-cache



 YMSG
 (12:22:18) yahoo: Finished uploading buddy icon.
 (12:22:20) yahoo: Buddy icon upload response (703) bytes (> ~400 indicates
 failure):
 HTTP/1.1 200 OK

 Date: Thu, 03 Dec 2009 10:21:36 GMT

 P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR
 ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi
 IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"

 cache-control: public,must-revalidate

 x-yahoo-msgr-imageurl:
 http://f36.yahoofs.com/msgr/CHRaGtpl_HtXfKUl3O6g6Q--/.friend_icon.png?msAKaGLBtVEkmfUB

 Vary: Accept-Encoding

 Connection: close

 Transfer-Encoding: chunked

 Content-Type: text/html; charset=utf-8



 9b

 command passed 194 status 0 vendor id 0 version 4096 sessionId 5648034<!--
 rdis105.msg.ac4.yahoo.com uncompressed/chunked Thu Dec  3 02:21:36 PST
 2009 -->


 0




 (12:22:20) yahoo: In yahoo_buddy_icon_upload_data_free()
 (12:22:20) yahoo: 172 bytes to read, rxlen is 192
 (12:22:20) yahoo: Yahoo Service: 0xc2 Status: 1
 (12:22:20) yahoo: 151 bytes to read, rxlen is 335
 (12:22:20) yahoo: Yahoo Service: 0xbd Status: 1
 (12:22:20) yahoo: 32 bytes to read, rxlen is 164
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 36 bytes to read, rxlen is 112
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 36 bytes to read, rxlen is 56
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 37 bytes to read, rxlen is 57
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 21 bytes to read, rxlen is 1024
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 0
 (12:22:20) yahoo: 22 bytes to read, rxlen is 983
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 0
 (12:22:20) yahoo: 25 bytes to read, rxlen is 941
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 0
 (12:22:20) yahoo: 25 bytes to read, rxlen is 896
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 0
 (12:22:20) yahoo: 24 bytes to read, rxlen is 851
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 0
 (12:22:20) yahoo: 24 bytes to read, rxlen is 807
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 0
 (12:22:20) yahoo: 20 bytes to read, rxlen is 763
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 0
 (12:22:20) yahoo: 164 bytes to read, rxlen is 723
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 1
 (12:22:20) yahoo: 164 bytes to read, rxlen is 539
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 1
 (12:22:20) yahoo: 163 bytes to read, rxlen is 355
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 1
 (12:22:20) yahoo: 164 bytes to read, rxlen is 172
 (12:22:20) yahoo: 164 bytes to read, rxlen is 1196
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 1
 (12:22:20) yahoo: 163 bytes to read, rxlen is 1012
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 1
 (12:22:20) yahoo: 163 bytes to read, rxlen is 829
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 1
 (12:22:20) yahoo: 22 bytes to read, rxlen is 646
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 0
 (12:22:20) yahoo: 164 bytes to read, rxlen is 604
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 1
 (12:22:20) yahoo: 23 bytes to read, rxlen is 420
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 0
 (12:22:20) yahoo: 163 bytes to read, rxlen is 377
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 1
 (12:22:20) yahoo: 164 bytes to read, rxlen is 194
 (12:22:20) yahoo: Yahoo Service: 0xc7 Status: 1
 (12:22:20) yahoo: 32 bytes to read, rxlen is 533
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 36 bytes to read, rxlen is 481
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 36 bytes to read, rxlen is 425
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 33 bytes to read, rxlen is 369
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 33 bytes to read, rxlen is 316
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 32 bytes to read, rxlen is 263
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 33 bytes to read, rxlen is 211
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 33 bytes to read, rxlen is 158
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 33 bytes to read, rxlen is 105
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:20) yahoo: 32 bytes to read, rxlen is 52
 (12:22:20) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 35 bytes to read, rxlen is 496
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 35 bytes to read, rxlen is 441
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 36 bytes to read, rxlen is 386
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 36 bytes to read, rxlen is 330
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 35 bytes to read, rxlen is 274
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 36 bytes to read, rxlen is 219
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 36 bytes to read, rxlen is 163
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 35 bytes to read, rxlen is 107
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 32 bytes to read, rxlen is 52
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 36 bytes to read, rxlen is 167
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 36 bytes to read, rxlen is 111
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 35 bytes to read, rxlen is 55
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:21) yahoo: 36 bytes to read, rxlen is 56
 (12:22:21) yahoo: Yahoo Service: 0xbe Status: 1
 (12:22:23) util: Writing file accounts.xml to directory ~/.purple
 (12:22:23) util: Writing file ~/.purple\accounts.xml
 (12:22:23) util: Writing file prefs.xml to directory ~/.purple
 (12:22:23) util: Writing file ~/.purple\prefs.xml
 }}}

 Another debug log, image not visible at step 4, image is 4k


 {{{
 (12:25:02) win32placement: Window RECT: L:508 R:1032 T:281 B:708
 (12:25:02) win32placement: Working Area RECT: L:0 R:1024 T:0 B:740
 (12:25:02) win32placement: conversation window out of working area,
 relocating
 (12:25:02) win32placement: Relocation RECT: L:500 R:1024 T:281 B:708
 (12:25:02) util: Writing file prefs.xml to directory ~/.purple
 (12:25:02) util: Writing file ~/.purple\prefs.xml
 (12:25:04) util: Writing file accounts.xml to directory ~/.purple
 (12:25:04) util: Writing file ~/.purple\accounts.xml
 (12:25:06) util: Writing file
 ~/.purple\icons\23b85a4bf13254ada5d9d3f3659f3e3d0f45a0eb.png
 (12:25:06) yahoo: Calculated buddy icon checksum: 27310722
 (12:25:06) dnsquery: Performing DNS lookup for filetransfer.msg.yahoo.com
 (12:25:06) prefs: /pidgin/accounts/buddyicon changed, scheduling save.
 (12:25:06) dnsquery: IP resolved for filetransfer.msg.yahoo.com
 (12:25:06) proxy: Attempting connection to 98.136.112.30
 (12:25:06) proxy: Connecting to filetransfer.msg.yahoo.com:80 with no
 proxy
 (12:25:06) proxy: Connection in progress
 (12:25:06) proxy: Connecting to filetransfer.msg.yahoo.com:80.
 (12:25:06) proxy: Connected to filetransfer.msg.yahoo.com:80.
 (12:25:06) yahoo: Buddy icon upload data:
 POST /notifyft HTTP/1.1

 User-Agent: Mozilla/5.0

 Cookie:
 T=z=1.4FLB1EOGLBElH2znBvUVvNDE1Bk8xMU42MU5PTw--&a=YAE&sk=DAAmI.m8.iAnuD&ks=EAALKye4iyin8qyf6Ku4yXohg--~C&d=c2wBTXpZeUFUZzJOamt4TmprNE9BLS0BYQFZQUUBZwFZVlVQWlZOWk9MTkJHRkxHMlVPMko2TzdBWQFvawFaVzAtAXp6ATEuNEZMQmdXQQF0aXABVng4TE5B;
 Y=v=1&n=1hoe9krsui6j8&l=0d3h8nd4j/o&p=m2cvvro013000000&jb=29|47|&iz=021691&r=73&lg
 =en-US&intl=us&np=1

 Host: filetransfer.msg.yahoo.com:80

 Content-Length: 4175

 Cache-Control: no-cache



 YMSG
 (12:25:06) yahoo: Finished uploading buddy icon.
 (12:25:07) yahoo: Buddy icon upload response (703) bytes (> ~400 indicates
 failure):
 HTTP/1.1 200 OK

 Date: Thu, 03 Dec 2009 10:24:24 GMT

 P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR
 ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi
 IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"

 cache-control: public,must-revalidate

 x-yahoo-msgr-imageurl:
 http://f36.yahoofs.com/msgr/CHRaGtpl_HtXfKUl3O6g6Q--/.friend_icon.png?msAKaGLBtVEkI5Xg

 Vary: Accept-Encoding

 Connection: close

 Transfer-Encoding: chunked

 Content-Type: text/html; charset=utf-8



 9b

 command passed 194 status 0 vendor id 0 version 4096 sessionId 5648034<!--
 rdis103.msg.ac4.yahoo.com uncompressed/chunked Thu Dec  3 02:24:24 PST
 2009 -->


 0




 (12:25:07) yahoo: In yahoo_buddy_icon_upload_data_free()
 (12:25:07) yahoo: 172 bytes to read, rxlen is 192
 (12:25:07) yahoo: Yahoo Service: 0xc2 Status: 1
 (12:25:07) yahoo: 152 bytes to read, rxlen is 336
 (12:25:07) yahoo: Yahoo Service: 0xbd Status: 1
 (12:25:07) yahoo: 33 bytes to read, rxlen is 164
 (12:25:07) yahoo: Yahoo Service: 0xbe Status: 1
 (12:25:07) yahoo: 35 bytes to read, rxlen is 111
 (12:25:07) yahoo: Yahoo Service: 0xbe Status: 1
 (12:25:07) yahoo: 36 bytes to read, rxlen is 56
 (12:25:07) yahoo: Yahoo Service: 0xbe Status: 1
 (12:25:07) yahoo: 38 bytes to read, rxlen is 58
 (12:25:07) yahoo: Yahoo Service: 0xbe Status: 1
 (12:25:11) util: Writing file accounts.xml to directory ~/.purple
 (12:25:11) util: Writing file ~/.purple\accounts.xml
 (12:25:11) util: Writing file prefs.xml to directory ~/.purple
 (12:25:11) util: Writing file ~/.purple\prefs.xml
 }}}
 Added this log because of the smaller number of responses after upload.

 Oddly, at the time of creatign the debug logs, I could not see the image
 at the URL in step 4. However, several minutes and a log-in earlier, all
 avatar changes were visible at that URL. [[BR]]
 Still, none of the changes were visible to buddies, regardless of step 4.

 ''I would like to add a packet log, if it helps, however, due to privacy I
 want to make it visible to developers only. Please instruct me how. Thank
 you.''

-- 
Ticket URL: <http://developer.pidgin.im/ticket/10882#comment:3>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list