Bug 371834 - mediaframe: fails to use some remote images
Summary: mediaframe: fails to use some remote images
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Media Frame (show other bugs)
Version: 5.8.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-29 17:48 UTC by Luiz Angelo De Luca
Modified: 2020-01-02 15:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Angelo De Luca 2016-10-29 17:48:33 UTC
Hello,

Using this config on plasmawindowed:

pathList={"path":"https://media.giphy.com/media/AsnwZm3ttHnFu/giphy.gif"\\,"type":"file"},{"path":"https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Dore-munchausen-illustration.jpg/100px-Dore-munchausen-illustration.jpg"\\,"type":"file"}

Bart is shown when applet is opened. Afterwards, it is gone.

This is the log I got:

Adding "https://media.giphy.com/media/AsnwZm3ttHnFu/giphy.gif" as remote file
Can't watch remote file "https://media.giphy.com/media/AsnwZm3ttHnFu/giphy.gif" for changes
Adding "https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Dore-munchausen-illustration.jpg/100px-Dore-munchausen-illustration.jpg" as remote file
"https://media.giphy.com/media/AsnwZm3ttHnFu/giphy.gif" doesn't exist locally, trying remote.
Saving download to "/tmp/85c4b8cb41a134953327dccce74c3712_giphy.gif"
Saved to "/tmp/85c4b8cb41a134953327dccce74c3712_giphy.gif"
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediaframe/contents/ui/main.qml:179:13: QML Image: Cannot open: file:///tmp/85c4b8cb41a134953327dccce74c3712_giphy.gif
Can't watch remote file "/tmp/85c4b8cb41a134953327dccce74c3712_giphy.gif" for changes
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediaframe/contents/ui/main.qml:195:13: QML Image: Cannot open: file:///tmp/85c4b8cb41a134953327dccce74c3712_giphy.gif
Resetting next count from 2 due to queue size 1
"https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Dore-munchausen-illustration.jpg/100px-Dore-munchausen-illustration.jpg" is cached as "/tmp/bed0fd620241aa9d40f2b99fe2736ace_100px-Dore-munchausen-illustration.jpg"

The file is really gone from /tmp/85c4b8cb41a134953327dccce74c3712_giphy.gif. It seems that it could not save the cache file, but it believed that it did.
Comment 1 Luiz Angelo De Luca 2016-10-29 17:53:53 UTC
BTW, with https://git.reviewboard.kde.org/r/129227/, the same image can generate a segfault. This might give some hint about the problem.
Comment 2 Nate Graham 2020-01-02 15:27:44 UTC
Seems to work perfectly for me now with that remote image even after restarting plasmashell.
Comment 3 Nate Graham 2020-01-02 15:28:27 UTC
Seems to work perfectly for me now with that remote image.