FS#62242 - [mcomix] Python2-pillow 6.0 breaks the program
Attached to Project:
Community Packages
Opened by Timo Thurow (Timo_Thurow) - Friday, 05 April 2019, 19:40 GMT
Last edited by Jakob Gruber (schuay) - Thursday, 06 June 2019, 13:50 GMT
Opened by Timo Thurow (Timo_Thurow) - Friday, 05 April 2019, 19:40 GMT
Last edited by Jakob Gruber (schuay) - Thursday, 06 June 2019, 13:50 GMT
|
Details
Description:
The update from python2-pillow 5.4.1-1 to python2-pillow 6.0.0-1 breaks the program because of a missing attribute. https://github.com/python-pillow/Pillow/blob/master/docs/deprecations.rst#version-constant indicates that the attribute had been renamed from VERSION to __version__. Downgrade to pillow 5.4.1-1 fixes the Problem. Additional info: Console output: Traceback (most recent call last): File "/usr/bin/mcomix", line 11, in <module> load_entry_point('mcomix==1.2.1', 'console_scripts', 'mcomix')() File "/usr/lib/python2.7/site-packages/mcomix/run.py", line 206, in run assert PIL.Image.VERSION >= '1.1.5' AttributeError: 'module' object has no attribute 'VERSION' Steps to reproduce: -Upgrade to python2-pillow 6.0.0-1 -Try to run mcomix |
This task depends upon
assert PIL.Image.VERSION >= '1.1.5'
to
assert PIL.Image.__version__ >= '1.1.5'
makes mcomix run again.