binhex / arch-rtorrentvpn

Docker build script for Arch Linux base with ruTorrent, rTorrent, autodl-irssi, Privoxy and OpenVPN
GNU General Public License v3.0
239 stars 36 forks source link

Cannot get pyrocore to work #122

Closed rubasace closed 4 years ago

rubasace commented 5 years ago

Following the pyrocore documentation I added this to my rtorrent configuration

#
# PyroScope SETTINGS
#

# `system.has` polyfill (the "false=" silences the `catch` command, in rTorrent-PS)
catch = {"false=", "method.redirect=system.has,false"}

# Set "pyro.extended" to 1 to activate rTorrent-PS features!
# (the automatic way used here only works with rTorrent-PS builds after 2018-05-30)
method.insert = pyro.extended, const|value, (system.has, rtorrent-ps)

# Set "pyro.bin_dir" to the "bin" directory where you installed the pyrocore tools!
# Make sure you end it with a "/"; if this is left empty, then the shell's path is searched.
method.insert = pyro.bin_dir, string|const,

# Remove the ".default" if you want to change something (else your changes
# get over-written on update, when you put them into ``*.default`` files).
import = ~/.pyroscope/rtorrent-pyro.rc.default

# TORQUE: Daemon watchdog schedule
# Must be activated by touching the "~/.pyroscope/run/pyrotorque" file!
# Set the second argument to "-v" or "-q" to change log verbosity.
schedule = pyro_watchdog,30,300,"pyro.watchdog=~/.pyroscope,"`

When I startup the container it outputs:

rtorrent: Error in option file: ~/.rtorrent.rc:30: Error in option file: /drop-in/.import:7: Error in option file: /drop-in/pyroscope.rc:18: Error in option file: ~/.pyroscope/rtorrent-pyro.rc.default:23: Error in option file: ~/.pyroscope/rtorrent.d/.import.rc:11: Error in option file: ~/.pyroscope/rtorrent.d/theming.rc.default:27: Error in option file: /home/nobody/.pyroscope/color-schemes/default-8.rc.default:5: bold bright red: your terminal only supports 8 colors.

If I manage to remove the theming import by modifying the files I start to get invalid key errors. Is there any guide on how to enable pyrocore on this image? I'm mainly interested on rtcontrol for implementing the ratio groups.

rubasace commented 4 years ago

Closing, didn't realize it just works out of the box without having to add anything to the rtorrent.rc