Page 2 of 2

Re: [NTFS] Full Allocation, Sparse Files and 20.000 Fragment

Posted: Tue Sep 23, 2014 11:33 pm
by Cas
The workaround for Windows is to download from git the torrentmanager.py file for the release you are using e.g. for 1.3.7: https://github.com/deluge-torrent/delug ... manager.py

Edit the value as I mentioned in earlier post and copy into "Program Files/Deluge/deluge1.3.7.egg/core/" (can't remember exact path)

It is important to ensure your text editor does not change line endings or indent type.

Re: [NTFS] Full Allocation, Sparse Files and 20.000 Fragment

Posted: Wed Sep 24, 2014 12:03 pm
by robnitro
Thank you! I saw .pyc file in core for that but wasn't sure if they were interchangeable!

To all the windows guys:
Use notepad++ as it works well for me when I was changing scripting in openwrt qos scripts.

Edit: Just saw you are from Scotland!
The vote was rigged... I learned so much from http://www.sott.net about it.

Re: [NTFS] Full Allocation, Sparse Files and 20.000 Fragment

Posted: Mon Oct 20, 2014 1:58 pm
by Locutus266
Keep in mid folks: Modifying torrentmanager.py setting "storage_mode=0" caused regular data corruption on my system meaing torrents were marked as finished but data was corrupt. Force re-checking helped, but I would NOT recommend it.

Re: [NTFS] Full Allocation, Sparse Files and 20.000 Fragment

Posted: Mon Nov 03, 2014 11:31 pm
by robnitro
Odd, I have had no issues using this... on 1.3.8 1.3.9 1.3.10 win 7 x64
set to zero.
"
# Set the right storage_mode
if options["compact_allocation"]:
storage_mode = lt.storage_mode_t(2)
else:
storage_mode = lt.storage_mode_t(0)
"

by storage_mode = 0 do you mean what I posted here or did you literally put
"storage_mode = 0" omitting the lt.storage_mode_t(0)?

Re: [NTFS] Full Allocation, Sparse Files and 20.000 Fragment

Posted: Tue Nov 04, 2014 8:39 am
by Locutus266
Hey,

Good thing that you point out the correct syntax.

I think removed the if-then-else thing and just put storage_mode = lt.storage_mode_t(0) (that is what I meant in the post above).

But I don't remember as it is some time ago now and I don't use Deluge anymore.

Regards
Chris