qtqr fails to decode qrcode from file
Bug #1610942 reported by
Zaphod BIII
This bug report is a duplicate of:
Bug #1589965: Reading QR codes from file fails due to "Exception: tostring() has been removed. Please call tobytes() instead.".
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qr-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Linux Mint 18 'Sarah', Cinnamon 64-bit
QtQR is able to create and save a QRCode but decode fails.
qr-tools (1.4~bzr21-1) unstable (from Synaptic Package Manager)
Run QtQR, click button Decode and select Decode from File. Select previously created .png file. Nothing happens (reproducible).
affects: | linuxmint → qr-tools (Ubuntu) |
To post a comment you must log in.
/usr/bin/qtqr
Python 2.7.12 (default, Jul 1 2016, 15:12:24) _SDK/python/ qtqr =================== zaphod/ python/ qtqr", line 540, in decodeFile python2. 7/dist- packages/ qrtools. py", line 181, in decode python2. 7/dist- packages/ PIL/Image. py", line 695, in tostring
[GCC 5.4.0 20160609] on linux2
Type "copyright", "credits" or "license()" for more information.
>>>
=================== RESTART: /home/zaphod/
Traceback (most recent call last):
File "/home/
if qr.decode():
File "/usr/lib/
raw = pil.tostring()
File "/usr/lib/
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.