-
-
Notifications
You must be signed in to change notification settings - Fork 310
Closed
Description
In Pluto tests
┌ Error: Unkown error during eval_format_fetch_in_workspace
│ ex =
│ Remote exception from Malt.InProcessWorker in module Main:
│
│ MethodError: no method matching pretty_stackcall(::Base.StackTraces.StackFrame, ::Core.CodeInstance)
│ The function `pretty_stackcall` exists, but no method is defined for this combination of argument types.
│
│ Closest candidates are:
│ pretty_stackcall(::Base.StackTraces.StackFrame, !Matched::Module)
│ @ Pluto ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/display/Exception.jl:124
│ pretty_stackcall(::Base.StackTraces.StackFrame, !Matched::Method)
│ @ Pluto ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/display/Exception.jl:120
│ pretty_stackcall(::Base.StackTraces.StackFrame, !Matched::Core.MethodInstance)
│ @ Pluto ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/display/Exception.jl:107
│ ...
│
│ Stacktrace:
│ [1] (::Pluto.PlutoRunner.var"#70#71")(s::Base.StackTraces.StackFrame)
│ @ Pluto.PlutoRunner ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/display/Exception.jl:65
│ [2] iterate
│ @ ./generator.jl:48 [inlined]
│ [3] _collect(c::Vector{Base.StackTraces.StackFrame}, itr::Base.Generator{Vector{Base.StackTraces.StackFrame}, Pluto.PlutoRunner.var"#70#71"}, ::Base.EltypeUnknown, isz::Base.HasShape{1})
│ @ Base ./array.jl:810
│ [4] collect_similar(cont::Vector{Base.StackTraces.StackFrame}, itr::Base.Generator{Vector{Base.StackTraces.StackFrame}, Pluto.PlutoRunner.var"#70#71"})
│ @ Base ./array.jl:732
│ [5] map(f::Function, A::Vector{Base.StackTraces.StackFrame})
│ @ Base ./abstractarray.jl:3361
│ [6] format_output(val::CapturedException; context::IOContext{Base.DevNull})
│ @ Pluto.PlutoRunner ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/display/Exception.jl:60
│ [7] format_output
│ @ ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/display/Exception.jl:36 [inlined]
│ [8] #53
│ @ ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/display/format_output.jl:45 [inlined]
│ [9] with_io_to_logs(f::Pluto.PlutoRunner.var"#53#54"{UUID, UUID, Module, CapturedException, Dict{Tuple{UInt64, Int64}, Int64}}; enabled::Bool, loglevel::Base.CoreLogging.LogLevel)
│ @ Pluto.PlutoRunner ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/io/stdout.jl:64
│ [10] with_io_to_logs
│ @ ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/io/stdout.jl:11 [inlined]
│ [11] #118
│ @ ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/io/logging.jl:129 [inlined]
│ [12] with_logstate(f::Pluto.PlutoRunner.var"#118#119"{Bool, Base.CoreLogging.LogLevel, Pluto.PlutoRunner.var"#53#54"{UUID, UUID, Module, CapturedException, Dict{Tuple{UInt64, Int64}, Int64}}}, logstate::Base.CoreLogging.LogState)
│ @ Base.CoreLogging ./logging/logging.jl:534
│ [13] with_logger(f::Function, logger::Pluto.PlutoRunner.PlutoCellLogger)
│ @ Base.CoreLogging ./logging/logging.jl:644
│ [14] #with_logger_and_io_to_logs#116
│ @ ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/io/logging.jl:128 [inlined]
│ [15] with_logger_and_io_to_logs
│ @ ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/io/logging.jl:127 [inlined]
│ [16] formatted_result_of(notebook_id::UUID, cell_id::UUID, ends_with_semicolon::Bool, known_published_objects::Vector{String}, showmore::Nothing, workspace::Module; capture_stdout::Bool)
│ @ Pluto.PlutoRunner ~/Documents/Pluto.jl/src/runner/PlutoRunner/src/display/format_output.jl:44
│ [17] top-level scope
│ @ ~/Documents/Pluto.jl/src/evaluation/WorkspaceManager.jl:490
│ [18] eval(m::Module, e::Any)
│ @ Core ./boot.jl:489
│ [19] remote_call_fetch(::Function, ::Malt.InProcessWorker, ::Module, ::Vararg{Any}; kwargs::@Kwargs{})
│ @ Malt ~/.julia/packages/Malt/YJ2Ml/src/Malt.jl:382
│ [20] remote_call_fetch
│ @ ~/.julia/packages/Malt/YJ2Ml/src/Malt.jl:380 [inlined]
│ [21] remote_eval_fetch
│ @ ~/.julia/packages/Malt/YJ2Ml/src/Malt.jl:484 [inlined]
│ [22] remote_eval_fetch(w::Malt.InProcessWorker, expr::Expr)
│ @ Malt ~/.julia/packages/Malt/YJ2Ml/src/Malt.jl:485
│ [23] (::Pluto.WorkspaceManager.var"#31#32"{Bool, UUID, Bool, Vector{String}, Nothing, Pluto.WorkspaceManager.Workspace})()
│ @ Pluto.WorkspaceManager ~/Documents/Pluto.jl/src/evaluation/WorkspaceManager.jl:489
│ [24] withtoken(f::Pluto.WorkspaceManager.var"#31#32"{Bool, UUID, Bool, Vector{String}, Nothing, Pluto.WorkspaceManager.Workspace}, token::Pluto.Token)
│ @ Pluto ~/Documents/Pluto.jl/src/evaluation/Tokens.jl:19
│ [25] format_fetch_in_workspace(session_notebook::Pluto.WorkspaceManager.Workspace, cell_id::UUID, ends_with_semicolon::Bool, known_published_objects::Vector{String}, showmore_id::Nothing; capture_stdout::Bool)
│ @ Pluto.WorkspaceManager ~/Documents/Pluto.jl/src/evaluation/WorkspaceManager.jl:487
│ [26] format_fetch_in_workspace (repeats 2 times)
│ @ ~/Documents/Pluto.jl/src/evaluation/WorkspaceManager.jl:474 [inlined]
│ [27] eval_format_fetch_in_workspace(session_notebook::Tuple{ServerSession, Notebook}, expr::Expr, cell_id::UUID; ends_with_semicolon::Bool, function_wrapped_info::Tuple{Set{Symbol}, Set{Symbol}}, forced_expr_id::Nothing, known_published_objects::Vector{String}, user_requested_run::Bool, capture_stdout::Bool, code_is_effectful::Bool)
│ @ Pluto.WorkspaceManager ~/Documents/Pluto.jl/src/evaluation/WorkspaceManager.jl:458
│ [28] eval_format_fetch_in_workspace
│ @ ~/Documents/Pluto.jl/src/evaluation/WorkspaceManager.jl:410 [inlined]
│ [29] run_single!(session_notebook::Tuple{ServerSession, Notebook}, cell::Cell, reactive_node::ReactiveNode, expr_cache::PlutoDependencyExplorer.ExprAnalysisCache; user_requested_run::Bool, capture_stdout::Bool)
│ @ Pluto ~/Documents/Pluto.jl/src/evaluation/Run.jl:284
│ [30] run_single!
│ @ ~/Documents/Pluto.jl/src/evaluation/Run.jl:276 [inlined]
│ [31] run_reactive_core!(session::ServerSession, notebook::Notebook, old_topology::PlutoDependencyExplorer.NotebookTopology{Cell}, new_topology::PlutoDependencyExplorer.NotebookTopology{Cell}, roots::Vector{Cell}; save::Bool, deletion_hook::typeof(Pluto.WorkspaceManager.move_vars), user_requested_run::Bool, already_run::Vector{Cell}, bond_value_pairs::Base.Iterators.Zip{Tuple{Vector{Symbol}, Vector{Any}}})
│ @ Pluto ~/Documents/Pluto.jl/src/evaluation/Run.jl:187
│ [32] (::Pluto.var"#261#262"{Bool, @Kwargs{}, ServerSession, Notebook})()
│ @ Pluto ~/Documents/Pluto.jl/src/evaluation/Run.jl:482
│ [33] withtoken(f::Pluto.var"#261#262"{Bool, @Kwargs{}, ServerSession, Notebook}, token::Pluto.Token)
│ @ Pluto ~/Documents/Pluto.jl/src/evaluation/Tokens.jl:19
│ [34] #259
│ @ ~/Documents/Pluto.jl/src/evaluation/Run.jl:458 [inlined]
│ [35] (::Pluto.var"#maybe_async##0#maybe_async##1"{Pluto.var"#259#260"{Bool, @Kwargs{}, ServerSession, Notebook}})()
│ @ Pluto ~/Documents/Pluto.jl/src/evaluation/Tokens.jl:58
└ @ Pluto.WorkspaceManager ~/Documents/Pluto.jl/src/evaluation/WorkspaceManager.jl:390
Changing functions: Test Failed at /Users/fons/Documents/Pluto.jl/test/React.jl:546
Expression: occursinerror("UndefVarError", notebook.cells[3])
Stacktrace:
[1] macro expansion
@ ~/.julia/juliaup/julia-1.12.0-beta1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Test/src/Test.jl:679 [inlined]
[2] macro expansion
@ ~/Documents/Pluto.jl/test/React.jl:546 [inlined]
[3] macro expansion
@ ~/.julia/juliaup/julia-1.12.0-beta1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined]
[4] macro expansion
@ ~/Documents/Pluto.jl/test/React.jl:530 [inlined]
[5] macro expansion
@ ~/.julia/juliaup/julia-1.12.0-beta1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined]
[6] top-level scope
@ ~/Documents/Pluto.jl/test/React.jl:10
cell.output.body = Dict{Symbol, Any}(:msg => "Multiple definitions for Something\nCombine all definitions into a single reactive cell using a `begin ... end` block.", :stacktrace => Any[])
cell.logs = Dict{String, Any}[]
cell.output.body = Dict{Symbol, Any}(:msg => "Multiple definitions for Something\nCombine all definitions into a single reactive cell using a `begin ... end` block.", :stacktrace => Any[])
cell.logs = Dict{String, Any}[]
WARNING: Method definition tan(Base.Missing) in module Math at math.jl:1548 overwritten in module workspace#135 at /Users/fons/.julia/pluto_notebooks/Mini program 57.jl#==#b679eee4-13a8-11f0-2113-99c85a9a8dfe:1.
Test Summary: | Pass Fail Broken Total Time
Reactivity | 301 1 7 309 2m22.6s
Basic Malt | 18 18 8.9s
Basic Distributed | 18 18 21.6s
Basic InProcess | 18 18 5.6s
Simple insert cell | 2 2 2.4s
Simple delete cell | 3 3 3.0s
.. as an identifier | 2 2 2.3s
Cleanup of workspace variable | 4 4 2.4s
Cleanup only Pluto controlled modules | 9 9 2.5s
Reactive usings | 4 4 4.9s
Reactive usings 2 | 9 9 7.4s
Reactive usings 3 | 4 4 5.6s
Reactive usings 4 | 8 8 8.0s
Reactive usings 5 | 2 2 2.5s
More challenging reactivity of extended function | 6 6 3.0s
Reactive methods definitions | 6 6 2.5s
Don't lose basic generic types with macros | 2 2 3.1s
Variable deletion | 11 11 3.2s
Variable cannot reference its previous value | 1 1 2.4s
Changing functions | 23 1 24 3.8s
Extending imported functions | 45 3 48 11.0s
Using external libraries | 14 14 12.9s
Global assignments inside functions | 14 4 18 2.7s
No top level return | 18 18 2.8s
Using package from module | 5 5 2.6s
Function wrapping | 38 38 3.9s
Broadcast bug - Issue #2211 | 1 1 2.7s
ParseError messages | 12 12 3.3s
using .LocalModule | 4 4 4.9s
RNG of the outermost testset: Random.Xoshiro(0xa57fcdc1bb949f01, 0x75dc2a39406e5822, 0xba347251d4f95cc6, 0x56cb0208de46e419, 0x09a79644b9aeb3f4)
ERROR: LoadError: Some tests did not pass: 301 passed, 1 failed, 0 errored, 7 broken.
in expression starting at /Users/fons/Documents/Pluto.jl/test/React.jl:9
in expression starting at /Users/fons/Documents/Pluto.jl/test/runtests.jl:38
ERROR: Package Pluto errored during testing
Metadata
Metadata
Assignees
Labels
No labels