Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

FS#78978 - [matrix-synapse] python-pillow 10.0.0 breaks matrix-synapse

Attached to Project: Arch Linux
Opened by Kimiblock Moe (Kimiblock) - Tuesday, 04 July 2023, 11:52 GMT
Last edited by Johannes Löthberg (demize) - Tuesday, 18 July 2023, 19:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Alexander Epaneshnikov (alex19EP)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

Python-pillow 10.0.0 breaks matrix-synapse. Downgrading to 9.5.0-2 resolves this issue.

Upstream issue: https://github.com/matrix-org/synapse/issues/15873


Steps to reproduce:
- Update python-pillow to 10.0.0.
- Restart matrix-synapse server and upload an avatar.


Relevant log:
Jul 04 18:45:18 serverOS-kimiblock.top synapse[71156]: AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
This task depends upon

Closed by  Johannes Löthberg (demize)
Tuesday, 18 July 2023, 19:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.88.0-1
Comment by David Runge (dvzrv) - Tuesday, 04 July 2023, 16:57 GMT
@Kimiblock: Thanks for the report.

An upstream fix for matrix-synapse has been suggested with https://github.com/matrix-org/synapse/pull/15876
Comment by Pascal Ernster (hardfalcon) - Tuesday, 04 July 2023, 17:49 GMT
I have *not* tried running either matrix-synapse 1.85.2-1 or matrix-synapse 1.86.0-1 in combination with python-pillow 10.0.0-1, *but* I can confirm that a clean chroot build of matrix-synapse 1.87.0 (_tag=d860ce222599f1084f35267df4062b22a35cad96) with the above mentioned patch/pull request 15876 applied on top works flawlessly with python-pillow 10.0.0-1, and it also fixes the SQL filter issues that matrix-synapse 1.86.0-1 was causing.
Comment by Luca Weiss (z3ntu) - Friday, 07 July 2023, 12:16 GMT
Unrelated to the issue reported directly but this bug report doesn't show up in the search because it's in the project "Community Packages" instead of project "Arch Linux" (which is what https://archlinux.org/packages/extra/x86_64/matrix-synapse/ links to).
Comment by Toolybird (Toolybird) - Thursday, 13 July 2023, 05:13 GMT
Dupes  FS#78981   FS#79008   FS#79028   FS#79084 
Comment by Johannes Löthberg (demize) - Sunday, 16 July 2023, 15:59 GMT
1.86.0-2 with the PR backported is in [extra-testing] now.
Comment by Pascal Ernster (hardfalcon) - Tuesday, 18 July 2023, 17:44 GMT
FYI: Upstream have released synapse 1.88.0, which, among other changes, also contains a fix for this issue:
https://github.com/matrix-org/synapse/releases/tag/v1.88.0

Loading...