Soloist download failure logs no underlying cause
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with src/infra/soloist/download.rs, especially run and fetch, and inspect how download errors and their source chain are logged. Reproduce or trace a body read failure, then check whether its underlying cause reaches the warning and whether a single retry is appropriate. Done when the warning exposes the cause and the issue’s expected retry behavior is addressed.
索引モデルが issue の本文から書いたものです。
説明
What happened
A user's first Soloist download failed and the log only says:
[19:14:07][spotatui::infra::soloist::download][WARN] soloist: download failed: error decoding response body
[19:14:29][spotatui::infra::soloist::download][INFO] soloist: downloaded soloist_release_x86_64.tar.gz to /home/<user>/.local/state/spotatui/soloist-bin/1793195061/soloist
The second try 22 seconds later worked. error decoding response body is reqwest's top-level text for any error while it reads the body (a reset connection, the 30 s read_timeout, a cut stream), so the log does not say which one it was. run in src/infra/soloist/download.rs logs {error} only, without the source chain.
Expected: the warning shows the underlying cause. A single automatic retry in fetch for a body read error would also have saved the user the second click.
Steps to reproduce
- Set Playback Engine to Soloist on a machine without the binary.
- Have the connection drop or stall during the download.
- The log shows
download failed: error decoding response bodyand nothing more.
Frontend
Terminal app
Source
Spotify
spotatui version
0.47.0
OS
Debian
How you installed spotatui
Download from GitHub Releases
Debug log
The two lines above are from the user's log; the rest of it is unrelated librespot audio-key errors from before the switch.
- 主要言語
- Rust
- スター
- 1.4k
- フォーク
- 238
- 平均マージ
- 11時間 35分
- マージ済み PR(30日)
- 190
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LargeModGames/spotatui のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
LargeModGames/spotatui#872 · コメント 18 件 ·
メンテナーはふだん 1 日以内に返信
-
Create Playlist: a long name runs past the input box and the cursor leaves it対応中かも @IDLinares が 2 日前に担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
LargeModGames/spotatui#829 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Text Emphasis off still bolds the selected row in every list and table対応中かも @jaopdc11 が 10 日前に担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
LargeModGames/spotatui#822 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Audio cache limit対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンenhancement
難易度 4/5 1〜2日 初心者へのやさしさ 48/100
LargeModGames/spotatui#957 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
LargeModGames/spotatui#908 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
LargeModGames/spotatui の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
libnativeapi/nativeapi#21 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
longbridge/nsh#804 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信