Discussion:
[Deluge] #3075: config command not handling windows paths
Deluge
2017-06-23 15:17:49 UTC
Permalink
#3075: config command not handling windows paths
------------------------+------------------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 1.3.16
Component: Console UI | Version: 1.3-stable (git)
Keywords: |
------------------------+------------------------------
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\main.py", line 344, in do_command
File "deluge\ui\console\commands\config.py", line 102, in handle
File "deluge\ui\console\commands\config.py", line 136, in _set_config
File "deluge\ui\console\commands\config.py", line 85, in simple_eval
File "deluge\ui\console\commands\config.py", line 77, in atom
SyntaxError: malformed expression (C)
}}}

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3075>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups "Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to deluge-dev+***@googlegroups.com.
To post to this group, send email to deluge-***@googlegroups.com.
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.
Deluge
2017-06-23 15:22:05 UTC
Permalink
#3075: config command not handling windows paths
-------------------------+------------------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 1.3.16
Component: Console UI | Version: 1.3-stable (git)
Resolution: | Keywords:
-------------------------+------------------------------

Comment (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`

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3075#comment:1>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups "Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to deluge-dev+***@googlegroups.com.
To post to this group, send email to deluge-***@googlegroups.com.
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.
Deluge
2017-11-05 17:33:20 UTC
Permalink
#3075: config command not handling windows paths
-------------------------+------------------------------
Reporter: Cas | Owner:
Type: bug | Status: closed
Priority: minor | Milestone: 1.3.16
Component: Console UI | Version: 1.3-stable (git)
Resolution: Fixed | Keywords:
-------------------------+------------------------------
Changes (by Cas):

* status: new => closed
* resolution: => Fixed


Comment:

Fixed: [b8e5ebe82]

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3075#comment:2>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups "Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to deluge-dev+***@googlegroups.com.
To post to this group, send email to deluge-***@googlegroups.com.
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...