Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merlinator launch fails with pillow v10.0.0 #4

Open
PouPass opened this issue Aug 28, 2023 · 0 comments
Open

Merlinator launch fails with pillow v10.0.0 #4

PouPass opened this issue Aug 28, 2023 · 0 comments

Comments

@PouPass
Copy link

PouPass commented Aug 28, 2023

Merlinator launch fails with pillow version 10.0.0 with the following Traceback :

Exception in Tkinter callback
(merlin) D:\python_devs\merlinator\src>python merlinator.py
Traceback (most recent call last):
  File "d:\Users\***\miniconda3\envs\merlin\Lib\tkinter\__init__.py", line 1948, in __call__
    return self.func(*args)
           ^^^^^^^^^^^^^^^^
  File "D:\***\merlinator\src\main_gui.py", line 301, in import_playlist
    self.load_thumbnails(items, overwrite)
  File "D:\***\merlinator\src\main_gui.py", line 232, in load_thumbnails
    image_small = image.resize((40, 40), Image.ANTIALIAS)
                                         ^^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

The problem is resolved when I downgrade to pillow version 9.5.0.

I share this information with you if you want to resolve this issue for future release or if you want to complete the Readme.

Thanks for this tool it is super useful !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant