Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config working at v14.2 is not working at v15 #135

Open
mkthenightowl opened this issue Mar 28, 2020 · 0 comments
Open

config working at v14.2 is not working at v15 #135

mkthenightowl opened this issue Mar 28, 2020 · 0 comments

Comments

@mkthenightowl
Copy link

Hi,

First of all, really appreciate your effort to keep updating this awesome program.
After updating the version of goreviewpartner to 15, I get the following error when I run

"Could not read LeelaZero-1/command from the config file
Using default value
Traceback (most recent call last):
File "leela_zero_analysis.py", line 405, in
main(LeelaZero)
File "/content/goreviewpartner/toolbox.py", line 2465, in main
existing_profiles=[p["profile"] for p in get_bot_profiles(bot["name"])]
File "/content/goreviewpartner/toolbox.py", line 2294, in get_bot_profiles
command=grp_config.get(section,"command")
File "/content/goreviewpartner/toolbox.py", line 1665, in get
value=self.default_values[section.lower()][key.lower()]
KeyError: u'leelazero-1'"

My config was
config="goreviewpartner/config.ini"
!sed -i -e '86,96d' $config
lzconfig="""
slowcommand = /content/leela-zero/src/leelaz
slowparameters = --gtp --noponder {playouts_opt} --weights /content/goreviewpartner/weights.gz
slowtimepermove = {time_per_move:s}
fastcommand =
fastparameters = --gtp --noponder --weights weights.txt
fasttimepermove = 5
analysisbot = slow
liveanalysisbot = both
liveplayerbot = fast
reviewbot = fast
""".format(
command="/content/leela-zero/src/leelaz",
playouts_opt=playouts_opt,
time_per_move=time_per_move)

Could you help what part should be added or removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant