varietywalls / variety

Wallpaper downloader and manager for Linux systems
http://peterlevi.com/variety
GNU General Public License v3.0
1.12k stars 137 forks source link

Flickr API key expired #702

Open fpasqua75 opened 1 month ago

fpasqua75 commented 1 month ago

Version of Variety 0.8.12

Describe the bug Flickr API key is expired

Context I find this error in the logs:

mag 24 09:40:10 easterlaptop.local variety.desktop[2983]:   File "/usr/lib/python3.12/site-packages/variety/FlickrDownloader.py", line 163, in fill_queue
mag 24 09:40:10 easterlaptop.local variety.desktop[2983]:     raise Exception("Flickr returned error message: " + resp["message"])
mag 24 09:40:10 easterlaptop.local variety.desktop[2983]: Exception: Flickr returned error message: Invalid API Key (Key has expired)
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]: ERROR: 2024-05-24 09:40:11,530: download_one_from() 'Could not download wallpaper:'
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]: Traceback (most recent call last):
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]:   File "/usr/lib/python3.12/site-packages/variety/VarietyWindow.py", line 1164, in download_one_from
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]:     file = downloader.download_one()
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]:            ^^^^^^^^^^^^^^^^^^^^^^^^^
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]:   File "/usr/lib/python3.12/site-packages/variety/plugins/downloaders/DefaultDownloader.py", line 141, in download_one
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]:     items = self.fill_queue()
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]:             ^^^^^^^^^^^^^^^^^
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]:   File "/usr/lib/python3.12/site-packages/variety/FlickrDownloader.py", line 163, in fill_queue
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]:     raise Exception("Flickr returned error message: " + resp["message"])
mag 24 09:40:11 easterlaptop.local variety.desktop[2983]: Exception: Flickr returned error message: Invalid API Key (Key has expired)

To Reproduce

  1. nothing in particular

Attach Variety's log file

Desktop environment and version Gnome 48

OS name and version

$ cat /etc/issue && cat /etc/os-release
\S
Kernel \r on an \m (\l)

NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Thank you.

JekasObps commented 1 week ago

Same trouble on Debian Bookworm. Variety version: 0.8.10-1

henti commented 1 week ago

being able to add your own Flickr key/secret would be very nice as a feature..