#2117: Wrong path separator is sent to unix daemon from windows gui
---------------------------------------------+------------------------------
Reporter: Winand | Owner:
Type: defect | Status: new
Priority: major | Milestone: Future
Component: gtkui | Version: 1.3.5
Keywords: windows, path separator, daemon |
---------------------------------------------+------------------------------
Install daemon on unix-based os with slash separator.
Connect to daemon from Windows gtkui.
Open Add torrent dialog. Paths within torrent are separated with Windows
native backslash ("\").
When task is sent to daemon it takes backslashes as part of filename.
I made a dirty hack so all native seps are replaced with slash before
sending task to deluged. But we cannot know that slash is native for
remote daemon, so this is not a good solution.
{{{
while row != None:
torrent_id = self.torrent_liststore.get_value(row, 0)
filename = self.torrent_liststore.get_value(row,
2).replace(os.path.sep, '/') #WA
}}}
This is discussed here http://forum.deluge-
torrent.org/viewtopic.php?f=12&t=36329
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2117>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.