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

Uninformative stack traces on import errors #67

Closed
maresb opened this issue Sep 23, 2023 · 6 comments · Fixed by #72
Closed

Uninformative stack traces on import errors #67

maresb opened this issue Sep 23, 2023 · 6 comments · Fixed by #72

Comments

@maresb
Copy link
Contributor

maresb commented Sep 23, 2023

I think it'd help to put the import statements inside of def compile_X_model, because otherwise information about the ImportError isn't being passed on.

@canyon289
Copy link
Member

Thanks Ben!!

@maresb
Copy link
Contributor Author

maresb commented Sep 24, 2023

Glad I could help @canyon289! Did my suggestion of running from nutpie import compile_pymc lead to more info?

I can open a PR for this shortly. This is a quick one, but it was too late for me last night.

@canyon289
Copy link
Member

I didnt get a chance, I'll try it out tomorrow

@maresb
Copy link
Contributor Author

maresb commented Sep 24, 2023

Proposed fix is up in #72.

@canyon289 I'm still interested in knowing what went wrong with your environment, so please do send me the stack trace when you get the chance.

@canyon289
Copy link
Member

It was this, this is way more informative!

image

@maresb
Copy link
Contributor Author

maresb commented Sep 26, 2023

Thanks @canyon289! This should now be handled better by #72.

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.

2 participants