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

Error with recent merge regarding sl proces #88

Open
DailyMeme opened this issue Dec 25, 2019 · 0 comments
Open

Error with recent merge regarding sl proces #88

DailyMeme opened this issue Dec 25, 2019 · 0 comments

Comments

@DailyMeme
Copy link

This what happened after I typed in python src\chess_zero\run.py --cmd sl

Traceback (most recent call last):
File "src\chess_zero\run.py", line 20, in
manager.start()
File "src\chess_zero\manager.py", line 73, in start
return sl.start(config)
File "src\chess_zero\worker\sl.py", line 25, in start
return SupervisedLearningWorker(config).start()
File "src\chess_zero\worker\sl.py", line 55, in start
games = self.get_games_from_all_files()
File "src\chess_zero\worker\sl.py", line 79, in get_games_from_all_files
games.extend(get_games_from_file(filename))
File "src\chess_zero\worker\sl.py", line 118, in get_games_from_file
headers = chess.pgn.read_headers(pgn)
AttributeError: module 'chess.pgn' has no attribute 'read_headers'

This was not the case with the version 2 commits(?) earlier then it worked perfectly for me.
Does someone know what the problem is?

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