← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1589965] Re: Reading QR codes from file fails due to "Exception: tostring() has been removed. Please call tobytes() instead."

 

Xenial release is no longer supported so marking Papercuts task as
fixed.

** Changed in: hundredpapercuts
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1589965

Title:
  Reading QR codes from file fails due to "Exception: tostring() has
  been removed. Please call tobytes() instead."

Status in One Hundred Papercuts:
  Fix Released
Status in QR Tools:
  Fix Released
Status in qr-tools package in Ubuntu:
  Fix Released
Status in qr-tools source package in Xenial:
  Triaged

Bug description:
  Terminal output right after requesting decoding from file:

      /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 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.
      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.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: qtqr 1.4~bzr21-1
  Uname: Linux 4.5.5-040505-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jun  7 14:41:34 2016
  InstallationDate: Installed on 2013-10-17 (963 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  PackageArchitecture: all
  SourcePackage: qr-tools
  UpgradeStatus: Upgraded to xenial on 2016-03-04 (94 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1589965/+subscriptions