Closed dpo closed 3 years ago
Starting a couple of days ago, this is what I've been getting when opening a new or existing notebook with Neptune:
julia> Neptune.run() Opening http://localhost:1234/?secret=rpANl1qD in your default browser... ~ have fun! Press Ctrl+C in this terminal to stop Neptune ┌ Warning: Response function to message of type complete failed └ @ Neptune ~/.julia/packages/Neptune/2QhPy/src/webserver/WebServer.jl:356 TaskFailedException┌ Warning: Reading WebSocket client stream failed for unknown reason: │ parentbody = │ Dict{Any, Any} with 5 entries: │ "client_id" => "o5023g" │ "body" => Dict{Any, Any}("query"=>"sq") │ "request_id" => "11kzxb2" │ ⋮ => ⋮ │ exception = │ TaskFailedException │ Stacktrace: │ [1] wait │ @ ./task.jl:322 [inlined] │ [2] wait(p::Neptune.Promise{Neptune.WorkspaceManager.Workspace}) │ @ Neptune ~/.julia/packages/Neptune/2QhPy/src/evaluation/Tokens.jl:83 │ [3] get_workspace │ @ ~/.julia/packages/Neptune/2QhPy/src/evaluation/WorkspaceManager.jl:190 [inlined] │ [4] (::Neptune.var"#201#203")(session::Neptune.ServerSession, body::Dict{Any, Any}, notebook::Neptune.Notebook; initiator::Neptune.Initiator) │ @ Neptune ~/.julia/packages/Neptune/2QhPy/src/webserver/REPLTools.jl:60 │ [5] process_ws_message(session::Neptune.ServerSession, parentbody::Dict{Any, Any}, clientstream::HTTP.WebSockets.WebSocket{HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) │ @ Neptune ~/.julia/packages/Neptune/2QhPy/src/webserver/WebServer.jl:354 │ [6] (::Neptune.var"#215#225"{Neptune.ServerSession, Base.RefValue{Function}})(clientstream::HTTP.WebSockets.WebSocket{HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) │ @ Neptune ~/.julia/packages/Neptune/2QhPy/src/webserver/WebServer.jl:160 │ [7] upgrade(f::Neptune.var"#215#225"{Neptune.ServerSession, Base.RefValue{Function}}, http::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}; binary::Bool) │ @ HTTP.WebSockets ~/.julia/packages/HTTP/RwjlP/src/WebSockets.jl:160 │ [8] upgrade │ @ ~/.julia/packages/HTTP/RwjlP/src/WebSockets.jl:142 [inlined] │ [9] (::Neptune.var"#214#224"{Neptune.ServerSession, Base.RefValue{Function}, HTTP.Handlers.Router{Symbol("##257")}})(http::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) │ @ Neptune ~/.julia/packages/Neptune/2QhPy/src/webserver/WebServer.jl:147 │ [10] handle │ @ ~/.julia/packages/HTTP/RwjlP/src/Handlers.jl:270 [inlined] │ [11] #4 │ @ ~/.julia/packages/HTTP/RwjlP/src/Handlers.jl:346 [inlined] │ [12] macro expansion │ @ ~/.julia/packages/HTTP/RwjlP/src/Servers.jl:399 [inlined] │ [13] (::HTTP.Servers.var"#13#14"{HTTP.Handlers.var"#4#5"{HTTP.Handlers.StreamHandlerFunction{Neptune.var"#214#224"{Neptune.ServerSession, Base.RefValue{Function}, HTTP.Handlers.Router{Symbol("##257")}}}}, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}, HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}})() │ @ HTTP.Servers ./task.jl:411 │ │ nested task error: On worker 2: │ LoadError: LoadError: ArgumentError: Package FuzzyCompletions [fb4132e2-a121-4a70-b8a1-d5b831dcdcc2] is required but does not seem to be installed: │ - Run `Pkg.instantiate()` to install all recorded dependencies. │ │ Stacktrace: │ [1] _require │ @ ./loading.jl:1012 │ [2] require │ @ ./loading.jl:936 │ [3] require │ @ ./loading.jl:923 │ [4] include │ @ ./client.jl:444 │ [5] top-level scope │ @ ~/.julia/packages/Neptune/2QhPy/src/runner/Loader.jl:7 │ [6] include │ @ ./client.jl:444 │ [7] top-level scope │ @ none:1 │ [8] eval │ @ ./boot.jl:360 │ [9] #103 │ @ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:274 │ [10] run_work_thunk │ @ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63 │ [11] run_work_thunk │ @ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:72 │ [12] #96 │ @ ./task.jl:411 │ in expression starting at /Users/dpo/.julia/packages/Neptune/2QhPy/src/runner/PlutoRunner.jl:8 │ in expression starting at /Users/dpo/.julia/packages/Neptune/2QhPy/src/runner/Loader.jl:7 │ Stacktrace: │ [1] sync_end(c::Channel{Any}) │ @ Base ./task.jl:369 │ [2] macro expansion │ @ ./task.jl:388 [inlined] │ [3] remotecall_eval(m::Module, procs::Vector{Int64}, ex::Expr) │ @ Distributed /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Distributed/src/macros.jl:223 │ [4] create_workspaceprocess(; compiler_options::Neptune.Configuration.CompilerOptions) │ @ Neptune.WorkspaceManager ~/.julia/packages/Neptune/2QhPy/src/evaluation/WorkspaceManager.jl:170 │ [5] make_workspace(::Tuple{Neptune.ServerSession, Neptune.Notebook}) │ @ Neptune.WorkspaceManager ~/.julia/packages/Neptune/2QhPy/src/evaluation/WorkspaceManager.jl:43 │ [6] #7 │ @ ~/.julia/packages/Neptune/2QhPy/src/evaluation/WorkspaceManager.jl:188 [inlined] │ [7] macro expansion │ @ ~/.julia/packages/Neptune/2QhPy/src/evaluation/Tokens.jl:76 [inlined] │ [8] (::Neptune.var"#1#2"{Neptune.WorkspaceManager.var"#7#9"{Tuple{Neptune.ServerSession, Neptune.Notebook}}, Neptune.Promise{Neptune.WorkspaceManager.Workspace}})() │ @ Neptune ./task.jl:411 └ @ Neptune ~/.julia/packages/Neptune/2QhPy/src/webserver/WebServer.jl:168 Stacktrace: [1] wait @ ./task.jl:322 [inlined] [2] wait(p::Neptune.Promise{Neptune.WorkspaceManager.Workspace}) @ Neptune ~/.julia/packages/Neptune/2QhPy/src/evaluation/Tokens.jl:83 [3] get_workspace @ ~/.julia/packages/Neptune/2QhPy/src/evaluation/WorkspaceManager.jl:190 [inlined] [4] delete_vars(session_notebook::Tuple{Neptune.ServerSession, Neptune.Notebook}, to_delete::Set{Symbol}, funcs_to_delete::Set{Tuple{Base.UUID, Vector{Symbol}}}, module_imports_to_move::Set{Expr}; kwargs::Base.Iterators.Pairs{Symbol, Vector{Neptune.Cell}, Tuple{Symbol}, NamedTuple{(:to_run,), Tuple{Vector{Neptune.Cell}}}}) @ Neptune.WorkspaceManager ~/.julia/packages/Neptune/2QhPy/src/evaluation/WorkspaceManager.jl:273 [5] run_reactive!(session::Neptune.ServerSession, notebook::Neptune.Notebook, old_topology::Neptune.NotebookTopology, new_topology::Neptune.NotebookTopology, cells::Vector{Neptune.Cell}; deletion_hook::Function, persist_js_state::Bool) @ Neptune ~/.julia/packages/Neptune/2QhPy/src/evaluation/Run.jl:65 [6] run_reactive! @ ~/.julia/packages/Neptune/2QhPy/src/evaluation/Run.jl:26 [inlined] [7] macro expansion @ ~/.julia/packages/Neptune/2QhPy/src/evaluation/Run.jl:13 [inlined] [8] (::Neptune.var"#79#81"{Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, Neptune.ServerSession, Neptune.Notebook, Vector{Neptune.Cell}, Neptune.NotebookTopology, Neptune.NotebookTopology})() @ Neptune ./task.jl:411 nested task error: On worker 2: LoadError: LoadError: ArgumentError: Package FuzzyCompletions [fb4132e2-a121-4a70-b8a1-d5b831dcdcc2] is required but does not seem to be installed: - Run `Pkg.instantiate()` to install all recorded dependencies. Stacktrace: [1] _require @ ./loading.jl:1012 [2] require @ ./loading.jl:936 [3] require @ ./loading.jl:923 [4] include @ ./client.jl:444 [5] top-level scope @ ~/.julia/packages/Neptune/2QhPy/src/runner/Loader.jl:7 [6] include @ ./client.jl:444 [7] top-level scope @ none:1 [8] eval @ ./boot.jl:360 [9] #103 @ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:274 [10] run_work_thunk @ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:63 [11] run_work_thunk @ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:72 [12] #96 @ ./task.jl:411 in expression starting at /Users/dpo/.julia/packages/Neptune/2QhPy/src/runner/PlutoRunner.jl:8 in expression starting at /Users/dpo/.julia/packages/Neptune/2QhPy/src/runner/Loader.jl:7 Stacktrace: [1] sync_end(c::Channel{Any}) @ Base ./task.jl:369 [2] macro expansion @ ./task.jl:388 [inlined] [3] remotecall_eval(m::Module, procs::Vector{Int64}, ex::Expr) @ Distributed /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Distributed/src/macros.jl:223 [4] create_workspaceprocess(; compiler_options::Neptune.Configuration.CompilerOptions) @ Neptune.WorkspaceManager ~/.julia/packages/Neptune/2QhPy/src/evaluation/WorkspaceManager.jl:170 [5] make_workspace(::Tuple{Neptune.ServerSession, Neptune.Notebook}) @ Neptune.WorkspaceManager ~/.julia/packages/Neptune/2QhPy/src/evaluation/WorkspaceManager.jl:43 [6] #7 @ ~/.julia/packages/Neptune/2QhPy/src/evaluation/WorkspaceManager.jl:188 [inlined] [7] macro expansion @ ~/.julia/packages/Neptune/2QhPy/src/evaluation/Tokens.jl:76 [inlined] [8] (::Neptune.var"#1#2"{Neptune.WorkspaceManager.var"#7#9"{Tuple{Neptune.ServerSession, Neptune.Notebook}}, Neptune.Promise{Neptune.WorkspaceManager.Workspace}})() @ Neptune ./task.jl:411
Pluto works. I'm on macOS with Julia 1.6.3. Any ideas?
Fixed by nuking the registry and cloning again.
Starting a couple of days ago, this is what I've been getting when opening a new or existing notebook with Neptune:
Pluto works. I'm on macOS with Julia 1.6.3. Any ideas?