← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1573577] Re: QR code image does not generate after upgrade to Ubuntu 16.04

 

Sorry, slipped my notice that Xenial was still affected. It's fixed in
Ubuntu 17.04 onwards.

John, which version of Ubuntu are you using?

** Changed in: python-qrencode (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: qreator (Ubuntu)
       Status: Confirmed => Fix Released

** Also affects: python-qrencode (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: qreator (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: python-qrencode (Ubuntu Xenial)
       Status: New => Confirmed

** Changed in: qreator (Ubuntu Xenial)
       Status: New => Confirmed

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

Title:
  QR code image does not generate after upgrade to Ubuntu 16.04

Status in Qreator:
  Fix Committed
Status in python-qrencode package in Ubuntu:
  Fix Released
Status in qreator package in Ubuntu:
  Fix Released
Status in python-qrencode source package in Xenial:
  Confirmed
Status in qreator source package in Xenial:
  Confirmed

Bug description:
  The program opens like normally, however it never displays a QR, even
  if you do Text, or URL, etc.  If it doesn't display the QR code, you
  can't save it, either.  Running from terminal, I'm getting lots of
  verbage that seems like a python 2.7 issue.

  /usr/share/qreator/qreator_lib/Builder.py:21: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
    from gi.repository import GObject, Gtk # pylint: disable=E0611
  /usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py:17: PyGIWarning: GtkChamplain was imported without specifying a version first. Use gi.require_version('GtkChamplain', '0.12') before import to ensure that the right version gets loaded.
    from gi.repository import Gtk, GtkChamplain, Clutter, Champlain
  /usr/share/qreator/qreator/qrcodes/QRCodeLocationGtk.py:19: PyGIWarning: GtkClutter was imported without specifying a version first. Use gi.require_version('GtkClutter', '1.0') before import to ensure that the right version gets loaded.
    from gi.repository import GtkClutter
  /usr/share/qreator/qreator/qrcodes/QRCodeWifiGtk.py:20: PyGIWarning: NetworkManager was imported without specifying a version first. Use gi.require_version('NetworkManager', '1.0') before import to ensure that the right version gets loaded.
    from gi.repository import Gtk, NetworkManager, NMClient, GLib, GdkPixbuf
  /usr/share/qreator/qreator/qrcodes/QRCodeWifiGtk.py:20: PyGIWarning: NMClient was imported without specifying a version first. Use gi.require_version('NMClient', '1.0') before import to ensure that the right version gets loaded.
    from gi.repository import Gtk, NetworkManager, NMClient, GLib, GdkPixbuf
  No handlers could be found for logger "qreator_lib"
  Traceback (most recent call last):
    File "/usr/share/qreator/qreator/QreatorWindow.py", line 512, in on_qr_drawingarea_draw
      output_type=QRCodeOutput.CAIRO_SURFACE)
    File "/usr/share/qreator/qreator/QRCode.py", line 61, in encode
      border)
    File "/usr/share/qreator/qreator/QRCode.py", line 70, in _encode_to_cairo
      current_color_bg, previous_color_bg, border)
    File "/usr/share/qreator/qreator/QRCode.py", line 94, in _encode_to_pil
      version, self.qrcode_size, self.image = qrencode.encode(text)
    File "/usr/lib/python2.7/dist-packages/qrencode/__init__.py", line 47, in encode
      im = Image.fromstring('L', (size, size), data)
    File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2063, in fromstring
      "Please call frombytes() instead.")
  Exception: fromstring() has been removed. Please call frombytes() instead.
  Traceback (most recent call last):
    File "/usr/share/qreator/qreator/QreatorWindow.py", line 512, in on_qr_drawingarea_draw
      output_type=QRCodeOutput.CAIRO_SURFACE)
    File "/usr/share/qreator/qreator/QRCode.py", line 61, in encode
      border)
    File "/usr/share/qreator/qreator/QRCode.py", line 70, in _encode_to_cairo
      current_color_bg, previous_color_bg, border)
    File "/usr/share/qreator/qreator/QRCode.py", line 94, in _encode_to_pil
      version, self.qrcode_size, self.image = qrencode.encode(text)
    File "/usr/lib/python2.7/dist-packages/qrencode/__init__.py", line 47, in encode
      im = Image.fromstring('L', (size, size), data)
    File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2063, in fromstring
      "Please call frombytes() instead.")
  Exception: fromstring() has been removed. Please call frombytes() instead.

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