Skip to content
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

Revise fails due to world age error #116

Closed
jkrumbiegel opened this issue Apr 26, 2024 · 0 comments · Fixed by #138
Closed

Revise fails due to world age error #116

jkrumbiegel opened this issue Apr 26, 2024 · 0 comments · Fixed by #138

Comments

@jkrumbiegel
Copy link
Collaborator

This is from a notebook that had using Revise inside of it, not sure why this failed but the one in the tests seems fine. Needs some investigation.

ERROR: EvaluationError: Encountered 2 errors during evaluation

Error 1 of 2
@ /Users/krumbiegel/.julia/dev/QuartoTools/scratch/tabset.qmd:6
MethodError: no method matching revise_first(::Expr)

Closest candidates are:
  revise_first(::Any) (method too new to be called from this world context.)
   @ Revise ~/.julia/packages/Revise/bAgL0/src/packagedef.jl:1226

Stacktrace:
  [1] (::Main.var"#14#28"{Module, Expr})()
    @ Main ~/.julia/dev/QuartoNotebookRunner/src/worker.jl:307
  [2] (::Main.IOCapture.var"#4#7"{DataType, Main.var"#14#28"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOStream, Base.PipeEndpoint})()
    @ Main.IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161
  [3] with_logstate(f::Function, logstate::Any)
    @ Base.CoreLogging ./logging.jl:515
  [4] with_logger
    @ ./logging.jl:627 [inlined]
  [5] capture(f::Main.var"#14#28"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer)
    @ Main.IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158
  [6] include_str(mod::Module, code::String; file::String, line::Int64)
    @ Main ~/.julia/dev/QuartoNotebookRunner/src/worker.jl:293
  [7] #invokelatest#2
    @ ./essentials.jl:894 [inlined]
  [8] invokelatest
    @ ./essentials.jl:889 [inlined]
  [9] #7
    @ ~/.julia/dev/QuartoNotebookRunner/src/worker.jl:164 [inlined]
 [10] with_inline_display(f::Main.var"#7#24"{String, String, Int64}, cell_options::Dict{Any, Any})
    @ Main ~/.julia/dev/QuartoNotebookRunner/src/worker.jl:53
 [11] _render_thunk(thunk::Function, code::String, cell_options::Dict{Any, Any})
    @ Main ~/.julia/dev/QuartoNotebookRunner/src/worker.jl:184
 [12] render(code::String, file::String, line::Int64, cell_options::Dict{Any, Any})
    @ Main ~/.julia/dev/QuartoNotebookRunner/src/worker.jl:161
 [13] top-level scope
    @ none:1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant