Version of Variety
Issue exists in Variety 0.8.11-1 from Arch Linux extra repo and 0.8.11.r2.ge8580e9-1 from AUR
Describe the bug
After an update to libimagequant 4.2.2-1, Variety no longer starts, with this error:
Traceback (most recent call last):
File "/usr/bin/variety", line 64, in
import variety # isort:skip
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/variety/init.py", line 62, in
from variety import VarietyWindow, ThumbsManager, ThumbsWindow
File "/usr/lib/python3.11/site-packages/variety/VarietyWindow.py", line 32, in
from PIL import Image as PILImage
File "/usr/lib/python3.11/site-packages/PIL/Image.py", line 82, in
from . import _imaging as core
ImportError: libimagequant.so.0: cannot open shared object file: No such file or directory
It looks like libimagequant was just updated in the Arch linux repo, and this is the cause of the issue. Rolling back to libimagequant 4.2.1-1 resolves the issue and variety loads normally.
Version of Variety Issue exists in Variety 0.8.11-1 from Arch Linux extra repo and 0.8.11.r2.ge8580e9-1 from AUR
Describe the bug After an update to libimagequant 4.2.2-1, Variety no longer starts, with this error: Traceback (most recent call last): File "/usr/bin/variety", line 64, in
import variety # isort:skip
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/variety/init.py", line 62, in
from variety import VarietyWindow, ThumbsManager, ThumbsWindow
File "/usr/lib/python3.11/site-packages/variety/VarietyWindow.py", line 32, in
from PIL import Image as PILImage
File "/usr/lib/python3.11/site-packages/PIL/Image.py", line 82, in
from . import _imaging as core
ImportError: libimagequant.so.0: cannot open shared object file: No such file or directory
It looks like libimagequant was just updated in the Arch linux repo, and this is the cause of the issue. Rolling back to libimagequant 4.2.1-1 resolves the issue and variety loads normally.
Ref: https://archlinux.org/packages/extra/x86_64/libimagequant/ https://github.com/ImageOptim/libimagequant
Context Error occurs every time variety is loaded after updating libimagequant
To Reproduce
Attach Variety's log file variety -v fails with error above variety will not create ~/.config/variety if it's purged after updating libimagequant
Desktop environment and version
KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.11 Kernel Version: 6.6.1-zen1-1-zen (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: AMD Radeon RX 6700 XT Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7C91 System Version: 2.0
OS name and version
Arch Linux \r (\l)
NAME=ArcoLinux ID=arcolinux ID_LIKE=arch BUILD_ID=rolling ANSI_COLOR="0;36" HOME_URL="https://arcolinux.info/" SUPPORT_URL="https://arcolinuxforum.com/" BUG_REPORT_URL="https://github.com/arcolinux" LOGO=arcolinux-hello