Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198871 - net-p2p/rtorrent-0.7.8 sample config file contains incorrect option
Summary: net-p2p/rtorrent-0.7.8 sample config file contains incorrect option
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-11 22:43 UTC by Jasper Thrussell
Modified: 2007-11-11 22:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jasper Thrussell 2007-11-11 22:43:29 UTC
The sample config file provided with rtorrent-0.7.8 contains the following lines:

# Stop torrents when reaching upload ratio in percent,
# when also reaching total upload in bytes, or when
# reaching final upload ratio in percent.
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
#schedule = ratio,60,60,stop_on_ratio=200,200M,2000

However, with the option uncommented rtorrent refuses to start, citing the following error:

"rtorrent: Error in option file: ~/.rtorrent.rc:40: Wrong number of arguments."

Replacing the option with the following allows rtorrent to start:

schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"

I haven't been able to determine yet whether the option still has the intended effect. 

Reproducible: Always

Steps to Reproduce:
1. emerge rtorrent-0.7.8
2. bzcat /usr/share/doc/rtorrent-0.7.8/rtorrent.rc.bz2 > ~/.rtorrent.rc
3. Uncomment line 40 of ~/.rtorrent.rc
4. Try to start rtorrent


Actual Results:  
rtorrent quits with the error:
rtorrent: Error in option file: ~/.rtorrent.rc:40: Wrong number of arguments.

Expected Results:  
rtorrent starts with the option to automatically stop torrents once they reach certain upload criteria enabled.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-11 22:46:44 UTC
Please send this upstream if still an issue w/ 0.7.9; thanks.

http://libtorrent.rakshasa.no/newticket