Skip to content

pyrasite-shell hangs / does not start #156

Description

@mxmlnkn

On one shell I start: python3 -c 'import time; time.sleep(60)'.

In another shell, I try: pyrasite-shell 681228. Nothing happens, so I try to cancel it after a while and get:

^CTraceback (most recent call last):
  File "/home/user/.local/bin/pyrasite-shell", line 8, in <module>
    sys.exit(shell())
             ^^^^^^^
  File "/home/user/.local/lib/python3.12/site-packages/pyrasite/tools/shell.py", line 30, in shell
    ipc.connect()
  File "/home/user/.local/lib/python3.12/site-packages/pyrasite/ipc.py", line 95, in connect
    self.wait()
  File "/home/user/.local/lib/python3.12/site-packages/pyrasite/ipc.py", line 151, in wait
    (clientsocket, address) = self.server_sock.accept()
                              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 295, in accept
    fd, addr = self._accept()
               ^^^^^^^^^^^^^^
KeyboardInterrupt

I am using Ubuntu 24.04 with Python 3.12 and gdb 15.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions