Package: comix
Version: 4.0.4-4
Severity: grave
Tags: patch
Justification: renders package unusable
Dear Maintainer,
Issue appear into both comix versions 4.0.4-3 and 4.0.4-4.
python-pil:amd64 5.4.1-2 -> 6.1.0-1 upgrade have introduce this:
<extract from "/usr/lib/python2.7/dist-packages/PIL/__init__.py
">
# VERSION was removed in Pillow 6.0.0.
# PILLOW_VERSION is deprecated and will be removed in Pillow 7.0.0.
# Use __version__ instead.
</extract>
So, when comix is started, below error message appear:
<message>
Traceback (most recent call last):
File "/usr/bin/comix", line 53, in <module>
assert Image.VERSION >= '1.1.5'
AttributeError: 'module' object has no attribute 'VERSION'
</message>
Issue roto cause: "Image.VERSION" is deprecated, and replaced by
"Image.__version__"
I propose below patch into /usr/bin/comix :
53c53
< assert Image.VERSION >= '1.1.5'
---
> assert Image.__version__ >= '1.1.5'
Thanks by advance to fix this bug !
Best regards,
Olivier
-- System Information:
Debian Release: 10.0
APT prefers testing
APT policy: (900, 'testing'), (800, 'stable'), (90, 'unstable'), (40,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages comix depends on:
ii python 2.7.16-1
ii python-gtk2 2.24.0-6
ii python-pil 6.1.0-1
Versions of packages comix recommends:
pn mcomix <none>
Versions of packages comix suggests:
ii python 2.7.16-1
ii unrar 1:5.6.6-2
-- no debconf information
53c53
< assert Image.VERSION >= '1.1.5'
---
> assert Image.__version__ >= '1.1.5'