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

No such file or directory: 'src/main/resources/data/MODNAME/games/standard.json' #5

Open
nielsvoss opened this issue Jan 6, 2025 · 0 comments

Comments

@nielsvoss
Copy link

When running the script, I get the error:

Traceback (most recent call last):
  File "/mnt/c/Users/niels/Documents/Projects/glide/init.py", line 97, in <module>
    process_file(
  File "/mnt/c/Users/niels/Documents/Projects/glide/init.py", line 10, in process_file
    f = open(str(file_path), "r")
FileNotFoundError: [Errno 2] No such file or directory: 'src/main/resources/data/MODNAME/games/standard.json'

This happens both on Windows and WSL. I think a possible cause is that during the update to 1.21, the games data path was replaced with plasmid/game, and while the file was moved properly, the script still expected the old file position.

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