Not logged in. · Lost password · Register
Forum: Community Pre-release Discussion RSS
Psi 0.12 - Avatar problems
SVN from 17 March 2008

Announcement

11-16-2005, 12:33 by halr9000
Subject: Psi Groupchat (new address)
Join us at the Psi Groupchat (MUC)! Room name: psi@conference.psi-im.org
Avatar
Coolcat #1
Member since 05/2007 · 40 posts · Location: NRW, Germany, Europe
Group memberships: Members
Show profile · Link to this post
Subject: Psi 0.12 - Avatar problems
Just compiled the 0.12 from SVN (today) and it works great! :)
But if have weird a problem with the avatars:

I have two accounts and have an mutual subscription between both accounts. Instead of my own picture for this contacts I see the picture of one of my contacts!?

Other people see the correct picture, so I assume this some kind of local caching problem.
I had installed 0.11 before and had now updated to 0.12.

Maybe I should try to delete the cached avatars in /home/coolcat/.psi/avatars ?

Coolcat

(Using Fedora 7 Linux, qt 4.3.3)
This post was edited on 03-17-2008, 19:03 by Coolcat.
Avatar
Coolcat #2
Member since 05/2007 · 40 posts · Location: NRW, Germany, Europe
Group memberships: Members
Show profile · Link to this post
I moved the content of /home/coolcat/.psi/avatars to an backup directory.That solved the problem.

Maybe this was some kind of hash collision? My own avatar thats now in this directory has the same filename than the avatar of my contact had before moving.

Some of the avatars where multiple times in the backup directory. One of them is 14 times there....

[coolcat@sempron2800 psi-avatar]$ md5sum * | sort
000cec880a965f9c2336fd523b1372a6  da4496552b4235cefa3f7894847231aed6a5c2ea
00c9951a64b0fd604f4030be1a44bbac  489a86dff50f1a5f8cc1bd068395618a93453183
0a20bd2c462672c475268da65b7cfb51  9552b92e8e633bad46c25622174c24c80641e5f6
0bc444912a24a175bb41735b8c6249d5  5041b2909a60ad183041c5be2fa8502c23bdc1ac
0dc4da21354c20d1aafec755836d3987  4c0d3c56a89e2a71ecf432d7dd58e269437a622f
0f387111df3e1e6b56cd8919e85afe43  f1df81acb2d5470294a01da45aa1d88bf29541ad
10cd6f84a4e7551c46cca49fa74da895  fc3c2d16f39de9a3441ccb22630cab646a3e7d80
18207ad8ba0ee926f3e29472d1e2da35  71f32193e8820650af71a4402da28dbd0eff426d
2915ee472b637d9b5a443100434df68e  a1a8ac8583588c1f0dc340f7a37164f7f4b8e0e6
2efd5270d152ed7f029fbc7208460440  7fd3da88cf8dd2c653b1d0eb22d80f19cd66bae4
30ad002d04cecb2f790e3116cda0171f  ffdd382a90b6c153bc8e67c83ebf2a2d52d34e90
3795ced7b593c1d7835b553d69784aef  6fc29b03b670f06b91898170e99708d5b11879f3
4287d1304acdca453fadeae8d450c5e0  927e305a9e48220c88fe4aee691e44a25542301a
4287d1304acdca453fadeae8d450c5e0  dfedca0c2f77a1c158b0f6a317ac50614513b9d2
4287d1304acdca453fadeae8d450c5e0  f8fff73e285175068c97bac8a47217533f8058ff
42ca01300b79e7fd78df29974a696cb9  36a34069c0ebba108707eb82576a6ded4f4ce55b
5035507a68662839247b580c7882fc00  d9f410daf0c7b87301531ce503202c5760fcee62
5ab024bd269b267ea2858b92382269e0  ad6a33d63769da6321c1c1ef7ce4c7811088b932
6f149f058d73bdf6e7c07b82f504f25d  4828144c492e277ca04a737ee08f62edb0591b5b
78707c3d3489a5393f3901eecaeceff2  0d6fb032473e2a149c5286f2cdd081bdcae95040
7aae4577b8b987e3b1de312c40880368  28689ffd2c84e34449500e65825efbfe07181bf3
834a98e38003c81659d44865f97d07e9  9a9daf48824e2da088a085ae512a2e0377367e18
8e1cdf3ca5954f3f82463383f93dff3d  8aca935c63e044f553ffb38679411312f4ed93d7
9d4adb7f8715f4b97841b6aa10d99617  d79baa7e4d7fd46d077e98e2f690c3958fb03b95
9d66dc7eaded3f3d453c49b46cca4243  c85059b6bce6a9c46a2b49c65a0ea002ef2cbbea
9f9a9cb71bebb3f4c8bd1e8623bd9c6f  c0f7425116bf0b090b36cceecb112b4af0797dcc
a2100ece57bb890c0632494873a01960  c1b38d559781681da23f1cf1885f9f588f459328
a7fcf84d7e8c218fdc69c1adcc3fadae  803fbab82b86e63bf7a753c616bd6c28ac659f58
aadcb9d0d0ca8491d2a8b535b8135b1e  5248ab7f0c7b1ed9ae99c21d6247ef5a28af5117
aadcb9d0d0ca8491d2a8b535b8135b1e  853340481862d8ea82af3e4e726893fa4e871052
aadcb9d0d0ca8491d2a8b535b8135b1e  a8c7b8c4d4efc960240dbd40497cf941c6dd2806
aadcb9d0d0ca8491d2a8b535b8135b1e  a95d11279376cd09493be22effa80972ae836f0a
aadcb9d0d0ca8491d2a8b535b8135b1e  de56254ed3853912e2aec5b177619c447062bac3
aadcb9d0d0ca8491d2a8b535b8135b1e  e94db0da7a929a821529d9486d54ea3269ec429f
b00bd301d9cc50373aa06d01c7b2f79e  9618052eee4247b471fbaf6f8316237038cc8083
b4fa4295c85c20ebf4a4b1b1f2ca03ab  71fb580c17e54789ded4577032276aa637ca6542
be2d6ede8e63f2c30d04e44c26de3eeb  2f1d8ac5de27c7bbc34c5a378cb2219ac3d2f89f
cb7ba7a9f04b41be04c56e9e9c26402d  36aa4579c96c1f15b3f9ec2831d92c788a053294
cf3509994de023027e5c4bc750f914f1  22855acc5e5116d68cfb75f2a79d3c6e32773187
d3d2d3eee6ffe2a52e4b0ebb397bda93  9fdf06c183b1b366583a5d0998641e62da94d7a1
d41d8cd98f00b204e9800998ecf8427e  013ab8ed3bf202b38c33158e69a1eba6b45bc743
d41d8cd98f00b204e9800998ecf8427e  44f48094b72cea2b724257c211ee08debb6d1a1e
d41d8cd98f00b204e9800998ecf8427e  5acdb871a1195f042486952d8efe543d602e7ac0
d41d8cd98f00b204e9800998ecf8427e  617cb16814d0016db7255fe0edde2595a106be15
d41d8cd98f00b204e9800998ecf8427e  82e71436628220c7c1a1727c09c93351fc191753
d41d8cd98f00b204e9800998ecf8427e  87f6ef4ce4b76c0a5c3050e32df64760cfabf312
d41d8cd98f00b204e9800998ecf8427e  88f46e2ac51d7c40fbbb876de9bcf1fd2fc20fc2
d41d8cd98f00b204e9800998ecf8427e  a38c8465538c4601abb3e09b803dd3acb6a4a9bc
d41d8cd98f00b204e9800998ecf8427e  b56ce6de948cd7000c6f331312d9a6c8939f87ce
d41d8cd98f00b204e9800998ecf8427e  c961d63346c36bebfff9d630f5277cf5c59bd7e8
d41d8cd98f00b204e9800998ecf8427e  d9a5b015094a94b1da18b7421f315affdce90f72
d41d8cd98f00b204e9800998ecf8427e  db947afb91f1dfa5c91f3d534fa17c9c49621cce
d41d8cd98f00b204e9800998ecf8427e  dc7405341f36b65d3fd27788bc65886e8aec08d7
d41d8cd98f00b204e9800998ecf8427e  f636030118f3510336c92369d612d0e8dbf51a85
dd8c6cacc0a1de8fe17812ef5bf533a4  0d0b0d153a96b5b3049beb902daca648a63443db
de28e382cb0909944905a8147daeb5e9  b9d629afd8879349c9d6269752825644b0d4feed
df493ed4003ec0e249396f50bc5a71eb  082d56e83090b5f17082f51113662db715592fec
e0fdd598afc5bcf8cf6b1770b6ee7b1b  f29b3f8b8d9f2ea1075059f3d0370985346aac94
e13070afc2fe71e9ab4182e6e354d063  acad519b7c295ce0528bb2542389fce23aee1dee
e52f3040ba2e9b1233c6c220a290e1fa  c2114a0185c5e1cd0ede6d9c7220a617eebc4c69
e585cc17214f1e9bfe4d4748a8788f24  e25b496d075cd76623e792133b50986fd15887c7
e9b592ecfbc98cd0fcb06d00c3ace536  57ceb9f09e595a11d119e07f53147990f4eb20f4
e9d2c4efd4bbc88a37168994b12f52ef  6c078c7997e21c3ce369421115d1271eea9e55d6
ee2fff1849055fa64e6f85768c028b76  6f8d61ccb81619cce85ad9e0f1e7aa19179a7fc6
f0b8570b1668d8ba2608f45e34739431  11728f12a0432198e1a62b938283fb2434b98789
f3fb22f45749a4ebfc96525be08a401f  bbb48f753444a20f269431592c8ed55d9f75eeb6
f4693667fece50c8ec00879015fd1ce1  de59ba6341d5ae5ad763c5ac670c751c433572f8
f8d13db7425f8003bc6a353e753ca70b  bbc06e55e9772e87fabf06e330ba72cbae56715d
fcbd23b379821afc7ebcf0c324dfbd42  91957f5f8c36ecf2aee1db97794a8eca2e94b373
[coolcat@sempron2800 psi-avatar]$

I don't know if this is a bug of 0.11 or 0.12, but something is wrong here ;)
Avatar
spike (Administrator) #3
Member since 02/2003 · 1902 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Psi stores the avatar based on the sum it gets from the client. When filenames differ, this means that the avatar probably came from different clients (and/or gateways), which generate a different hash for the same data. In theory, this should not happen, but with misinterpretations of the spec by clients, this may happen.

We should keep a log of which avatars came from where, and also clear the cache regularly.
- Remko
This post was edited on 03-18-2008, 11:58 by spike.
Close Smaller – Larger + Reply to this post:
Smilies: :mellow: :huh: ^_^ :o ;) :P :D :lol: B) :rolleyes: -_- <_< :) :wub: :angry: :( :unsure: :wacko: :blink: :ph34r:
Special characters:
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 10-11-2008, 22:27:48 (UTC -04:00)