[BUG] deluge-console hangs on "pause *" and "resume *"
まだ誰も着手していません。
評価
調査の方向性
Start by reading the traceback entry point, deluge/ui/console/main.py at exec_args, and compare the pause/resume command with the working status command. Reproduce with the provided deluge-console invocation and check whether the command completes after applying the action. Done means pause and resume return control to the terminal without the TypeError.
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When attempting to pause (or resume) all torrents from CLI via docker exec deluge /bin/bash -c 'deluge-console -d 127.0.0.1 -p 58846 -U myuser -P mypass "pause *"' the command simply hangs. The torrents ARE correctly paused, but the exec never returns. Aborting with CTRL-C gives:
Unhandled error in Deferred:
Traceback (most recent call last):
File "/lsiopy/lib/python3.12/site-packages/twisted/internet/defer.py", line 1838, in _inlineCallbacks
result = context.run(gen.send, result)
File "/lsiopy/lib/python3.12/site-packages/deluge/ui/console/main.py", line 209, in exec_args
await commander.exec_command(cmd)
builtins.TypeError: object NoneType can't be used in 'await' expression
Note that (for example) docker exec deluge /bin/bash -c 'deluge-console -d 127.0.0.1 -p 58846 -U myuser -P mypass "status"' returns cleanly, as expected.
Expected Behavior
Torrents should be paused or resumed, and control released to the controlling terminal.
Steps To Reproduce
Standard install, no modifications. Running the exec as documented above on the host - Linux 6.8.0-146-generic - Ubuntu 24.04
Environment
- OS: Ubuntu 24.04
- How docker service was installed: packages from docker.com repo - Package: docker-ce-cli Version: 5:29.8.2-1~ubuntu.22.04~jammy
CPU architecture
x86-64
Docker creation
---
services:
deluge:
image: lscr.io/linuxserver/deluge:latest
container_name: deluge
environment:
- PUID=<hidden>
- PGID=<hidden>
- TZ=<hidden>
volumes:
- ./config:/config
- /data/downloads:/downloads
ports:
- <several-hidden>
- 58846:58846
restart: unless-stopped
Container logs
Nothing is logged during the action.
- 主要言語
- Dockerfile
- スター
- 296
- フォーク
- 89
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
EveryInc/compound-engineering-plugin#2085 ·
メンテナーはふだん 1 日以内に返信
-
`interface-diff` discards the git error when resolving its default base and reports the wrong causeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
modelcontextprotocol/servers#5636 ·
メンテナーはふだん 1 日以内に返信
-
bug ready-for-pr
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
kunchenguid/no-mistakes#1806 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
configuration enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PelicanPlatform/pelican#3977 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信