WebDriverException: Message: An unknown server-side error occurred while processing the command
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 1.8k
- フォーク
- 570
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 24
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず appium-server-logs.txt と、Appium 1.21.0 で報告された adb コマンドを確認し、次に、記載されている Android デバイスと Python または Robot Framework のセットアップで初期化を再現します。この issue にはリポジトリのファイルもテストも記載されていないため、完了するには settings service エラーが再発する理由と、修正を検証する方法を特定して文書化する必要があります。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, python
- 領域
- mobile, testing-qa
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100