rakshasa / libtorrent

libTorrent BitTorrent library
http://rtorrent.net/downloads/
GNU General Public License v2.0
885 stars 209 forks source link

[v0.13.7] Command "system.file_allocate.set" does not exist #178

Closed pgera closed 6 years ago

pgera commented 6 years ago

OS: RHEL 7 libtorrent config: ./configure --with-posix-fallocate rtorrent config: ./configure --with-xmlrpc-c --enable-ipv6 File system: lvm-thin + xfs

This option works with older versions of libtorrent/rtorrent on the same system

chros73 commented 6 years ago

It's called system.file.allocate.set now (and it belongs to rtorrent not libtorrent). What do you want to set it?

pgera commented 6 years ago

Thanks. Changing system.file_allocate.set to system.file.allocate.set solved it. No error on launch. My .rtorrent.rc was pretty old, and was using the older convention.

chros73 commented 6 years ago

Do you want to set it to 1? If so, it won't work: https://github.com/rakshasa/libtorrent/pull/152

pgera commented 6 years ago

Yes, I wanted to set it to 1 (which is what it was in my old config). Is this a new change in 0.13.7 ? Or does 0.13.6 also have the same issues ?

chros73 commented 6 years ago

Actually it was worse in v0.13.6 (it randomly applied the behavior of both 0 and 1), in v0.13.7 it always applies 0 no matter you set. You can try to compile rtorrent-ps-ch to try out the above mentioned partial fix.