Open wangqr opened 7 years ago
I'll look into it, I'm not sure why utorrent would allow a trailing slash, but it should be easy enough to scrub it when importing into deluge.
If user select the root folder of a drive (e.g. G:\
) as the target directory, uTorrent will always add a trailing slash. I'm not sure if deluge allows to do so.
I couldn't replicate this error:
The name seems to be missing on the log, but it still imports and begins seeding without trouble. I've tried both with and without the create subfolder
checkbox. What version of utorrent and deluge are you using?
Sorry I forgot to provide the version. I am using uTorrent 2.0.4, which does not have a "Create Subfolder" option.
Deluge 1.3.14 with uTorrentImport 2.3.6beta. I was not checking the "Preserve Date Added" and "Resume after Adding" option.
I also tried checking those two options, but the only difference is the imported torrent start to download right away. Deluge still download to the subfolder. (see "Progress" in the screenshot)
D:\
KNOPPIX_V7.2.0CD-2013-06-16-EN\
KNOPPIX_V7.2.0CD-2013-06-16-EN\ <-- Deluge creates this folder and download into it
dpkg-l-cd-720 -\
KNOPPIX_V7.2.0CD-2013-06-16-EN.iso > These files are created by uTorrent
KNOPPIX_V7.2.0CD-2013-06-16-EN.iso.md5 -/
...
To reproduce the bug:
G:\KNOPPIX_V7.2.0CD-2013-06-16-EN\
)[ERROR ] 00:24:12 torrent:1058 Attempting to rename a folder with an invalid folder name:
G:\KNOPPIX_V7.2.0CD-2013-06-16-EN\KNOPPIX_V7.2.0CD-2013-06-16-EN\
)Expected behaviour: Deluge recheck the files downloaded by uTorrent and start seeding.