Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

WebDriverException: Message: An unknown server-side error occurred while processing the command

未關閉
#805 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 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,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

appium/python-client 的其他 Issue

查看 appium/python-client 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。