WebDriverException: Message: An unknown server-side error occurred while processing the command
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 20/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- android, python
- 领域
- mobile, testing-qa
调研方向
首先检查 appium-server-logs.txt 以及针对 Appium 1.21.0 报告的 adb 命令,然后使用所述的 Android 设备和 Python 或 Robot Framework 设置重现初始化过程。该 issue 没有指定 repository 文件或测试;要完成此工作,需要确定并记录 settings service 错误反复出现的原因,以及如何验证修复是否生效。
由索引模型根据 Issue 内容生成。
描述
The problem
I have been using Appium to run automation testing against our Android app on devices for more than a year now. Just till recently we kept come across this issue while to initialize the Appium.
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C:\CATA_AUTO\Android\SDK\platform-tools\adb.exe -P 5037 -s 217TCD865537 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' exited with code 20'; Stderr: 'cmd: Can't find service: settings
cmd: Can't find service: settings
cmd: Can't find service: settings'; Code: '20'
I temporary uninstall Appium then reinstall appium and it works but several days later this issue come back...
Environment
- Appium version: 1.21.0
Details
using Python as library and robot framework to run the test case.
Link to Appium Logs
I attached the appium-server-logs
appium-server-logs.txt
Code To reproduce issue
- 主要语言
- Python
- 星标
- 1.8k
- 派生
- 570
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 24
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
appium/python-client 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
appium/python-client#1230 · 1 条评论 ·
-
question
难度 4/5 3-5 天 新手友好度 25/100
appium/python-client#1168 · 9 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
appium/python-client#1147 · 7 条评论 ·
-
难度 3/5 1-2 天 新手友好度 38/100
appium/python-client#1091 · 4 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
appium/python-client#1076 · 2 条评论 ·
查看 appium/python-client 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 84/100
gradio-app/gradio#13895 ·
-
build-error
难度 2/5 1-3 小时 新手友好度 76/100
spack/spack-packages#6713 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
ActivityWatch/activitywatch#1464 · 1 个 reaction ·
-
[Bug]: The ckg tool drops the return type of every decorated Python method in class search results 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
bytedance/trae-agent#483 ·