<Comment deleted by user>
This is what my cmd always says
. _/|
. // o\
. || ._) lichess-bot 2024.9.1.1 on Windows 10
. //__\
. )___( Play on Lichess with a bot
ERROR There appears to be a syntax problem with your config.yml config.py:396
Traceback (most recent call last):
File "C:\Users\Microsoft\Downloads\lichess-bot-master
(1)\lichess-bot-master\lib\config.py", line 394, in load_config
CONFIG = yaml.safe_load(stream)
^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\__i
nit__.py", line 125, in safe_load
return load(stream, SafeLoader)
^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\__i
nit__.py", line 81, in load
return loader.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\con
structor.py", line 49, in get_single_data
node = self.get_single_node()
^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 36, in get_single_node
document = self.compose_document()
^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 55, in compose_document
node = self.compose_node(None, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\par
ser.py", line 98, in check_event
self.current_event = self.state()
^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\par
ser.py", line 438, in parse_block_mapping_key
raise ParserError("while parsing a block mapping", self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
in "./config.yml", line 128, column 3
expected <block end>, but found '<block sequence start>'
in "./config.yml", line 142, column 4
[09/05/24 11:12:48] ERROR Quitting lichess-bot due to an error: lichess-bot.py:1249
Traceback (most recent call last):
File "C:\Users\Microsoft\Downloads\lichess-bot-master
(1)\lichess-bot-master\lichess-bot.py", line 1246, in <module>
start_lichess_bot()
File "C:\Users\Microsoft\Downloads\lichess-bot-master
(1)\lichess-bot-master\lichess-bot.py", line 1182, in
start_lichess_bot
CONFIG = load_config(args.config or "./config.yml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Microsoft\Downloads\lichess-bot-master
(1)\lichess-bot-master\lib\config.py", line 394, in load_config
CONFIG = yaml.safe_load(stream)
^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\__init__.py", line 125, in safe_load
return load(stream, SafeLoader)
^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\__init__.py", line 81, in load
return loader.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\constructor.py", line 49, in get_single_data
node = self.get_single_node()
^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 36, in get_single_node
document = self.compose_document()
^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 55, in compose_document
node = self.compose_node(None, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\parser.py", line 98, in check_event
self.current_event = self.state()
^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\parser.py", line 438, in parse_block_mapping_key
raise ParserError("while parsing a block mapping", self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
in "./config.yml", line 128, column 3
expected <block end>, but found '<block sequence start>'
in "./config.yml", line 142, column 4
. _/|
. // o\
. || ._) lichess-bot 2024.9.1.1 on Windows 10
. //__\
. )___( Play on Lichess with a bot
ERROR There appears to be a syntax problem with your config.yml config.py:396
Traceback (most recent call last):
File "C:\Users\Microsoft\Downloads\lichess-bot-master
(1)\lichess-bot-master\lib\config.py", line 394, in load_config
CONFIG = yaml.safe_load(stream)
^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\__i
nit__.py", line 125, in safe_load
return load(stream, SafeLoader)
^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\__i
nit__.py", line 81, in load
return loader.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\con
structor.py", line 49, in get_single_data
node = self.get_single_node()
^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 36, in get_single_node
document = self.compose_document()
^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 55, in compose_document
node = self.compose_node(None, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\com
poser.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\par
ser.py", line 98, in check_event
self.current_event = self.state()
^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\yaml\par
ser.py", line 438, in parse_block_mapping_key
raise ParserError("while parsing a block mapping", self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
in "./config.yml", line 128, column 3
expected <block end>, but found '<block sequence start>'
in "./config.yml", line 142, column 4
[09/05/24 11:12:48] ERROR Quitting lichess-bot due to an error: lichess-bot.py:1249
Traceback (most recent call last):
File "C:\Users\Microsoft\Downloads\lichess-bot-master
(1)\lichess-bot-master\lichess-bot.py", line 1246, in <module>
start_lichess_bot()
File "C:\Users\Microsoft\Downloads\lichess-bot-master
(1)\lichess-bot-master\lichess-bot.py", line 1182, in
start_lichess_bot
CONFIG = load_config(args.config or "./config.yml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Microsoft\Downloads\lichess-bot-master
(1)\lichess-bot-master\lib\config.py", line 394, in load_config
CONFIG = yaml.safe_load(stream)
^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\__init__.py", line 125, in safe_load
return load(stream, SafeLoader)
^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\__init__.py", line 81, in load
return loader.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\constructor.py", line 49, in get_single_data
node = self.get_single_node()
^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 36, in get_single_node
document = self.compose_document()
^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 55, in compose_document
node = self.compose_node(None, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\parser.py", line 98, in check_event
self.current_event = self.state()
^^^^^^^^^^^^
File
"C:\Users\Microsoft\AppData\Local\Packages\PythonSoftwareFoundation.Py
thon.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packa
ges\yaml\parser.py", line 438, in parse_block_mapping_key
raise ParserError("while parsing a block mapping", self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
in "./config.yml", line 128, column 3
expected <block end>, but found '<block sequence start>'
in "./config.yml", line 142, column 4
@Scholarbot said in #1:
> Please how do I make my lichess bot @Stockfish_bot2 to play moves using cmd(Command Prompt). @thibault please I need your help. My command prompt keeps telling me that there is a problem with the code. Please I need help.
Make this issue in github where you downloaded the file. Not here.
> Please how do I make my lichess bot @Stockfish_bot2 to play moves using cmd(Command Prompt). @thibault please I need your help. My command prompt keeps telling me that there is a problem with the code. Please I need help.
Make this issue in github where you downloaded the file. Not here.
@SamanyayGhosh said in #3:
> Make this issue in github where you downloaded the file. Not here.
Thanks for the answer
> Make this issue in github where you downloaded the file. Not here.
Thanks for the answer
This topic has been archived and can no longer be replied to.