Opened 14 years ago

Closed 14 years ago

#1293 closed defect (Fixed)

deluge-console under windows doesn't like forward slashes

Reported by: Znuff Owned by:
Priority: major Milestone: 1.3
Component: Console UI Version: 1.3.0_dev
Keywords: console, slashes, paths Cc: znuffy@gmail.com

Description

deluge-console under windows doesn't like having paths passed to it with single forward slashes (\). It works with backslashes (/) and double forward slashes (
)

Example:

C:\Program Files (x86)\Deluge\Deluge-Python>deluge-console "add -p C:\torrents\dox c:\python26\scripts\test.uploadfu-0.5.1-rsr.torrent"
This is a directory!

C:\Program Files (x86)\Deluge\Deluge-Python>deluge-console "add c:\python26\scripts\test.uploadfu-0.5.1-rsr.torrent"
This is a directory!

C:\Program Files (x86)\Deluge\Deluge-Python>deluge-console "add c:\\python26\\scripts\\test.uploadfu-0.5.1-rsr.torrent"
Attempting to add torrent: c:\python26\scripts\test.uploadfu-0.5.1-rsr.torrent
Torrent added!

C:\Program Files (x86)\Deluge\Deluge-Python>deluge-console "add c:/python26/scripts/test.uploadfu-0.5.1-rsr.torrent"
Attempting to add torrent: c:/python26/scripts/test.uploadfu-0.5.1-rsr.torrent
Torrent added!

This bug has been present probably forever, first observed under 1.2.0 RC1

Change History (3)

comment:1 by Znuff, 14 years ago

Cc: znuffy@gmail.com added

comment:2 by John Garland, 14 years ago

I should point out that:

'/' is a forward slash

and

'\' is a backslash

comment:3 by John Garland, 14 years ago

Resolution: fixed
Status: newclosed

This has been fixed in 4b1d60c727b517e45c4b5cbe8729481f33eb982f and will be in 1.3 RC2.

Note: See TracTickets for help on using tickets.