Upload image: "failed scaling image: module 'PIL.Image' has no attribute 'ANTIALIAS'" #1802
-
When I upload a JPG, syslog says:
Is it because |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, that's exactly what it is - thanks for the heads up. It looks like Pillow 10 has removed Image.ANTIALIAS. Our production servers are all on Debian 12, where Pillow 9.4 is packaged. To fix on your local install, you will either need to downgrade python3-pil/pillow to 9.5 or replace the 2 occurrences of Image.ANTIALIAS in asm3/media.py I'll update this on master, thanks for letting us know about it. Hopefully this will be the last issue you have! |
Beta Was this translation helpful? Give feedback.
Hi, that's exactly what it is - thanks for the heads up. It looks like Pillow 10 has removed Image.ANTIALIAS. Our production servers are all on Debian 12, where Pillow 9.4 is packaged.
To fix on your local install, you will either need to downgrade python3-pil/pillow to 9.5 or replace the 2 occurrences of Image.ANTIALIAS in asm3/media.py
I'll update this on master, thanks for letting us know about it. Hopefully this will be the last issue you have!