rtorrent + rtgui now broken?

Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

rtorrent + rtgui now broken?

Postby DutchDaemon » 15 Jul 2009, 18:32

Upgraded to the latest rtorrent / libtorrent today:

Code: Select all
libtorrent-0.12.4   BitTorrent Library written in C++
rtorrent-0.8.4      BitTorrent Client written in C++


rtorrent came with a revised rtorrent.rc, but unfortunately the syntax for sending data to rtgui bombs rtorrent:

.rtorrent.rc:
Code: Select all
scgi_port = localhost:5000


result:
Code: Select all
rtorrent: std::bad_alloc


rtorrent was rebuilt from scratch with xmlrpc support enabled.

Another problem appears to be 'stop_on_ratio'. The syntax has changed slightly (some double quotes were added to the syntax), but the error persists.

.rtorrent.rc
Code: Select all
schedule = ratio,60,60,"stop_on_ratio=110"

(variants without double quotes, or using the default three values, no difference)


result:
Code: Select all
Scheduled command failed: ratio: Command "stop_on_ratio" does not exist.

Just checking to see if other people have this problem before making a PR.
User avatar
DutchDaemon
Old Fart
 
Posts: 10466
Joined: 16 Nov 2008, 20:17
Location: The Netherlands

Postby Carpetsmoker » 15 Jul 2009, 21:10

I'll try updating, I seem to have had some ``unexpected good results'' with rtorrent&rtgui before ;)

Will keep you posted.
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
User avatar
Carpetsmoker
Member
 
Posts: 905
Joined: 16 Nov 2008, 19:07
Location: Eindhoven, Netherlands

Postby DutchDaemon » 15 Jul 2009, 21:11

As far as the ratio error goes:
http://libtorrent.rakshasa.no/wiki/RTorrentRatioHandling
("The ratio handling has been updated in rtorrent 0.8.4.")

Quite annoying that the rtorrent.rc installed with the port has obsoleted options! I should say: the invalid rtorrent.rc is distributed with the official tarball from rikshasa.no. That's pretty lame.
User avatar
DutchDaemon
Old Fart
 
Posts: 10466
Joined: 16 Nov 2008, 20:17
Location: The Netherlands

Postby DutchDaemon » 17 Jul 2009, 17:25

User avatar
DutchDaemon
Old Fart
 
Posts: 10466
Joined: 16 Nov 2008, 20:17
Location: The Netherlands


Return to Installation and Maintenance of FreeBSD Ports or Packages

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests