miguelraz / Nautilus.jl

You can't fight the monsters in the deep by going alone... 🦑
MIT License
2 stars 1 forks source link

Error when trying to run `demo.jl` #8

Open jakevossen5 opened 2 years ago

jakevossen5 commented 2 years ago

I am getting the an error after the following:

cd Nautilus.jl
julia --project=.
julia> include("test/demo.jl")

I get the following error

ERROR: LoadError: MethodError: no method matching main(::Menu)
Closest candidates are:
  main() at ~/Dropbox/inbox/Nautilus.jl/test/demo.jl:92
Stacktrace:
 [1] (::var"#9#10")(arg1#291::Bool, arg2#292::Bool, arg3#293::Bool, arg4#294::Bool, arg5#295::Bool, arg6#296::Bool, arg7#297::Bool, arg8#298::Nothing, arg9#299::Bool, arg10#300::Bool)
   @ Main ~/Dropbox/inbox/Nautilus.jl/test/demo.jl:144
 [2] lift(::Function, ::Observable{Any}, ::Observable{Any}, ::Vararg{Any}; kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Makie ~/.julia/packages/Makie/vwpRo/src/interaction/observables.jl:30
 [3] lift(::Function, ::Observable{Any}, ::Observable{Any}, ::Observable{Any}, ::Vararg{Any})
   @ Makie ~/.julia/packages/Makie/vwpRo/src/interaction/observables.jl:27
 [4] top-level scope
   @ ~/Dropbox/inbox/Nautilus.jl/test/demo.jl:133
 [5] include(fname::String)
   @ Base.MainInclude ./client.jl:451
 [6] top-level scope
   @ REPL[1]:1
in expression starting at /Users/jakevossen/Dropbox/inbox/Nautilus.jl/test/demo.jl:133

Am I missing a step - or is there a bug somewhere?

miguelraz commented 2 years ago

Nope, there's a bug, and the bug's my fault. I should upload the fix later today. Thanks for keeping up with the newsletter 😅

jakevossen5 commented 2 years ago

No worries 🙂