-
Notifications
You must be signed in to change notification settings - Fork 192
Description
I have written two python scripts to measure device performance. When I run both scripts simultaneously, one script gets blocked and enters an infinite wait state. I believe this issue is similar to the one discussed in (danielpaulus/go-ios#462). Is there any solution for this?
File "myscript.py", line 129, in main
with RemoteLockdownClient((args.host, args.port), userspace_port=args.userspace_port) as rsd:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/ios_device/remote/remote_lockdown.py", line 31, in init
super().init(address=address, userspace_port=userspace_port)
File "/opt/homebrew/lib/python3.11/site-packages/ios_device/util/lockdown.py", line 66, in init
self.connect()
File "/opt/homebrew/lib/python3.11/site-packages/ios_device/remote/remote_lockdown.py", line 46, in connect
self.service.connect()
File "/opt/homebrew/lib/python3.11/site-packages/ios_device/remote/remotexpc.py", line 41, in connect
self._do_handshake()
File "/opt/homebrew/lib/python3.11/site-packages/ios_device/remote/remotexpc.py", line 115, in _do_handshake
assert isinstance(self._receive_frame(), SettingsFrame)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/ios_device/remote/remotexpc.py", line 146, in _receive_frame
buf = self._recvall(FRAME_HEADER_SIZE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/ios_device/remote/remotexpc.py", line 154, in _recvall
chunk = self.sock.recv(size - len(data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt