Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac上反复启动一个app,几次后会报错 #388

Open
CoolCaicaixian opened this issue Jul 19, 2024 · 0 comments
Open

mac上反复启动一个app,几次后会报错 #388

CoolCaicaixian opened this issue Jul 19, 2024 · 0 comments

Comments

@CoolCaicaixian
Copy link

CoolCaicaixian commented Jul 19, 2024

`
unhandled exception:
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.12/site-packages/pymobiledevice3/services/remote_server.py", line 466, in _recv_packet_fragments
message = self.channel_messages[channel].get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/pymobiledevice3/services/remote_server.py", line 294, in get
return self._messages.get_nowait()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/queue.py", line 199, in get_nowait
return self.get(block=False)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/queue.py", line 168, in get
raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/homebrew/lib/python3.12/site-packages/tidevice3/main.py", line 20, in main
cli(auto_envvar_prefix='T3')
File "/opt/homebrew/lib/python3.12/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/tidevice3/cli/cli_common.py", line 55, in new_func
return ctx.invoke(func, service_provider, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/tidevice3/cli/app.py", line 70, in app_launch
with DvtSecureSocketProxyService(lockdown=service_provider) as dvt:
File "/opt/homebrew/lib/python3.12/site-packages/pymobiledevice3/services/remote_server.py", line 492, in enter
self.perform_handshake()
File "/opt/homebrew/lib/python3.12/site-packages/pymobiledevice3/services/remote_server.py", line 387, in perform_handshake
ret, aux = self.recv_plist()
^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/pymobiledevice3/services/remote_server.py", line 435, in recv_plist
data, aux = self.recv_message(channel)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/pymobiledevice3/services/remote_server.py", line 447, in recv_message
packet_stream = self._recv_packet_fragments(channel)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/pymobiledevice3/services/remote_server.py", line 471, in _recv_packet_fragments
data = self.service.recvall(dtx_message_header_struct.sizeof())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.12/site-packages/pymobiledevice3/service_connection.py", line 140, in recvall
raise ConnectionAbortedError()
ConnectionAbortedError
`
这是什么情况呢?
我的程序先使用ls判断程序是否正常运行,否则用t3重新打开

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant