CryptoSignal / Crypto-Signal

Github.com/CryptoSignal - Trading & Technical Analysis Bot - 4,100+ stars, 1,100+ forks
https://www.linkedin.com/in/AbenezerMamo
MIT License
4.84k stars 1.26k forks source link

Installation problem #444

Open avogabo opened 2 years ago

avogabo commented 2 years ago

On Synology after docker run --rm -v "$PWD/config.yml:/app/config.yml" shadowreaver/crypto-signal:master show:

Traceback (most recent call last): File "app.py", line 45, in main() File "app.py", line 21, in main config = Configuration() File "/app/conf.py", line 22, in init user_config = yaml.load(config_file) File "/usr/local/lib/python3.6/site-packages/yaml/init.py", line 72, in load return loader.get_single_data() File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 35, in get_single_data node = self.get_single_node() File "/usr/local/lib/python3.6/site-packages/yaml/composer.py", line 36, in get_single_node document = self.compose_document() File "/usr/local/lib/python3.6/site-packages/yaml/composer.py", line 55, in compose_document node = self.compose_node(None, None) File "/usr/local/lib/python3.6/site-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) File "/usr/local/lib/python3.6/site-packages/yaml/composer.py", line 127, in compose_mapping_node while not self.check_event(MappingEndEvent): File "/usr/local/lib/python3.6/site-packages/yaml/parser.py", line 98, in check_event self.current_event = self.state() File "/usr/local/lib/python3.6/site-packages/yaml/parser.py", line 428, in parse_block_mapping_key if self.check_token(KeyToken): File "/usr/local/lib/python3.6/site-packages/yaml/scanner.py", line 116, in check_token self.fetch_more_tokens() File "/usr/local/lib/python3.6/site-packages/yaml/scanner.py", line 220, in fetch_more_tokens return self.fetch_value() File "/usr/local/lib/python3.6/site-packages/yaml/scanner.py", line 576, in fetch_value self.get_mark()) yaml.scanner.ScannerError: mapping values are not allowed here in "config.yml", line 34, column 20

Badn1nja commented 2 years ago

Please use a YAML validator that will tell you what is wrong about your config file

Badn1nja commented 2 years ago

yaml.scanner.ScannerError: mapping values are not allowed here in "config.yml", line 34, column 20

is the problem though from the logs - check what is on that line in config.yml