Package: python-qrtools
Version: 1.4~bzr21-1
Severity: normal
Dear Maintainer,
This package calls tostring(), which was removed from PIL. I discovered
this while using QtQR, which produces the following trace when decoding
an image from a file:
Traceback (most recent call last):
File "/usr/bin/qtqr", line 540, in decodeFile
if qr.decode():
File "/usr/lib/python2.7/dist-packages/qrtools.py", line 181, in decode
raw = pil.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 believe this is simply a matter of changing the call to tobytes().
Kyanos
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing'), (300,
'oldstable-updates'), (300, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-qrtools depends on:
ii python 2.7.11-1
ii python-imaging 3.0.0-1
ii python-zbar 0.10+doc-10+b1
ii qrencode 3.4.4-1
python-qrtools recommends no packages.
python-qrtools suggests no packages.
-- no debconf information