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

Hefee hefee at debian.org
Sat May 31 23:28:28 BST 2025


Control: tags + moreinfo

Hey,

Thanks for your bugreport.

The traceback does not look like you have issue about the file you share.

It seems like onionshare is unable to connect to a tor server/ start a tor 
server and does not find your tor control socket.  So it is possible, that it 
is a configuration issue.
Please check if the control socket exists and that the tor process is started 
correctly.

Regards,

hefee

--

> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-maintainers/attachments/20250601/20714276/attachment.sig>


More information about the Pkg-privacy-maintainers mailing list