[Pkg-privacy-maintainers] Bug#1071087: onionshare: Show QR Code Button Does Not Work When Setting Up Onionshare Chat

Onion User debuser3 at gmail.com
Tue May 14 04:18:08 BST 2024


Package: onionshare
Version: 2.6-5~deb12u1
Severity: normal
X-Debbugs-Cc: debuser3 at 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



More information about the Pkg-privacy-maintainers mailing list