sotolko / csgo-market-sniper

Bot that monitors desirable skins and will automatically buy them
GNU General Public License v3.0
96 stars 28 forks source link

Issues after setting up config.yaml #47

Open v00d0079 opened 4 months ago

v00d0079 commented 4 months ago

Hello Ive installed all the dependencies and such, I edited my config.yaml file in order to try and look at skins I want but whenever I run the program I get this error Any help would be appreciated:

Loading config file... Traceback (most recent call last): File "C:\Users***\Desktop\csgo-market-sniper-main\csgo-market-sniper.py", line 9, in url_info = load_config() ^^^^^^^^^^^^^ File "C:\Users***\Desktop\csgo-market-sniper-main\config.py", line 7, in load_config config = yaml.safe_load(f) ^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml__init__.py", line 125, in safe_load return load(stream, SafeLoader) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml__init__.py", line 81, in load return loader.get_single_data() ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\constructor.py", line 49, in get_single_data node = self.get_single_node() ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\composer.py", line 36, in get_single_node document = self.compose_document() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\composer.py", line 55, in compose_document node = self.compose_node(None, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\composer.py", line 133, in compose_mapping_node item_value = self.compose_node(node, item_key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\composer.py", line 82, in compose_node node = self.compose_sequence_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\composer.py", line 111, in compose_sequence_node node.value.append(self.compose_node(node, index)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\composer.py", line 127, in compose_mapping_node while not self.check_event(MappingEndEvent): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\parser.py", line 98, in check_event self.current_event = self.state() ^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\parser.py", line 428, in parse_block_mapping_key if self.check_token(KeyToken): ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\scanner.py", line 115, in check_token while self.need_more_tokens(): ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\scanner.py", line 152, in need_more_tokens self.stale_possible_simple_keys() File "C:\Users***\AppData\Local\Programs\Python\Python312\Lib\site-packages\yaml\scanner.py", line 291, in stale_possible_simple_keys raise ScannerError("while scanning a simple key", key.mark, yaml.scanner.ScannerError: while scanning a simple key in "settings/config.yaml", line 9, column 5 could not find expected ':' in "settings/config.yaml", line 10, column 3