[Pkg-privacy-maintainers] Bug#998402: Error launching onionshare-gui

Angel Abad angel at debian.org
Wed Nov 3 17:44:07 GMT 2021


Package: onionshare
Version: 2.2-3
Severity: important
File: /usr/bin/onionshare-gui

Dear Maintainer,

When I try to launch onionshare it doesnt launch, so when we try to launch it
from bash console, I get this error, and the program fails:

$ onionshare-gui
OnionShare 2.2 | https://onionshare.org/
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use
QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
QObject::connect: No such signal
QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
Traceback (most recent call last):
  File "/usr/bin/onionshare-gui", line 22, in <module>
    onionshare_gui.main()
  File "/usr/lib/python3/dist-packages/onionshare_gui/__init__.py", line 142,
in main
    gui = OnionShareGui(common, onion, qtapp, app, filenames, config,
local_only)
  File "/usr/lib/python3/dist-packages/onionshare_gui/onionshare_gui.py", line
172, in __init__
    self.share_mode.init()
  File "/usr/lib/python3/dist-
packages/onionshare_gui/mode/share_mode/__init__.py", line 48, in init
    self.web = Web(self.common, True, "share")
  File "/usr/lib/python3/dist-packages/onionshare/web/web.py", line 77, in
__init__
    self.generate_static_url_path()
  File "/usr/lib/python3/dist-packages/onionshare/web/web.py", line 166, in
generate_static_url_path
    self.app.add_url_rule(
  File "/usr/lib/python3/dist-packages/flask/scaffold.py", line 56, in
wrapper_func
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1092, in
add_url_rule
    raise AssertionError(
AssertionError: View function mapping is overwriting an existing endpoint
function: static

Thanks in advance!


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.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  obfs4proxy              0.0.8-1+b6
ii  python3                 3.9.7-1
ii  python3-flask           2.0.1-2
ii  python3-flask-httpauth  3.2.4-3.1
ii  python3-pycryptodome    3.9.7+dfsg1-1+b2
ii  python3-pyqt5           5.15.6+dfsg-1
ii  python3-socks           1.7.1+dfsg-1
ii  python3-stem            1.8.0-3
ii  tor                     0.4.6.8-1

onionshare recommends no packages.

onionshare suggests no packages.

-- no debconf information



More information about the Pkg-privacy-maintainers mailing list