Opened 4 years ago

Closed 3 years ago

#3409 closed bug (Fixed)

Make deluge-console work on Windows for command line automation

Reported by: petersasi Owned by:
Priority: major Milestone: 2.0.4
Component: Console UI Version: 2.0.3
Keywords: windows-curses Cc:

Description

  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

Attachments (1)

consoleCommandLineOnWin.patch (586 bytes ) - added by petersasi 4 years ago.
make deluge-console work in non-interactive command line on Windows

Download all attachments as: .zip

Change History (2)

by petersasi, 4 years ago

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

comment:1 by Calum, 3 years ago

Milestone: needs verified2.0.4
Resolution: Fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.