tidevice.exceptions.MuxServiceError: InvalidService
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 469
- PR merge metrics
- No merged PRs in 30d
Description
```shell
[W 240323 12:00:44 _wdaproxy:65] [00008101-001A350A36D0001E] Unknown exception: request() got an unexpected keyword argument 'chunked'
[E 240323 12:00:44 _wdaproxy:153] [00008101-001A350A36D0001E] wda started failed
[D 240323 12:00:44 _wdaproxy:134] [00008101-001A350A36D0001E] launch WDA
[W 240323 12:00:44 _wdaproxy:65] [00008101-001A350A36D0001E] Unknown exception: request() got an unexpected keyword argument 'chunked'
[I 240323 12:00:45 _device:996] BundleID: com.zeelyn.WebDriverAgentRunner.xctrunner
[I 240323 12:00:45 _device:1023] ProductVersion: 17.4.1
[I 240323 12:00:45 _device:1024] UDID: 00008101-001A350A36D0001E
Traceback (most recent call last):
File "E:\GitHub\AndroidAppReptile\.venv\lib\site-packages\tidevice\_device.py", line 501, in start_service
return self._unsafe_start_service(name)
File "E:\GitHub\AndroidAppReptile\.venv\lib\site-packages\tidevice\_device.py", line 520, in _unsafe_start_service
raise MuxServiceError(error)
tidevice.exceptions.MuxServiceError: InvalidService
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:\Program Files\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "F:\Program Files\Python\Python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "E:\GitHub\AndroidAppReptile\.venv\lib\site-packages\tidevice\__main__.py", line 1032, in
main()
File "E:\GitHub\AndroidAppReptile\.venv\lib\site-packages\tidevice\__main__.py", line 1027, in main
actions[args.subparser](args)
File "E:\GitHub\AndroidAppReptile\.venv\lib\site-packages\tidevice\__main__.py", line 300, in cmd_xcuitest
d.runwda(args.bundle_id,
File "E:\GitHub\AndroidAppReptile\.venv\lib\site-packages\tidevice\_device.py", line 997, in runwda
return self.xcuitest(bundle_id, target_bundle_id=target_bundle_id,
File "E:\GitHub\AndroidAppReptile\.venv\lib\site-packages\tidevice\_device.py", line 1034, in xcuitest
x1 = self._connect_testmanagerd_lockdown()
File "E:\GitHub\AndroidAppReptile\.venv\lib\site-packages\tidevice\_device.py", line 802, in _connect_testmanagerd_lockdown
conn = self.start_service(
File "E:\GitHub\AndroidAppReptile\.venv\lib\site-packages\tidevice\_device.py", line 503, in start_service
self.mount_developer_image()
File "E:\GitHub\AndroidAppReptile\.venv\lib\site-packages\tidevice\_device.py", line 674, in mount_developer_image
raise ServiceError("DeveloperImage not found")
tidevice.exceptions.ServiceError: DeveloperImage not found
[W 240323 12:00:45 _wdaproxy:65] [00008101-001A350A36D0001E] Unknown exception: request() got an unexpected keyword argument 'chunked'
[E 240323 12:00:45 _wdaproxy:153] [00008101-001A350A36D0001E] wda started failed
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the xcuitest/WDA path on iOS 17.4.1, then read _wdaproxy.py around the request call and _device.py around start_service, mount_developer_image, and xcuitest. Done means the reported request error is resolved and WDA can start without the InvalidService or DeveloperImage not found failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, python
- Domain
- mobile-dev, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100