Control: reassign 813602 1.01-5
Control: affects 813602 monkeysign
Control: forwarded 813602 https://github.com/Arachnid/pyqrencode/issues/7

This actually seems to be a bug with the qrencode package, from looking
at the traceback, reassigning (which is not to say it shouldn't be
somehow solved in monkeysign too!)

It seems the bug is also upstream:

https://github.com/Arachnid/pyqrencode/blob/master/qrencode/__init__.py#L51

So I have opened a bug report there:

https://github.com/Arachnid/pyqrencode/issues/7

It's somewhat a concern that there hasn't been a release there in
years... :/

https://github.com/Arachnid/pyqrencode/issues/5

.. but we'll see how it goes.

thanks for the bug report!

a.

On 2016-02-03 10:08:48, Elena Grandi wrote:
> Package: monkeysign
> Version: 2.0.2
> Severity: important
>
> Dear Maintainer,
>
> When running monkeyscan under a recently updated stretch system no
> QR-Code is shown on the right panel, and the following traceback is
> shown on stderr:
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/monkeysign/gtkui.py", line 306, in 
> expose_event
>     self.draw_qrcode()
>   File "/usr/lib/python2.7/dist-packages/monkeysign/gtkui.py", line 317, in 
> draw_qrcode
>     self.pixbuf = self.image_to_pixbuf(self.make_qrcode(self.active_key.fpr))
>   File "/usr/lib/python2.7/dist-packages/monkeysign/gtkui.py", line 342, in 
> make_qrcode
>     version, width, image = 
> _qrencode_scaled('OPENPGP4FPR:'+fingerprint,size,0,1,2,True)
>   File "/usr/lib/python2.7/dist-packages/qrencode/__init__.py", line 69, in 
> encode_scaled
>     version, src_size, im = encode(data, version, level, hint, case_sensitive)
>   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.
>
> The same traceback happens when trying to save the QRCode (File -> Save QR 
> Code as...)
>
> The version of PIL I have installed is:
>
> ii  python-pil:amd 3.1.0-1      amd64        Python Imaging Library (Pillow fo
>
> Thanks for your work developing and maitaing this package
>
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages monkeysign depends on:
> ii  gnupg                 1.4.20-1
> ii  gnupg-agent           2.1.9-1
> ii  python                2.7.11-1
> ii  python-pkg-resources  18.8-1
>
> Versions of packages monkeysign recommends:
> ii  python-gtk2       2.24.0-4
> ii  python-qrencode   1.01-5
> ii  python-zbar       0.10+doc-10+b1
> ii  python-zbarpygtk  0.10+doc-10+b1
>
> monkeysign suggests no packages.
>
> -- no debconf information

-- 
Freedom is being able to make decisions that affect mainly you. Power
is being able to make decisions that affect others more than you. If
we confuse power with freedom, we will fail to uphold real freedom.
                        - Richard Stallman

Reply via email to