[Pkg-privacy-maintainers] Bug#1101063: onionshare-cli: stem.SocketError: [Errno 2] No such file or directory

Jeffrey Cliff jeffrey.cliff at gmail.com
Sat Mar 22 19:31:46 GMT 2025


Package: onionshare-cli
Version: 2.6.3-1
Severity: important

Dear Maintainer,

while trying to send a single file with onionshare-cli this is what it
does when given
a filename test_file [ does same with ./test_file ]:


$ onionshare-cli test_file
╭───────────────────────────────────────────╮
│    *            ▄▄█████▄▄            *    │
│               ▄████▀▀▀████▄     *         │
│              ▀▀█▀       ▀██▄              │
│      *      ▄█▄          ▀██▄             │
│           ▄█████▄         ███        -+-  │
│             ███         ▀█████▀           │
│             ▀██▄          ▀█▀             │
│         *    ▀██▄       ▄█▄▄     *        │
│ *             ▀████▄▄▄████▀               │
│                 ▀▀█████▀▀                 │
│             -+-                     *     │
│   ▄▀▄               ▄▀▀ █                 │
│   █ █     ▀         ▀▄  █                 │
│   █ █ █▀▄ █ ▄▀▄ █▀▄  ▀▄ █▀▄ ▄▀▄ █▄▀ ▄█▄   │
│   ▀▄▀ █ █ █ ▀▄▀ █ █ ▄▄▀ █ █ ▀▄█ █   ▀▄▄   │
│                                           │
│                  v2.6.3                   │
│                                           │
│          https://onionshare.org/          │
╰───────────────────────────────────────────╯

OnionShare could not connect to Tor:
[Errno 2] No such file or directory
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/stem/socket.py", line 584, in
_make_socket
    control_socket.connect(self.path)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/onionshare_cli/onion.py", line
432, in connect
    self.c = Controller.from_socket_file(path=self.tor_control_socket)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/stem/control.py", line 1049, in
from_socket_file
    control_socket = stem.socket.ControlSocketFile(path)
  File "/usr/lib/python3/dist-packages/stem/socket.py", line 564, in __init__
    self.connect()
    ~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/stem/socket.py", line 172, in connect
    self._socket = self._make_socket()
                   ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/stem/socket.py", line 587, in
_make_socket
    raise stem.SocketError(exc)
stem.SocketError: [Errno 2] No such file or directory


the file is there...


$ ls -arlht test_file
-rw-rw-r-- 1 themusicgod1 themusicgod1 2 Mar 22 13:27 test_file


this seems broken.



-- System Information:
Distributor ID:    Devuan
Description:    Devuan GNU/Linux 6 (excalibur/ceres)
Release:    6
Codename:    excalibur ceres
Architecture: x86_64

Kernel: Linux 6.12.17-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages onionshare-cli depends on:
ii  python3                   3.13.2-2
ii  python3-cffi              1.17.1-2
ii  python3-click             8.2.0+0.really.8.1.8-1
ii  python3-colorama          0.4.6-4
ii  python3-eventlet          0.36.1-12
ii  python3-flask             3.1.0-2
ii  python3-flask-compress    1.4.0-5
ii  python3-flask-socketio    5.5.1-1
ii  python3-gevent            24.11.1-1+b1
ii  python3-gevent-websocket  0.10.1-5
ii  python3-nacl              1.5.0-7
ii  python3-packaging         24.2-1
ii  python3-pkg-resources     75.8.0-1
ii  python3-psutil            5.9.8-2
ii  python3-qrcode            8.0-2
ii  python3-requests          2.32.3+dfsg-4
ii  python3-socks             1.7.1+dfsg-1
ii  python3-stem              1.8.2-1
ii  python3-unidecode         1.3.8-1
ii  python3-urllib3           2.3.0-1
ii  python3-waitress          3.0.2-1
ii  python3-werkzeug          3.1.3-2
ii  python3-wheel             0.45.1-1
ii  tor                       0.4.8.14-1

Versions of packages onionshare-cli recommends:
ii  obfs4proxy  0.0.14-2+b1

onionshare-cli suggests no packages.

-- no debconf information



More information about the Pkg-privacy-maintainers mailing list