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

Issues after setting up config.yaml #47

Open
v00d0079 opened this issue Jul 5, 2024 · 0 comments
Open

Issues after setting up config.yaml #47

v00d0079 opened this issue Jul 5, 2024 · 0 comments

Comments

@v00d0079
Copy link

v00d0079 commented Jul 5, 2024

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

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