WebDriverException: Message: An unknown server-side error occurred while processing the command
維護者通常 3 天內回覆
還沒有人認領這個 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
環境準備
我們還沒有檢查這個專案的環境設定檔。先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
appium/python-client 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
appium/python-client#1230 · 1 則留言 ·
維護者通常 3 天內回覆
-
question
難度 4/5 3-5 天 新手友好度 25/100
appium/python-client#1168 · 9 則留言 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 55/100
appium/python-client#1147 · 7 則留言 ·
維護者通常 3 天內回覆
-
難度 3/5 1-2 天 新手友好度 38/100
appium/python-client#1091 · 4 則留言 ·
維護者通常 3 天內回覆
-
難度 4/5 3-5 天 新手友好度 25/100
appium/python-client#1076 · 2 則留言 ·
維護者通常 3 天內回覆
查看 appium/python-client 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
solana-foundation/pay-kit#341 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
nasa/python_cmr#123 ·
-
難度 1/5 1 小時以內 新手友好度 92/100
EleutherAI/lm-evaluation-harness#4243 ·
維護者通常 1 天內回覆
-
area: dashboard bug perceived difficulty: 3
難度 2/5 1-3 小時 新手友好度 88/100
Nitjsefnie-Harness-Commons/daedalus#1179 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
cusp-ai-oss/tojax#17 ·