Comments (22)
忘记打包这个配置文件了,2.8.4已解决
from solox.
忘记打包这个配置文件了,2.8.4已解决
[I 231127 13:38:00 common:155] Connected devices: ['00008101-001238D10A00001E']
[I 231127 13:38:00 common:247] Clean up useless files ...
[I 231127 13:38:00 common:874] stop scrcpy process
[I 231127 13:38:00 common:254] Clean up useless files success
error: device 'None' not found
[W 231127 13:38:01 common:107] com.tzt.iphone2: no pid found
[E 231127 13:38:01 apm:291] [Network] com.tzt.iphone2 : No process found
from solox.
忘记打包这个配置文件了,2.8.4已解决
大佬执行时长在哪配置了
from solox.
忘记打包这个配置文件了,2.8.4已解决
[I 231127 13:38:00 common:155] Connected devices: ['00008101-001238D10A00001E'] [I 231127 13:38:00 common:247] Clean up useless files ... [I 231127 13:38:00 common:874] stop scrcpy process [I 231127 13:38:00 common:254] Clean up useless files success error: device 'None' not found [W 231127 13:38:01 common:107] com.tzt.iphone2: no pid found [E 231127 13:38:01 apm:291] [Network] com.tzt.iphone2 : No process found
日志不是说了吗
from solox.
忘记打包这个配置文件了,2.8.4已解决
大佬执行时长在哪配置了
去掉了
from solox.
忘记打包这个配置文件了,2.8.4已解决
大佬执行时长在哪配置了
去掉了
python api如何自动停止并生成报告。
from solox.
我还是加上duration吧,等下个版本。这次给你们停止的方法,就是为了给你们自定义怎么停止
from solox.
忘记打包这个配置文件了,2.8.4已解决
[I 231127 13:38:00 common:155] Connected devices: ['00008101-001238D10A00001E'] [I 231127 13:38:00 common:247] Clean up useless files ... [I 231127 13:38:00 common:874] stop scrcpy process [I 231127 13:38:00 common:254] Clean up useless files success error: device 'None' not found [W 231127 13:38:01 common:107] com.tzt.iphone2: no pid found [E 231127 13:38:01 apm:291] [Network] com.tzt.iphone2 : No process found
日志不是说了吗
用python api会报这个错误。无论是用win还是用mac
from solox.
这个是因为你没启动app吧?一直报吗?还有你的id有点像ios,你是不是platform传了Android?ios是没有检测进程的
from solox.
这个是因为你没启动app吧?一直报吗?还有你的id有点像ios,你是不是platform传了Android?ios是没有检测进程的
一直启动着app的。是ios platform='iOS'。
如果用界面去运行ios,15分钟左右,api会报错
[I 231128 14:15:59 common:854] stop scrcpy process
[I 231128 14:16:00 common:234] Clean up useless files success
[E 231128 14:16:03 apis:214] get cpu failed
[E 231128 14:16:03 apis:215] connection closed
Traceback (most recent call last):
File "D:\Python311\Lib\site-packages\solox\view\apis.py", line 211, in getCpuRate
appCpuRate, systemCpuRate = cpu.getCpuRate()
^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\solox\public\apm.py", line 131, in getCpuRate
appCpuRate, systemCpuRate = self.getAndroidCpuRate(noLog) if self.platform == Platform.Android else self.getiOSCpuRate(noLog)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\solox\public\apm.py", line 122, in getiOSCpuRate
sysCpuRate = round(float(apm.getPerformance(apm.cpu)[1]), 2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\solox\public\apm.py", line 416, in getPerformance
perf_value = perf.start(self.pkgName, callback=self.callback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\solox\public_iosPerf.py", line 321, in start
_perfValue = self._thread_start(callback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\solox\public_iosPerf.py", line 341, in _thread_start
_perfValue = append_data(self._wg, self._stop_event, it, callback, self._perfs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\solox\public_iosPerf.py", line 273, in append_data
for _type, data in idata:
File "D:\Python311\Lib\site-packages\solox\public_iosPerf.py", line 238, in iter_cpu
for minfo in _iter_complex_cpu_memory(d, rp): # d.iter_cpu_mem(bundle_id):
File "D:\Python311\Lib\site-packages\solox\public_iosPerf.py", line 157, in _iter_complex_cpu_memory
for info in ts.iter_cpu_memory():
File "D:\Python311\Lib\site-packages\tidevice_instruments.py", line 919, in iter_cpu_memory
channel_id = self.make_channel(InstrumentsService.Sysmontap)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\tidevice_instruments.py", line 318, in make_channel
result = self.call_message(0, '_requestChannelWithCode:identifier:', aux)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\tidevice_instruments.py", line 363, in call_message
return self.wait_reply(_id).result
^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\tidevice_instruments.py", line 568, in wait_reply
raise MuxError("connection closed")
tidevice.exceptions.MuxError: connection closed
Process SpawnPoolWorker-2:
Traceback (most recent call last):
Traceback (most recent call last):
File "D:\Python311\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "D:\Python311\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "D:\Python311\Lib\multiprocessing\pool.py", line 114, in worker
task = get()
^^^^^
from solox.
你这个又不是上面的问题啊,connection closed,tidevice连接失败了。
from solox.
你这个又不是上面的问题啊,connection closed,tidevice连接失败了。
from solox.
你这个又不是上面的问题啊,connection closed,tidevice连接失败了。
2.8.5最新版本
from solox.
这个是因为你没启动app吧?一直报吗?还有你的id有点像ios,你是不是platform传了Android?ios是没有检测进程的
只报了一次在开始阶段
[I 231128 14:26:11 common:854] stop scrcpy process
[I 231128 14:26:11 common:234] Clean up useless files success
error: device 'None' not found
[W 231128 14:26:12 common:107] com.tzt.iphone2: no pid found
[E 231128 14:26:12 apm:291] [Network] com.tzt.iphone2 : No process found
只报了 [Network] 的吗?
from solox.
ok,发现问题
from solox.
ok,发现问题
大佬辛苦!
界面应该没有问题,上面tidevice连接失败,我这边控制不了
from solox.
ok,发现问题
-----分割线------
使用mac界面运行,会有 /bin/sh:adb:command not found server error问题,跟win端是不是一样的问题
from solox.
别在这里说了,还能用吗?
from solox.
确定是2.8.5报的吗?有点像老版本才会有这个问题
这个问题我以前解决过,是因为安卓加了进程这个选项,ios没有也传过去了
from solox.
确定是2.8.5报的吗?有点像老版本才会有这个问题 这个问题我以前解决过,是因为安卓加了进程这个选项,ios没有也传过去了
是2.8.5 之前用的2.7版本没有出现过
from solox.
看你的界面是2.6的
from solox.
有问题就重新报个新的问题吧,不要在这说了
from solox.
Related Issues (20)
- Android手机,收集数据时,手机一直在连接的状态,感觉就是adb一直在无限重新连接,数据收集正常 HOT 1
- 启动不起来 HOT 1
- 测安卓app,fps一直都是1,保持不动,为什么 HOT 1
- 录频的报告无法播放录频 HOT 1
- 启动后一直提示设备初始化 HOT 1
- iOS一直采集不上数据是咋回事 HOT 2
- 今天跑完数据采集,保存的时候报错了 ”list index of range“ HOT 4
- 怎么能支持同时监控大于2台设备 HOT 3
- mac 测试 ios 获取不到cpu 内存 fps数据 HOT 6
- 运行命令后只执行一句就结束了 HOT 11
- 浏览器无法拉起的solox页面,显示无法访问此网站 HOT 4
- 我有个问题哈,如何获取每个页面的响应时间 HOT 2
- ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/psutil/_psutil_osx.abi3.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/psutil/_psutil_osx.abi3.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/psutil/_psutil_osx.abi3.so' (no such file), '/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/psutil/_psutil_osx.abi3.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) HOT 1
- 启动问题
- bug HOT 4
- appCpuRate计算问题 HOT 4
- solox会对WebDriverAgent工程关闭,报错Lost connection to DTServiceHub HOT 1
- 页面打开ios测试数据的报告页会报错
- 点击苹果菜单时候提示网页走丢了 HOT 4
- fps一直为13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solox.