smart-test-ti / SoloX

💯SoloX - Real-time collection tool for Android/iOS performance data.(Android性能测试android performance\iOS性能测试ios performance\移动端性能测试mobile performance\APP性能测试app performance\app性能测试工具)
https://smart-test-ti.github.io/solox
MIT License
979 stars 173 forks source link

无法完成iOS的性能获取 #201

Closed 986379041 closed 1 year ago

986379041 commented 1 year ago

报错提示: Exception in thread perf :

Traceback (most recent call last):

File "D:\Program Files\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner

self.run()

File "D:\Program Files\Python\Python310\lib\threading.py", line 953, in run

self._target(*self._args, **self._kwargs)

File "\venv\lib\site-packages\solox\public\iosperf_perf.py", line 266, in append_data

for _type, data in idata:

File "\venv\lib\site-packages\solox\public\iosperf_perf.py", line 259, in iter_network_flow

"downFlow": (nstat['rx.bytes'] or 0) / 1024,

KeyError : 'rx.bytes' 以及'BaseDevice' object has no attribute 'instruments_context' 这两条报错信息

rafa0128 commented 1 year ago

你是自己更新tidevice了吗?如果是,就先卸载tidevice,再重装solox。