Skip to content
Discussion options

You must be logged in to vote

@mauvilsa I figured it out. It turned out that my default configuration file was not found due to an error in the launch.json file of VSCode. I provided the configuration as a relative path to the main.py file. However, the cwd was set to the ${workspaceFolder}, which is two folders above it (as I want to have all my different projects in the same workspace). This lead to not finding the respective default configuration file in _get_default_config_files of jsonargparse/core.py.
Your suggestion of having a more distinct error message could be helpful in the future but is included in the current error messages if one has more experience with the jsonargparse module.

Thank you for your help!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nicoloesch
Comment options

@nicoloesch
Comment options

Answer selected by nicoloesch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment