pyjulia icon indicating copy to clipboard operation
pyjulia copied to clipboard

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

Open marius311 opened this issue 5 years ago • 0 comments

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.

marius311 avatar Jul 27 '20 01:07 marius311