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.
[NTFS] Full Allocation, Sparse Files and 20.000 Fragments
Re: [NTFS] Full Allocation, Sparse Files and 20.000 Fragment
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.
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.
-
- New User
- Posts: 4
- Joined: Fri Sep 09, 2011 10:48 am
Re: [NTFS] Full Allocation, Sparse Files and 20.000 Fragment
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
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)?
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)?
-
- New User
- Posts: 4
- Joined: Fri Sep 09, 2011 10:48 am
Re: [NTFS] Full Allocation, Sparse Files and 20.000 Fragment
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
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