Bug: Deluge fails at renaming folders in torrents.

Support forum for Deluge on Microsoft Windows OS

Bug: Deluge fails at renaming folders in torrents.

Postby deity » Tue Sep 13, 2011 5:52 pm

Client: Windows
Server: Linux

Description: If adding a torrent, eg. a whole series which has Several files ordered into one or more folders these are not possible to rename without corruping the folder structure of the torrent. If i try to rename a folder deluge will see it as a part of the file name instead of a folder.

Image
Here I've added a torent as an example

Image
I change the folder name, and deluge client auto adds a backslash to whatever I put as a name. I thought this was since it was a folder, but apparently it is just a string that gets passed. I tried adding a forward slash to make it Linux compliant, but this just results in a /\

Image
It i quite obvious even in deluge that there are some serious bugs associated with renaming folders but what the hell let's give it the benefit of the doubt....

Image
Ah.. the lovely.. oh.. yeah.. no.. it buches the whole directory structure into the filename, as soon as a folder is renamed deluge will not handle it as a folder anymore but sees it as a substring in the filename of the resulting file.
deity
Member
Member
 
Posts: 10
Joined: Tue Nov 02, 2010 11:35 pm

Re: Bug: Deluge fails at renaming folders in torrents.

Postby Cas » Wed Sep 14, 2011 1:10 am

what versions are Deluge on client and server?
Cas
Developer
Developer
 
Posts: 2264
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Bug: Deluge fails at renaming folders in torrents.

Postby deity » Sun Sep 25, 2011 12:30 am

Both are 1.3.3
deity
Member
Member
 
Posts: 10
Joined: Tue Nov 02, 2010 11:35 pm

Re: Bug: Deluge fails at renaming folders in torrents.

Postby Cas » Sun Sep 25, 2011 1:10 am

Hmm thought I'd cracked the problem of Windows to Linux file renames for 1.3.3, I'll look into it.

There a ticket somewhere that can be reopened for this so its not forgotten about.
Cas
Developer
Developer
 
Posts: 2264
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Bug: Deluge fails at renaming folders in torrents.

Postby Cas » Sun Sep 25, 2011 5:31 pm

Found the issue and put together a fix: https://github.com/cas--/Deluge/commit/e9d0f94ca7
Cas
Developer
Developer
 
Posts: 2264
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland


Return to Windows OS

Who is online

Users browsing this forum: No registered users and 1 guest