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
Traceback (most recent call last):
File "cluster.py", line 24, in start_job
OmegaConf.to_container(cfg, resolve=True)
AssertionError
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
however
username@hostname : echo $HYDRA_FULL_ERROR
1
to_container throws an assertion error without any trace, nor error message.
My configuration files are big and numerous. I finally found out where the problem came from, but the AssertionError really got on my nerves. I needed to talk about it.
I feel better now.
The text was updated successfully, but these errors were encountered:
Hi,
Sorry about the unexplained assertion error.
Hydra and OmegaConf goes to great length to ensure that the error messages are good and to the point.
assertion errors are typically an indication of a bug in the code, in this case there is at least a second bug that causes the error message to be opaque (it's also possible that it's not a bug in the first place but an omission).
I am assuming that you are talking about this one.
Try to set OC_CAUSE=1 environment variable as well and tell me if you get different output.
Finally, if you can create a minimal repro it will be the best.
however
to_container
throws an assertion error without any trace, nor error message.My configuration files are big and numerous. I finally found out where the problem came from, but the
AssertionError
really got on my nerves. I needed to talk about it.I feel better now.
The text was updated successfully, but these errors were encountered: