Package: hydrapaper
Version: 3.3.1-2

Hi,

in HydraPaper 3.3.1-2 running on Debian testing/trixie, the thumbnails
of wallpapers are not displayed and I get the following error:

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
Exception in thread Thread-19 (af):
Traceback (most recent call last):
  File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File
"/usr/lib/python3/dist-packages/hydrapaper/wallpaper_flowbox_item.py",
line 114, in af
    self.make_wallpaper_thumb(self.cache_path)
  File
"/usr/lib/python3/dist-packages/hydrapaper/wallpaper_flowbox_item.py",
line 150, in make_wallpaper_thumb
    thumb.thumbnail((250, 250), Image.ANTIALIAS)

The problem appears to be that Image.ANTIALIAS was removed from
python3-pil starting at version 10.0.0 as mentioned in
https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#constants.
I am using python3-pil 10.3.0-2, the version currently in trixie.

There is the new HydraPaper release 3.3.2 available upstream, which
seems to fix this issue via
https://gitlab.gnome.org/GabMus/HydraPaper/-/commit/780a7a8cba48219e1226b773d426bb8fcad8a1ce.
Would it be possible to update the Debian package to this version?

Best regards,
Nils

Reply via email to