Open jukefr opened 11 months ago
Hello, It's an upstream issue which will be fixed on the next release. For now you can fix the issue by this command:
/opt/yunohost/matrix-synapse/bin/pip install 'Pillow<=9.5.0-2'
systemctl restart matrix-synapse.service
Describe the bug
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
Suspecting the wrong version of Pillow is getting installed for some reason. Here you can see new version https://github.com/YunoHost-Apps/synapse_ynh/commit/1c36215f03e5bc1b4c22ec42f93e6188f73a9f36#diff-1268f00633c5bf56c0f92e476d2d15adfd7dcebba9c727f8e8cffcdbeeb041a7L29 which deprecates ANTILIAS function however for some reason the running synapse version seems to depend on a call to it? Not sure if this is a bug in upstream synapse or if something wrong with the selected dependency version in the ynh wrapper for some reason.
Context
Steps to reproduce
Expected behavior
The version of pillow should either be supported by the codebase (so under 10) or the codebase should be recent enough to support pillow 10? Not exactly sure what went wrong again if upstream or wrapper dependency version got set wrong for some resaon.
Logs