Package: mcomix
Version: 1.00-1
Severity: normal

Dear Maintainer,

When an image is opened, if i use menu Tools -> enhance image, I have this
error :

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mcomix/enhance_dialog.py", line 194,
in open_dialog
    _dialog = _EnhanceImageDialog(window)
  File "/usr/lib/python2.7/dist-packages/mcomix/enhance_dialog.py", line 125,
in __init__
    self.draw_histogram(self._window.left_image)
  File "/usr/lib/python2.7/dist-packages/mcomix/enhance_dialog.py", line 135,
in draw_histogram
    text=False))
  File "/usr/lib/python2.7/dist-packages/mcomix/histogram.py", line 62, in
draw_histogram
    return image_tools.pil_to_pixbuf(im)
  File "/usr/lib/python2.7/dist-packages/mcomix/image_tools.py", line 225, in
pil_to_pixbuf
    imagestr = image.tostring()
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 686, in tostring
    "Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.

I'm using python-pil from Sid (python-pil:amd64 3.0.0-1).

This feature is really interesting.

Regards,

Sébastien KALT



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (980, 'unstable'), (970, 'testing'), (960, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-0.slh.1-aptosid-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mcomix depends on:
ii  python                2.7.11-1
ii  python-gtk2           2.24.0-4
ii  python-imaging        3.0.0-1
ii  python-pkg-resources  18.8-1

mcomix recommends no packages.

Versions of packages mcomix suggests:
ii  unrar  1:5.3.2-1

-- no debconf information

Reply via email to