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

YAML Troubles #4

Open
OneBiteAidan opened this issue Nov 12, 2019 · 0 comments
Open

YAML Troubles #4

OneBiteAidan opened this issue Nov 12, 2019 · 0 comments

Comments

@OneBiteAidan
Copy link
Collaborator

File "C:\Users\5730d\AppData\Local\Programs\Python\Python38\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 "shopinfos/ragniarmorshop.yaml", line 9, column 11
could not find expected ':'
in "shopinfos/ragniarmorshop.yaml", line 11, column 9

This error given when trying to run the program. If I erase all of the quotation marks and make everything on a single line, it gives me this new error:

D:\GitHubDesktop\TextBasedAdeventure>py WynncraftButTextBased.py
Files in 'D:\GitHubDesktop\TextBasedAdeventure': ['.git', '.gitattributes', 'AdventureMaps.py', 'bank.py', 'character_info.py', 'classes.py', 'items.py', 'questboard.py', 'shopfunctions.py', 'shopinfo.py', 'shopinfos', 'TextBasedAdventureFunctions.py', 'townsquare.py', 'WynncraftButTextBased.py', 'init.py', 'pycache']
Traceback (most recent call last):
File "WynncraftButTextBased.py", line 14, in
import townsquare
File "D:\GitHubDesktop\TextBasedAdeventure\townsquare.py", line 3, in
import shopfunctions
File "D:\GitHubDesktop\TextBasedAdeventure\shopfunctions.py", line 9, in
with open('ragniarmorshop.yaml', 'r') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'ragniarmorshop.yaml'

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