[Deluge] #3409: Make deluge-console work on Windows for command line automation

2 views
Skip to first unread message

Deluge

unread,
Jun 21, 2020, 2:50:40 AM6/21/20
to delug...@googlegroups.com
#3409: Make deluge-console work on Windows for command line automation
----------------------------+----------------------------
Reporter: petersasi | Type: bug
Status: new | Priority: major
Milestone: needs verified | Component: Console UI
Version: 2.0.3 | Keywords: windows-curses
----------------------------+----------------------------
1. Python does not support and include ncurses on Windows.
2. Windows-Curses https://pypi.org/project/windows-curses/ can be
installed with pip, which adds support for the standard Python curses
module on Windows. Uses the PDCurses curses implementation.
3. Without this patch however it bails out claiming the module 'signal'
has no attribute 'SIGWINCH'.
4. This patch passes on the AttributeError above.
5. This makes the below sample commands run and complete as intented:
deluge-console.exe status
deluge-console.exe info

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3409>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
Jun 21, 2020, 2:51:45 AM6/21/20
to delug...@googlegroups.com
#3409: Make deluge-console work on Windows for command line automation
-------------------------+----------------------------
Reporter: petersasi | Owner:

Type: bug | Status: new
Priority: major | Milestone: needs verified
Component: Console UI | Version: 2.0.3
Resolution: | Keywords: windows-curses
-------------------------+----------------------------
Changes (by petersasi):

* Attachment "consoleCommandLineOnWin.patch" added.

make deluge-console work in non-interactive command line on Windows

Deluge

unread,
Aug 2, 2021, 3:20:04 AM8/2/21
to delug...@googlegroups.com
#3409: Make deluge-console work on Windows for command line automation
-------------------------+----------------------------
Reporter: petersasi | Owner:
Type: bug | Status: closed
Priority: major | Milestone: 2.0.4

Component: Console UI | Version: 2.0.3
Resolution: Fixed | Keywords: windows-curses
-------------------------+----------------------------
Changes (by Cas):

* status: new => closed
* resolution: => Fixed
* milestone: needs verified => 2.0.4


Comment:

Thanks merged a modified version of this into develop [b89b2c45b145c]

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3409#comment:1>

Reply all
Reply to author
Forward
0 new messages