Opened 3 weeks ago

#3409 new bug

Make deluge-console work on Windows for command line automation

Reported by: petersasi Owned by:
Priority: major Milestone: needs verified
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 3 weeks ago.
make deluge-console work in non-interactive command line on Windows

Download all attachments as: .zip

Change History (1)

Changed 3 weeks ago by petersasi

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

Note: See TracTickets for help on using tickets.