World age issue if used with Revise
saschatimme opened this issue · 1 comments
saschatimme commented
It seems that Bukdu and Revise do not currently place nice along each other:
ERROR: MethodError: no method matching min_enabled_level(::Bukdu.Plug.Logger)
The applicable method may be too new: running in world age 25590, while current world is 25612.
Closest candidates are:
min_enabled_level(::Bukdu.Plug.Logger) at /Users/sascha/.julia/packages/Bukdu/iddkZ/src/plugs/logger.jl:56 (method too new to be called from this world context.)
min_enabled_level(::Revise.ReviseLogger) at /Users/sascha/.julia/packages/Revise/yp5KG/src/logging.jl:22
min_enabled_level(::Atom.Progress.JunoProgressLogger) at /Users/sascha/.julia/packages/Atom/UtmXq/src/progress.jl:76
...
Stacktrace:
[1] Base.CoreLogging.LogState(::Bukdu.Plug.Logger) at ./logging.jl:374
[2] with_logger(::Function, ::Bukdu.Plug.Logger) at ./logging.jl:491
[3] #parse#1(INFO: Bukdu Listening on 127.0.0.1:3264
::Bool, ::Bool, ::Bool, ::Function, ::String, ::Int64) at ./meta.jl:123
[4] (::getfield(Base.Meta, Symbol("#kw##parse")))(::NamedTuple{(:greedy, :raise),Tuple{Bool,Bool}}, ::typeof(Base.Meta.parse), ::String, ::Int64) at ./none:0
[5] parse_source!(::OrderedCollections.OrderedDict{Module,Revise.FMMaps}, ::String, ::Symbol, ::Int64, ::Module) at /Users/sascha/.julia/packages/Revise/yp5KG/src/parsing.jl:52
[6] maybe_parse_from_cache!(::Revise.PkgData, ::String) at /Users/sascha/.julia/packages/Revise/yp5KG/src/pkgs.jl:182
[7] revise_file_now(::Revise.PkgData, ::String) at /Users/sascha/.julia/packages/Revise/yp5KG/src/Revise.jl:436
[8] revise(::REPL.REPLBackend) at /Users/sascha/.julia/packages/Revise/yp5KG/src/Revise.jl:496
[9] run_backend(::REPL.REPLBackend) at /Users/sascha/.julia/packages/Revise/yp5KG/src/Revise.jl:767
[10] (::getfield(Revise, Symbol("##58#60")){REPL.REPLBackend})() at ./task.jl:259
wookay commented
could you test it again with master branch
# ] key
add Bukdu#master
thanks!