You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tidevice运行过程偶发报错:Exception in thread perf......._queue.Empty` 环境信息:
Python 3.8.8
iPhone 8 Plus 15.3.1
macOS Big Sur 11.3.1
tidevice,Version: 0.7.13
USB连接,
(1)第一种报错信息:Exception in thread perf: Exception in thread perf: Traceback (most recent call last): File "/Users/xxx/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/Users/xxx/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 260, in append_data for _type, data in idata: File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 221, in iter_cpu_memory for minfo in _iter_complex_cpu_memory(d, rp): # d.iter_cpu_mem(bundle_id): File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 149, in _iter_complex_cpu_memory for info in d.instruments.iter_cpu_memory(): File "/Library/Python/3.8/site-packages/tidevice/_instruments.py", line 916, in iter_cpu_memory channel_id = self.make_channel(InstrumentsService.Sysmontap) File "/Library/Python/3.8/site-packages/tidevice/_instruments.py", line 318, in make_channel result = self.call_message(0, '_requestChannelWithCode:identifier:', aux) File "/Library/Python/3.8/site-packages/tidevice/_instruments.py", line 363, in call_message return self.wait_reply(_id).result File "/Library/Python/3.8/site-packages/tidevice/_instruments.py", line 564, in wait_reply ret = self._reply_queues[message_id].get(timeout=timeout) File "/Users/rongsong/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/queue.py", line 178, in get raise Empty _queue.Empty
Exception in thread perf: Traceback (most recent call last): File "/Users/xxx/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/Users/xxx/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 260, in append_data for _type, data in idata: File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 221, in iter_cpu_memory for minfo in _iter_complex_cpu_memory(d, rp): # d.iter_cpu_mem(bundle_id): File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 149, in _iter_complex_cpu_memory for info in d.instruments.iter_cpu_memory(): File "/Library/Python/3.8/site-packages/tidevice/_device.py", line 808, in instruments return self.connect_instruments() File "/Library/Python/3.8/site-packages/tidevice/_device.py", line 800, in connect_instruments conn = self.start_service( File "/Library/Python/3.8/site-packages/tidevice/_device.py", line 492, in start_service return self._unsafe_start_service(name) File "/Library/Python/3.8/site-packages/tidevice/_device.py", line 528, in _unsafe_start_service conn = self.create_inner_connection(data['Port'], _ssl=_ssl, ssl_dial_only=ssl_dial_only) File "/Library/Python/3.8/site-packages/tidevice/_device.py", line 306, in create_inner_connection conn.switch_to_ssl(self.ssl_pemfile_path) File "/Library/Python/3.8/site-packages/tidevice/_safe_socket.py", line 132, in switch_to_ssl ssock = context.wrap_socket(self._sock, server_hostname="iphone.localhost") File "/Users/xxx/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "/Users/rongsong/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ssl.py", line 1019, in _create self.getpeername() OSError: [Errno 22] Invalid argument
The text was updated successfully, but these errors were encountered:
tidevice运行过程偶发报错:Exception in thread perf......._queue.Empty`
环境信息:
USB连接,
(1)第一种报错信息:Exception in thread perf:
Exception in thread perf: Traceback (most recent call last): File "/Users/xxx/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/Users/xxx/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 260, in append_data for _type, data in idata: File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 221, in iter_cpu_memory for minfo in _iter_complex_cpu_memory(d, rp): # d.iter_cpu_mem(bundle_id): File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 149, in _iter_complex_cpu_memory for info in d.instruments.iter_cpu_memory(): File "/Library/Python/3.8/site-packages/tidevice/_instruments.py", line 916, in iter_cpu_memory channel_id = self.make_channel(InstrumentsService.Sysmontap) File "/Library/Python/3.8/site-packages/tidevice/_instruments.py", line 318, in make_channel result = self.call_message(0, '_requestChannelWithCode:identifier:', aux) File "/Library/Python/3.8/site-packages/tidevice/_instruments.py", line 363, in call_message return self.wait_reply(_id).result File "/Library/Python/3.8/site-packages/tidevice/_instruments.py", line 564, in wait_reply ret = self._reply_queues[message_id].get(timeout=timeout) File "/Users/rongsong/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/queue.py", line 178, in get raise Empty _queue.Empty
(2) 另外一个报错:`Exception in thread perf: ........self.getpeername() OSError: [Errno 22] Invalid argument
Exception in thread perf: Traceback (most recent call last): File "/Users/xxx/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/Users/xxx/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 260, in append_data for _type, data in idata: File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 221, in iter_cpu_memory for minfo in _iter_complex_cpu_memory(d, rp): # d.iter_cpu_mem(bundle_id): File "/Library/Python/3.8/site-packages/tidevice/_perf.py", line 149, in _iter_complex_cpu_memory for info in d.instruments.iter_cpu_memory(): File "/Library/Python/3.8/site-packages/tidevice/_device.py", line 808, in instruments return self.connect_instruments() File "/Library/Python/3.8/site-packages/tidevice/_device.py", line 800, in connect_instruments conn = self.start_service( File "/Library/Python/3.8/site-packages/tidevice/_device.py", line 492, in start_service return self._unsafe_start_service(name) File "/Library/Python/3.8/site-packages/tidevice/_device.py", line 528, in _unsafe_start_service conn = self.create_inner_connection(data['Port'], _ssl=_ssl, ssl_dial_only=ssl_dial_only) File "/Library/Python/3.8/site-packages/tidevice/_device.py", line 306, in create_inner_connection conn.switch_to_ssl(self.ssl_pemfile_path) File "/Library/Python/3.8/site-packages/tidevice/_safe_socket.py", line 132, in switch_to_ssl ssock = context.wrap_socket(self._sock, server_hostname="iphone.localhost") File "/Users/xxx/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "/Users/rongsong/xcode/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ssl.py", line 1019, in _create self.getpeername() OSError: [Errno 22] Invalid argument
The text was updated successfully, but these errors were encountered: