You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message doesn't reflect that Hydra only accepts .yml files. The error message states "Cannot find primary config 'config.yml'" which hints at a problem with an incorrect path setup or a missing file. However, the config file exists and the path is correct. Only the file ending is not supported.
Thank you, I have adopted your idea and submitted a corresponding PR.
Tests are failing, but I assume that is a general problem with your CI at the moment?
🐛 Bug
Description
The error message doesn't reflect that Hydra only accepts .yml files. The error message states "Cannot find primary config 'config.yml'" which hints at a problem with an incorrect path setup or a missing file. However, the config file exists and the path is correct. Only the file ending is not supported.
Checklist
To reproduce
** Minimal Code/Config snippet to reproduce **
from hydra import initialize, compose
with initialize(version_base=None, config_path="cloud_app/conf"):
cfg = compose("config.yml",overrides=["+db=mysql"])
print(cfg)
** Stack trace/error message **
Expected Behavior
Output appropriate Error Message:
System information
Related Issues and PRs
Previous discussions to support .yml or not (concluded not to support for now): #398 #1050
Add note in documentation: #1298
The text was updated successfully, but these errors were encountered: