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

Better error message when missing ccs_config? #4468

Closed
mnlevy1981 opened this issue Jul 31, 2023 · 0 comments · Fixed by #4469
Closed

Better error message when missing ccs_config? #4468

mnlevy1981 opened this issue Jul 31, 2023 · 0 comments · Fixed by #4469

Comments

@mnlevy1981
Copy link
Contributor

If you checkout CESM and then use manage_externals to checkout cime and a few components but forget to also checkout ccs_config, then create_newcase returns a weird XML error AttributeError: 'NoneType' object has no attribute 'xml_element' (@dabail10 was running into this issue after checking out CIME, MOM6, and CICE but not https://github.com/ESMCI/ccs_config_cesm). I think it would be great if CIME could check for ccs_config at the beginning of create_newcase and raise a more informative FileNotFoundError rather than waiting for the first subroutine looking for ccs_config to fail.

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

Successfully merging a pull request may close this issue.

1 participant