This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Pillow raises IOError on thumbnail generation #3325
Comments
I had a similar, but different issue which I fixed by bumping Pillow to 4.3.0.
|
@andrewshadura's issue is not the same issue reported in this ticket. The RGBA issue is not fixed by upgrading Pillow. I run into the same server with Pillow 5.2.0 on my homeserver 0.33.0. It happens only when uploading PNGs and I believe the reason is that the thumbnailer needs to flatten the image from the RGBA space to RGB before attempting to write a JPG thumbnail image. Either that or generate PNG thumbnails. Pillow previously allowed you to do this with a warning, but now it's an error. |
3 tasks
regnarg
added a commit
to regnarg/synapse
that referenced
this issue
Nov 19, 2019
Signed-Off-By: Filip Štědronský <g@regnarg.cz>
richvdh
pushed a commit
that referenced
this issue
Dec 2, 2019
fixed by #6241 |
babolivier
pushed a commit
that referenced
this issue
Sep 1, 2021
* commit '81731c6e7': Fix: Pillow error when uploading RGBA image (#3325) (#6241) Add User-Interactive Auth to /account/3pid/add (#6119) Lint Changelog Discard retention policies when retrieving state blacklist more tests Newsfile Add tests Propagate reason in remotely rejected invites MSC2367 Allow reason field on all member events
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
When attempting to upload an image to a room through the Riot Android app, a server error occurs which prevents the image from being uploaded. It appears Pillow is raising an IOError.
Steps to reproduce
I receive an infinitely repeating "Internal server error", and I must force-stop the Riot app to recover from it. Below is the server error.
Version information
The text was updated successfully, but these errors were encountered: