-
Notifications
You must be signed in to change notification settings - Fork 53
ValueError Image has wrong mode when accessing renditions of this particular image. #154
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
Comments
I tried uploading this file and can confirm I'm seeing the same error ( |
I've investigated and this is an issue upstream in Pillow 10.3.0. There is an issue open about it already and I've commented on it with my findings here: python-pillow/Pillow#8333 (comment) Let's wait and see what happens. As a workaround you can install |
@Stormheg thanks! |
https://github.com/wagtail/Willow/releases/tag/v1.9.0 is now out, so closing this |
Description
On a successful upload of this image, it bypasses the image rendition generation.
and on web when trying to access this via CMS admin we get a
ValueError
andimage has wrong mode
down from willow/pillow as wagtail tries to regenerate the renditions if not found.after deleting the
wagtail.images.Image
instance and corresponding renditions it seems to work.the Image
Ideas and thoughts
Whole page
/admin/images/
becomes inaccessible which is a big issues cause there's no warning at the time of upload.May be wagtail/willow should throw some error/warning or reject the upload if renditions don't get generated on upload?
The text was updated successfully, but these errors were encountered: