Opened 7 years ago

Closed 6 years ago

Last modified 2 years ago

#3075 closed bug (Fixed)

config command not handling windows paths

Reported by: Cas Owned by:
Priority: minor Milestone: Future
Component: Console UI Version: 1.3-stable
Keywords: Cc:


console config commmand is not handling windows paths (C:\)

"C:/Program Files/Deluge/deluge-console.exe" config --set move_completed_path C:/Users/user/Download
[ERROR   ] 22:58:55 main:347 malformed expression (C)
Traceback (most recent call last):
  File "deluge\ui\console\", line 344, in do_command
  File "deluge\ui\console\commands\", line 102, in handle
  File "deluge\ui\console\commands\", line 136, in _set_config
  File "deluge\ui\console\commands\", line 85, in simple_eval
  File "deluge\ui\console\commands\", line 77, in atom
SyntaxError: malformed expression (C)

Change History (3)

comment:1 Changed 7 years ago by Cas

The workaround for now is to substitute C:/ for / as Deluge will treat them the same on Windows.

So C:/Users/user/Download == /Users/user/Download

comment:2 Changed 6 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

Fixed: [b8e5ebe82]

comment:3 Changed 2 years ago by Cas

  • Milestone changed from 1.3.16 to Future

Ticket retargeted after milestone deleted

Note: See TracTickets for help on using tickets.