Control: reassign -1 python3-qrcode 7.4.2-2 Control: affects -1 onionshare Hey,
the bug is not inside the code of onionshare. It is python3-qrcode, that does not handle the case properly as it uses either python3-png or python3-pil. I have python3-pil installed and I can see the QR code. Maybe you only have python3-png installed. So please try out if the bug is fixed, if you install pythno3-pil. Regards, hefee -- On Dienstag, 14. Mai 2024 05:18:08 CEST Onion User wrote: > Package: onionshare > Version: 2.6-5~deb12u1 > Severity: normal > X-Debbugs-Cc: debus...@gmail.com > > Dear Maintainer, > > > > * What led up to the situation? > When attempting to set up the chat feature, pressing the button to > show the qr code did not work. > > * What exactly did you do (or not do) that was effective (or > ineffective)? > * What was the outcome of this action? > No QR image was shown, but produced the following error messages: > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/onionshare/tab/server_status.py", > line 501, in show_url_qr_code_button_clicked self.qr_code_dialog = > QRCodeDialog( > ^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/onionshare/widgets.py", line 146, in > __init__ self.qr_label.setPixmap(qrcode.make(text, > image_factory=Image).pixmap()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File > "/usr/lib/python3/dist-packages/qrcode/main.py", line 29, in make return > qr.make_image() > ^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/qrcode/main.py", line 365, in > make_image im = image_factory( > ^^^^^^^^^^^^^^ > TypeError: Image.__init__() got an unexpected keyword argument > 'qrcode_modules' > > * What outcome did you expect instead? > A dialog box with the QR image showing. > > > > -- System Information: > Debian Release: 12.5 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, > 'stable') Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 6.1.0-21-amd64 (SMP w/4 CPU threads; PREEMPT) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not > set Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages onionshare depends on: > ii onionshare-cli 2.6-5~deb12u1 > ii python3 3.11.2-1+b1 > ii python3-pyside2.qtcore 5.15.8-2+b1 > ii python3-pyside2.qtwidgets 5.15.8-2+b1 > ii python3-qrcode 7.4.2-2 > ii python3-werkzeug 2.2.2-3 > > onionshare recommends no packages. > > onionshare suggests no packages. > > -- no debconf information > > _______________________________________________ > Pkg-privacy-maintainers mailing list > pkg-privacy-maintain...@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-privacy-maintai > ners
signature.asc
Description: This is a digitally signed message part.