varietywalls / variety

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

Does not show .webp images #634

Open RichardJECooke opened 1 year ago

RichardJECooke commented 1 year ago

Version of Variety 0.8.10

Describe the bug Add folder of webp images to general - images. Select folder as wallpaper source. No images display

Attach Variety's log file

INFO: 2023-07-27 18:43:43,742: change_wallpaper() 'No images found' INFO: 2023-07-27 18:43:43,742: prepare_thread() 'After search prepared buffer contains 0 images' INFO: 2023-07-27 18:43:45,743: trigger_download() 'Triggering download thread to check if download needed and possible'

Desktop environment and version Gnome 44

OS name and version Ubuntu 23.04

tisyang commented 1 year ago

You may need package webp-pixbuf-loader and modify some code like #621

You can modify scripts locally and test, then you can make a PR if test fine.

Variety scripts location: /usr/lib/python3/dist-packages/variety

RichardJECooke commented 1 year ago

I get this error trying to run setup

python3 setup.py install 
Traceback (most recent call last):
  File "/home/rje/code/variety/setup.py", line 54, in <module>
    DistUtilsExtra.auto.setup(
  File "/home/rje/code/variety/venv/lib/python3.11/site-packages/DistUtilsExtra/auto.py", line 100, in setup
    __manpages(attrs, src)
  File "/home/rje/code/variety/venv/lib/python3.11/site-packages/DistUtilsExtra/auto.py", line 329, in __manpages
    for line in fd:
  File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 40: invalid start byte
RichardJECooke commented 1 year ago

Hello?