I had the same problem with version 0.5.4 on Feisty, by installing your binary for i386.
Only for some torrents, they are paused and resumed continuosly. It seems now ok by setting compact allocation.
Thanks and good work.
Bye
Deluge keeps pause and resume by itself.
Re: Deluge keeps pause and resume by itself.
Thanks!markybob wrote:ok, i've committed the change to svn trunk. give rev 1310 a shot and let me know how full allocation works or doesnt work
Bummer, it doesn't work. I have tried to do add like this:
Code: Select all
#if defined(__FreeBSD__)
// for statfs()
#include <sys/param.h>
#include <sys/mount.h>
#endif
I think, you should keep this patch in case if someone is using Linux and mount in UFS2.
Re: Deluge keeps pause and resume by itself.
mezz: have you tried to compile libtorrent without -DNDEBUG=1 ? It's in setup.py line 104. Then libtorrent will write buf.f_type in storage.cpp line 1035 and this is the magic number what it expects to enable sparsed files support for specific filesystem.
Re: Deluge keeps pause and resume by itself.
No, I haven't tried until now. The output is strange. It displays as 'buf.f_type 5'. I am not sure where it gets from. I went ahead to skip check on the filesystem by using this patch:plisk wrote:mezz: have you tried to compile libtorrent without -DNDEBUG=1 ? It's in setup.py line 104. Then libtorrent will write buf.f_type in storage.cpp line 1035 and this is the magic number what it expects to enable sparsed files support for specific filesystem.
http://people.freebsd.org/~mezz/diff/pa ... torage.cpp
It works great so far, I can see Deluge creates fake files with size. I will committing it in our ports tree, so it's your choice if you want to use this patch or not since it's hack.
While I am here, is it normal for Deluge to leave the fake files when I remove the torrent from Deluge? I selected which file I want to download, so when I deleted torrent from Deluge and the fake files are still in directory.
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: Deluge keeps pause and resume by itself.
i've committed it to svn trunkmezz wrote:No, I haven't tried until now. The output is strange. It displays as 'buf.f_type 5'. I am not sure where it gets from. I went ahead to skip check on the filesystem by using this patch:plisk wrote:mezz: have you tried to compile libtorrent without -DNDEBUG=1 ? It's in setup.py line 104. Then libtorrent will write buf.f_type in storage.cpp line 1035 and this is the magic number what it expects to enable sparsed files support for specific filesystem.
http://people.freebsd.org/~mezz/diff/pa ... torage.cpp
It works great so far, I can see Deluge creates fake files with size. I will committing it in our ports tree, so it's your choice if you want to use this patch or not since it's hack.
While I am here, is it normal for Deluge to leave the fake files when I remove the torrent from Deluge? I selected which file I want to download, so when I deleted torrent from Deluge and the fake files are still in directory.
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: Deluge keeps pause and resume by itself.
yes...i'll fix this.mezz wrote:While I am here, is it normal for Deluge to leave the fake files when I remove the torrent from Deluge? I selected which file I want to download, so when I deleted torrent from Deluge and the fake files are still in directory.
Re: Deluge keeps pause and resume by itself.
Umm... I am not sure why libtorrent/src/storage.cpp has been changed without test on FreeBSD? There are two problems:
1) It doesn't build, because of two missing include of headers for statfs(). See my old comments above about that (sys/param.h and sys/mount.h).
2) After fix that build, it still doesn't work in the runtime. Again, see my old comments above.
Update patch: http://people.freebsd.org/~mezz/diff/pa ... torage.cpp
1) It doesn't build, because of two missing include of headers for statfs(). See my old comments above about that (sys/param.h and sys/mount.h).
2) After fix that build, it still doesn't work in the runtime. Again, see my old comments above.
Update patch: http://people.freebsd.org/~mezz/diff/pa ... torage.cpp
Re: Deluge keeps pause and resume by itself.
mezz: i'd better submit issue with FreeBSD directly to libtorrent's trac, so you can discuss all of it with the author of libtorrent itself without deluge being a mediator.
Re: Deluge keeps pause and resume by itself.
http://forum.deluge-torrent.org/viewtop ... &sk=t&sd=a
same problem with ubuntu Gutsy Gibbon Beta, all updates installed, I am using NAT, could this be the problem?
Transmission and every other client works but I do not like them, deluge rocks!
same problem with ubuntu Gutsy Gibbon Beta, all updates installed, I am using NAT, could this be the problem?
Transmission and every other client works but I do not like them, deluge rocks!