Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate QR Codes #1858

Open
msalini opened this issue Jan 24, 2024 · 0 comments
Open

Unable to generate QR Codes #1858

msalini opened this issue Jan 24, 2024 · 0 comments

Comments

@msalini
Copy link

msalini commented Jan 24, 2024

  1. Device

  • Onionshare 2.6
  • Devuan Daedalus (based on Debian Bookworm (version 12) ) , kernel 6.1.0-17-amd64
  1. Steps to reproduce the bug

  • (from cli) onionshare --filenames file_name
  • (from gui) start sharing
  • click "show QR code"
  • cli generates this error:

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant