Comment 3 for bug 1846968

Revision history for this message
Bernard Decock (decockbernard) wrote :

Hi Ramiro,

I notice a different behaviour between LinuxMint 18.3 Cinnamon and LinuxMint 19.2.

LinuxMint 18.3
Version installed = 1.4~bzr21-1 (xenial)

With the version the saving of the QR-code is ok. However one can't drag a QR-code for decoding:
/usr/lib/python2.7/dist-packages/PIL/Image.py:870: UserWarning: Palette images with Transparency expressed in bytes should be converted to RGBA images
  'to RGBA images')
Traceback (most recent call last):
  File "/usr/bin/qtqr", line 736, in dropEvent
    self.decodeFile(unicode(fn))
  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 695, in tostring
    "Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.

Decoding from a file doesn't work either
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 695, in tostring
    "Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.

Linux Mint 19.2 : version installed = 1.4~bzr23-1 (bionic)

Saving the QR-code causes a crash
Decoding from a file does not at all
Decoding from the webcam is ok

Entering an URL gives the effect underneath
qt5ct: using qt5ct plugin
Failed to create file: http://w.png
No such file or directory
Something went wrong while trying to generate the QR Code
Failed to create file: http://ww.png
No such file or directory
Something went wrong while trying to generate the QR Code
Failed to create file: http://www.png
No such file or directory
Something went wrong while trying to generate the QR Code