Traceback (most recent call last):
File "site-packages/tidevice/_device.py", line 502, in start_service
File "site-packages/tidevice/_device.py", line 521, in _unsafe_start_service
tidevice.exceptions.MuxServiceError: InvalidService
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "airtest/cli/runner.py", line 75, in runTest
File "site-packages/six.py", line 703, in reraise
File "airtest/cli/runner.py", line 72, in runTest
File "/Users/mammotion/Desktop/app_cases/Binding.air/Binding.py", line 13, in <module>
start_app("com.agilexrobotics",bundle_id)
File "airtest/utils/logwraper.py", line 131, in wrapper
File "airtest/core/api.py", line 189, in start_app
File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 51, in wrapper
return func(self, *args, **kwargs)
File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 865, in start_app
return TIDevice.start_app(self.udid, bundle_id)
File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 71, in wrapper
return func(*args, **kwargs)
File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 215, in start_app
BaseDevice(udid, Usbmux()).app_start(bundle_id=bundle_id)
File "site-packages/tidevice/_device.py", line 724, in app_start
File "<decorator-gen-12>", line 2, in connect_instruments
File "site-packages/retry/api.py", line 74, in retry_decorator
File "site-packages/retry/api.py", line 33, in __retry_internal
File "site-packages/tidevice/_device.py", line 819, in connect_instruments
File "site-packages/tidevice/_device.py", line 504, in start_service
File "site-packages/tidevice/_device.py", line 680, in mount_developer_image
File "contextlib.py", line 81, in __enter__
File "site-packages/tidevice/_device.py", line 630, in _request_developer_image_dir
File "site-packages/tidevice/_imagemounter.py", line 95, in cache_developer_image
File "site-packages/tidevice/_imagemounter.py", line 83, in cache_developer_image
File "<decorator-gen-10>", line 2, in _urlretrieve
File "site-packages/retry/api.py", line 74, in retry_decorator
File "site-packages/retry/api.py", line 33, in __retry_internal
File "site-packages/tidevice/_imagemounter.py", line 30, in _urlretrieve
File "site-packages/requests/models.py", line 941, in raise_for_status
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://github.com/JinjunHan/iOSDeviceSupport/raw/master/iOSDeviceSupport/17.3.zip
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)
(重要!问题分类)
描述问题bug iOS 使用start_app报错
相关截图
复现步骤
预期效果 正常启动app
python 版本:
python3.9
airtest 版本:
1.3.3
设备:
其他相关环境信息 stop_app还有touch等操作都正常