JuliaPy / JuliaPy/pyjulia

Error in Julia module __init__() leads to misleading error message

Open
#391 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
893
Forks
101
PR merge metrics
No merged PRs in 30d

Description

If in Python I do `import julia.Foo` and `Foo` errors during its `__init__()`, the error message I get in Python is:

```
ImportError: Foo not found
```

which is highly misleading, and also I lose the stack trace for my `__init__()` error. Would be nice to pass through the real error.

Python 3.7.3, pyjulia 0.5.3, Julia 1.4.2.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.