Skyperious icon indicating copy to clipboard operation
Skyperious copied to clipboard

Skyperious doesn't load some profile images

Open PixlRainbow opened this issue 8 months ago • 10 comments

All my contacts were synced from Online. For whatever reason, half of them have profile images, but the other half do not. There are no errors reported in the Skyperious log. For the contacts with missing profile images, if I manually call db.live.skype.contacts.contact('<user id>').avatar in the python shell and then paste the returned URL in an incognito browser window, I am able to load the profile image.

PixlRainbow avatar Apr 29 '25 16:04 PixlRainbow

Can you execute the following statement in the SQL window:

SELECT skypename, length(avatar_image), avatar_image FROM Contacts

What does it report as length for the contacts where avatar is missing?

suurjaak avatar Apr 29 '25 17:04 suurjaak

When I run the query, some of the profiles with missing images return a length of ~5k-6k and then the profile image suddenly starts working when I switch back to the contacts view. For the rest, the query returns a null length.

PixlRainbow avatar Apr 29 '25 18:04 PixlRainbow

Is loading avatars also affected by API rate limits?

PixlRainbow avatar Apr 30 '25 12:04 PixlRainbow

When I run the query, some of the profiles with missing images return a length of ~5k-6k and then the profile image suddenly starts working when I switch back to the contacts view.

That is truly bizarre. These two functionalities are completely unrelated. Does this happen every time you run the program?

What is the result regarding avatars if you export all contacts as HTML?

Is loading avatars also affected by API rate limits?

I am not sure.

suurjaak avatar Apr 30 '25 15:04 suurjaak

Does this happen every time you run the program?

No, it seems intermittent.

What is the result regarding avatars if you export all contacts as HTML?

The contacts with missing avatars (but valid avatar URLs) will just show the placeholder avatar image.

PixlRainbow avatar Apr 30 '25 18:04 PixlRainbow

No, it seems intermittent.

Can you send me the database content of the avatar of one such contact? E.g. run this query in the SQL window and export the result as an SQL file:

SELECT avatar_image FROM Contacts WHERE skypename = '<user id>';

The contacts with missing avatars (but valid avatar URLs) will just show the placeholder avatar image.

What about those contacts where the avatar did not work in-program until you ran the query?

Sorry, I misunderstood one question earlier - downloading avatar images is affected by API rate limits.

suurjaak avatar May 01 '25 18:05 suurjaak

This is the result exported as an sql file; I have removed personally identifying information such as usernames.

-- SQL query.
-- Source: /home/<me>/Documents/skype/from_export/<my skype>.main.db.
-- Exported with Skyperious on 03.05.2025 01:24.
-- SQL: SELECT avatar_image FROM Contacts WHERE skypename = '<user id>';
CREATE TABLE results (avatar_image)

INSERT INTO results (avatar_image) VALUES (NULL);

PixlRainbow avatar May 02 '25 17:05 PixlRainbow

The export I had in mind was for such a contact:

some of the profiles with missing images return a length of ~5k-6k and then the profile image suddenly starts working when I switch back to the contacts view

suurjaak avatar May 02 '25 21:05 suurjaak

The export I had in mind was for such a contact

export.sql.txt

Noted, attached. Note that I haven't been able to observe such behaviour for a while now, though other contacts with missing images are still present.

PixlRainbow avatar May 04 '25 15:05 PixlRainbow

Very odd, there is nothing wrong with this image.

As for contacts missing avatars altogether - what happens if you re-sync from online?

suurjaak avatar May 05 '25 13:05 suurjaak