test (generic function with 1 method)
InexactError: test(
Failed to show error:
MethodError: no method matching nameof(::Vector{Vector{Int64}})
Closest candidates are:
nameof(::DataType) at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/reflection.jl:223
nameof(::UnionAll) at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/reflection.jl:224
nameof(::Module) at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/reflection.jl:16
...
Stacktrace:
[1] showerror(io::IOContext{IOBuffer}, ex::InexactError)
@ Base ./errorshow.jl:168
[2] try_showerror(::IOBuffer, ::InexactError)
@ PlutoRunner ~/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/display/Exception.jl:144
[3] sprint(f::Function, args::InexactError; context::Nothing, sizehint::Int64)
@ Base ./strings/io.jl:114
[4] sprint(f::Function, args::InexactError)
@ Base ./strings/io.jl:108
[5] format_output(val::CapturedException; context::IOContext{Base.DevNull})
@ PlutoRunner ~/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/display/Exception.jl:88
[6] #52
@ ~/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/display/format_output.jl:45 [inlined]
[7] with_io_to_logs(f::PlutoRunner.var"#52#54"{Base.UUID, Base.UUID, Module, CapturedException, Dict{Tuple{UInt64, Int64}, Int64}}; enabled::Bool, loglevel::Base.CoreLogging.LogLevel)
@ PlutoRunner ~/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/io/stdout.jl:64
[8] (::PlutoRunner.var"#126#127"{Bool, Base.CoreLogging.LogLevel, PlutoRunner.var"#52#54"{Base.UUID, Base.UUID, Module, CapturedException, Dict{Tuple{UInt64, Int64}, Int64}}})()
@ PlutoRunner ~/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/io/logging.jl:129
[9] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:511
[10] with_logger
@ ./logging.jl:623 [inlined]
[11] #with_logger_and_io_to_logs#125
@ ~/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/io/logging.jl:128 [inlined]
[12] formatted_result_of(notebook_id::Base.UUID, cell_id::Base.UUID, ends_with_semicolon::Bool, known_published_objects::Vector{String}, showmore::Nothing, workspace::Module; capture_stdout::Bool)
@ PlutoRunner ~/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/display/format_output.jl:44
[13] top-level scope
@ ~/.julia/packages/Pluto/6smog/src/evaluation/WorkspaceManager.jl:491
[14] eval
@ ./boot.jl:373 [inlined]
[15] macro expansion
@ ~/.julia/packages/Malt/YJ2Ml/src/worker.jl:120 [inlined]
[16] (::var"#1#2"{Sockets.TCPSocket, UInt64, Bool, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, Tuple{Module, Expr}, typeof(Core.eval)})()
@ Main ./task.jl:429
Here is what happened, the most recent locations are first:
- test
(a::Vector{Vector{Int64}}) from Other cell: line 2function test(a)
throw(InexactError(:test, a, a))
end
- Show more...
Failed to show value:
nooooo
Here is what happened, the most recent locations are first:
- show
(io::IOContext{IOBuffer}, #unused#::MIME{Symbol("text/plain")}, t::Main.workspace#2.Tomato) from Other cell: line 2function Base.show(io::IO, ::MIME"text/plain", t::Tomato)
throw(ErrorException("nooooo"))
end
124
DomainError with -5.0:
sqrt will only return a complex result if called with a complex argument. Try sqrt(Complex(x)).
Here is what happened, the most recent locations are first:
- throw_complex_domainerror
(f::Symbol, x::Float64) from math.jl:33 - sqrtfrom math.jl:567
- sqrt
(x::Int64) from math.jl:1221 - from Other cell: line 2
try
sqrt(-5)
catch ex
global ex = ex
DomainError with -10.0:
sqrt will only return a complex result if called with a complex argument. Try sqrt(Complex(x)).
Here is what happened, the most recent locations are first:
- throw_complex_domainerror
(f::Symbol, x::Float64) from math.jl:33 - sqrtfrom math.jl:567
- sqrtfrom math.jl:1221
- f
(x::Int64) from Other cell: line 2function f(x)
sqrt(x)
end
- Show more...
f (generic function with 1 method)
throw_complex_domainerror(f::Symbol, x::Float64) at math.jl:33
sqrt at math.jl:567 [inlined]
sqrt(x::Int64) at math.jl:1221
top-level scope at errors.jl#==#fed3aa3e-97bb-11ea-2506-f56382c45428:2
top-level scope at none:1
eval at boot.jl:373 [inlined]
run_inside_trycatch(m::Module, f::Expr) at run_expression.jl:122
(::var"#32#35"{Bool, Module, Expr, UUID, UUID, Nothing, Nothing, UInt64, Expr})() at run_expression.jl:240
with_io_to_logs(f::var"#32#35"{Bool, Module, Expr, UUID, UUID, Nothing, Nothing, UInt64, Expr}; enabled::Bool, loglevel::LogLevel) at stdout.jl:64
with_io_to_logs at stdout.jl:12 [inlined]
(::var"#126#127"{Bool, LogLevel, var"#32#35"{Bool, Module, Expr, UUID, UUID, Nothing, Nothing, UInt64, Expr}})() at logging.jl:129
with_logstate(f::Function, logstate::Any) at logging.jl:511
with_logger at logging.jl:623 [inlined]
#with_logger_and_io_to_logs#125 at logging.jl:128 [inlined]
with_logger_and_io_to_logs at logging.jl:128 [inlined]
run_expression(m::Module, expr::Expr, notebook_id::UUID, cell_id::UUID, function_wrapped_info::Union{Nothing, Tuple{Set{Symbol}, Set{Symbol}}}, forced_expr_id::Union{Nothing, UInt64}; user_requested_run::Bool, capture_stdout::Bool) at run_expression.jl:236
(::var"#run_expression##kw")(::NamedTuple{(:user_requested_run, :capture_stdout), Tuple{Bool, Bool}}, ::typeof(run_expression), m::Module, expr::Expr, notebook_id::UUID, cell_id::UUID, function_wrapped_info::Union{Nothing, Tuple{Set{Symbol}, Set{Symbol}}}, forced_expr_id::Union{Nothing, UInt64}) at run_expression.jl:164
top-level scope at WorkspaceManager.jl:439
eval at boot.jl:373 [inlined]
macro expansion at worker.jl:120 [inlined]
(::var"#1#2"{TCPSocket, UInt64, Bool, Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, Tuple{Module, Expr}, typeof(eval)})() at task.jl:429
"DomainError with -5.0:\nsqrt will only return a complex result if called with a complex argument. Try sqrt(Complex(x))."
Multiple definitions for s
Combine all definitions into a single reactive cell using a `begin ... end` block.
Another cell defining s contains errors.
Multiple definitions for s
Combine all definitions into a single reactive cell using a `begin ... end` block.
1
DomainError with -5.0:
sqrt will only return a complex result if called with a complex argument. Try sqrt(Complex(x)).
Multiple expressions in one cell.
How would you like to fix it?
:a
1