Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#62241 - [matrix-synapse] incompatible with python-pillow 6.0.0

Attached to Project: Community Packages
Opened by Dmitry V. Luciv (dluciv) - Friday, 05 April 2019, 17:50 GMT
Last edited by David Runge (dvzrv) - Monday, 02 September 2019, 20:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Synapse is incompatible with python-pillow 6.0.0.
When uploading any image, server crashes with AttributeError: module 'PIL.Image' has no attribute 'Exif'

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

Just update everything to latest versions in Arch Linux way, restart Synapse and try to upload a photo.
To workaround, python-pillow can be downgraded to 5.4.1.
This task depends upon

Closed by  David Runge (dvzrv)
Monday, 02 September 2019, 20:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  Seems to not reproduce anymore
Comment by Dmitry V. Luciv (dluciv) - Thursday, 11 April 2019, 16:38 GMT
Added new task to python-pillow

Suggested renaming it to python-pillow6 as it is backward incompatible with 5.X versions
Comment by loqs (loqs) - Friday, 12 April 2019, 20:08 GMT
bsdtar -xvf matrix-synapse-0.99.2-3-any.pkg.tar.xz
grep -r Exif *

No matches. Which package is providing the file referencing Exif?
Comment by Dmitry V. Luciv (dluciv) - Friday, 12 April 2019, 20:31 GMT
Right now no idea on this... I have updated Pillow to 6.x, but it does not crash anymore. Let's close it, sorry for disturbing.