Coder Social home page Coder Social logo

Run at a same time about botli HOT 9 CLOSED

torom avatar torom commented on June 5, 2024
Run at a same time

from botli.

Comments (9)

Torom avatar Torom commented on June 5, 2024

First of all, you have not set your app name, that's why the deployment fails: .github/workflows/main.yml#L17

Secondly, you can't just enable the variant engine. It is not downloaded in the Dockerfile by default. You need to adjust your Dockerfile for that.

You could add something like this to the Dockerfile:

RUN wget https://github.com/ianfab/Fairy-Stockfish/releases/download/fairy_sf_14_0_1_xq/fairy-stockfish-largeboard_x86-64-bmi2
RUN mv fairy-stockfish-largeboard_x86-64-bmi2 engines/fairy-stockfish && chmod +x engines/fairy-stockfish

from botli.

FatFritz2 avatar FatFritz2 commented on June 5, 2024

2022-07-31T08:49:44.908608+00:00 heroku[worker.1]: State changed from crashed to starting
2022-07-31T08:49:52.947892+00:00 heroku[worker.1]: Starting process with command /bin/sh -c python3\ user_interface.py\ --non_interactive
2022-07-31T08:49:54.073864+00:00 app[worker.1]: There appears to be a syntax problem with your config.yml
2022-07-31T08:49:54.073954+00:00 app[worker.1]: Traceback (most recent call last):
2022-07-31T08:49:54.073971+00:00 app[worker.1]: File "//user_interface.py", line 183, in
2022-07-31T08:49:54.074126+00:00 app[worker.1]: ui = UserInterface()
2022-07-31T08:49:54.074141+00:00 app[worker.1]: File "//user_interface.py", line 23, in init
2022-07-31T08:49:54.074221+00:00 app[worker.1]: self.config = load_config()
2022-07-31T08:49:54.074235+00:00 app[worker.1]: File "/config.py", line 14, in load_config
2022-07-31T08:49:54.074306+00:00 app[worker.1]: raise e
2022-07-31T08:49:54.074319+00:00 app[worker.1]: File "/config.py", line 11, in load_config
2022-07-31T08:49:54.074390+00:00 app[worker.1]: CONFIG = yaml.safe_load(stream)
2022-07-31T08:49:54.074404+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/init.py", line 125, in safe_load
2022-07-31T08:49:54.074499+00:00 app[worker.1]: return load(stream, SafeLoader)
2022-07-31T08:49:54.074511+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/init.py", line 81, in load
2022-07-31T08:49:54.074593+00:00 app[worker.1]: return loader.get_single_data()
2022-07-31T08:49:54.074607+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 49, in get_single_data
2022-07-31T08:49:54.074681+00:00 app[worker.1]: node = self.get_single_node()
2022-07-31T08:49:54.074695+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/composer.py", line 36, in get_single_node
2022-07-31T08:49:54.074772+00:00 app[worker.1]: document = self.compose_document()
2022-07-31T08:49:54.074785+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/composer.py", line 55, in compose_document
2022-07-31T08:49:54.074858+00:00 app[worker.1]: node = self.compose_node(None, None)
2022-07-31T08:49:54.074872+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/composer.py", line 84, in compose_node
2022-07-31T08:49:54.074977+00:00 app[worker.1]: node = self.compose_mapping_node(anchor)
2022-07-31T08:49:54.074991+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
2022-07-31T08:49:54.075077+00:00 app[worker.1]: item_value = self.compose_node(node, item_key)
2022-07-31T08:49:54.075090+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/composer.py", line 84, in compose_node
2022-07-31T08:49:54.075171+00:00 app[worker.1]: node = self.compose_mapping_node(anchor)
2022-07-31T08:49:54.075184+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
2022-07-31T08:49:54.075273+00:00 app[worker.1]: item_value = self.compose_node(node, item_key)
2022-07-31T08:49:54.075287+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/composer.py", line 84, in compose_node
2022-07-31T08:49:54.075367+00:00 app[worker.1]: node = self.compose_mapping_node(anchor)
2022-07-31T08:49:54.075380+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
2022-07-31T08:49:54.075469+00:00 app[worker.1]: while not self.check_event(MappingEndEvent):
2022-07-31T08:49:54.075482+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/parser.py", line 98, in check_event
2022-07-31T08:49:54.075612+00:00 app[worker.1]: self.current_event = self.state()
2022-07-31T08:49:54.075625+00:00 app[worker.1]: File "/usr/local/lib/python3.10/dist-packages/yaml/parser.py", line 438, in parse_block_mapping_key
2022-07-31T08:49:54.075823+00:00 app[worker.1]: raise ParserError("while parsing a block mapping", self.marks[-1],
2022-07-31T08:49:54.075860+00:00 app[worker.1]: yaml.parser.ParserError: while parsing a block mapping
2022-07-31T08:49:54.075860+00:00 app[worker.1]: in "config.yml", line 39, column 5
2022-07-31T08:49:54.075860+00:00 app[worker.1]: expected , but found ''
Idk what happened

from botli.

Torom avatar Torom commented on June 5, 2024

2022-07-31T08:49:54.073864+00:00 app[worker.1]: There appears to be a syntax problem with your config.yml

You broke the indentations in your config in several places in this commit. This can help you check the syntax: https://jsonformatter.org/yaml-validator

from botli.

FatFritz2 avatar FatFritz2 commented on June 5, 2024

Error : bad indentation of a mapping entry at line 45, column 6:
max_depth: 20 ...
^
Line : undefined undefined

from botli.

Torom avatar Torom commented on June 5, 2024

Right, that's one of the lines.

from botli.

FatFritz2 avatar FatFritz2 commented on June 5, 2024

SO how do I correct it

from botli.

Torom avatar Torom commented on June 5, 2024

Fix the indentation in lines 45, 51, and 71. A whitespace is missing in each.

from botli.

FatFritz2 avatar FatFritz2 commented on June 5, 2024

Thanks

from botli.

FatFritz2 avatar FatFritz2 commented on June 5, 2024

it worked thanks

from botli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.