-
Notifications
You must be signed in to change notification settings - Fork 9
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
generate_atmos_dataset.jl bug #259
Comments
Hi @waywardpidgeon, the problem with |
I tried it again and found a bug in the Bathymetry.jl code I had sent recently for #179 (I will add a comment to that issue) I ran the example generate_atmos_dataset.jl this morning and the error did not appear. What do you mean by "trace of this error"? |
When some code errors, it will display the error message at the top, followed by a "stacktrace" that shows the chain of functions that was called to produce the error. For example: julia> f(x) = sin(π * x)
f (generic function with 1 method)
julia> f("hi")
ERROR: MethodError: no method matching *(::Irrational{:π}, ::String)
Closest candidates are:
*(::Any, ::Any, ::Any, ::Any...)
@ Base operators.jl:587
*(::Real, ::Complex{Bool})
@ Base complex.jl:327
*(::ChainRulesCore.NotImplemented, ::Any)
@ ChainRulesCore ~/.julia/packages/ChainRulesCore/6Pucz/src/tangent_arithmetic.jl:37
...
Stacktrace:
[1] f(x::String)
@ Main ./REPL[101]:1
[2] top-level scope
@ REPL[103]:1 Notice the bottom of the error message with the label "Stacktrace:". Try typing this code into the Julia REPL to get the same message. |
Oh indeed trace=stacktrace. |
suggestion: edit the line
to be
Error:
The text was updated successfully, but these errors were encountered: