[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#884853: qtqr: Saving PNG broken; doesn't decode



Package: qtqr
Version: 1.4~bzr23-1
Severity: normal

QTQR doesn't work any more.

Trying to produce a QR code (with text "foobar") breaks on saving as PNG 
with the error messages

    Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
    Traceback (most recent call last):
      File "/usr/bin/qtqr", line 509, in saveCode
        if not fn.toLower().endsWith(u".png") \
    AttributeError: 'tuple' object has no attribute 'toLower'
    Abgebrochen


Doing a screenshot and using that as input via the commandline

    # qtqr foobar.png

does work, but choosing the same file via "Decode"/"from File" doesn't.

Another QR code that I tried to read didn't even work via the commandline, 
but an Android phone could easily parse the picture on the screen (which
was black and white, sharp, clear, etc., like the newly generated "foobar" 
code in the attachment).



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=de_AT:de (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages qtqr depends on:
ii  python          2.7.14-4
ii  python-pyqt5    5.9.2+dfsg-1
ii  python-qrtools  1.4~bzr23-1

qtqr recommends no packages.

qtqr suggests no packages.

-- no debconf information

-- 

Attachment: foobar.png
Description: PNG image


Reply to: