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

INFO gives wrong location for loaded config file #1782

Open
JPBergsma opened this issue Sep 14, 2023 · 0 comments
Open

INFO gives wrong location for loaded config file #1782

JPBergsma opened this issue Sep 14, 2023 · 0 comments

Comments

@JPBergsma
Copy link
Contributor

When no valid config file is present in home/[username]/.optimade.json you sometimes still get the message:
INFO: [optimade] Using: Mock MongoDB (mongomock)
WARNING: [optimade] Invalid config file or no config file provided, running server with default settings. Errors: ['/home/[username]/Optimade/optimade-python-tools/optimade/server/config.py:126: UserWarning: Unable to find config file at /home/[username]/.optimade.json, using the default settings instead.\n']
INFO: [optimade] Loaded settings from /home/[username]/.optimade.json.

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