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

If a python model is loaded and initialized, but is missing some dependencies, an unspecified exception is raised #472

Open
hellkite500 opened this issue Nov 9, 2022 · 1 comment

Comments

@hellkite500
Copy link
Contributor

bmi_model->attr("initialize")(bmi_init_config);

Traced an error down to initializing a module, and inside that module, a python error No module named ... is thrown. So initialize fails, but the only error ngen produces is

terminate called after throwing an instance of 'std::exception'
  what():  std::exception

This should produce some sort of meaning error/message to the user about the issues loading/initializing the python module.

@mattw-nws
Copy link
Contributor

For the record, did this exist before #468 and b7ae8fc?

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

2 participants