I tried to reproduce this. I was unable to but I got a different error that’s sometimes thrown by Revise when adding packages:
ArgumentError: Package CodeTracking not found in current path:
- Run `import Pkg; Pkg.add("CodeTracking")` to install the CodeTracking package.
(v1.1) pkg>
Stacktrace:
[1] require(::Module, ::Symbol) at ./loading.jl:823
[2] eval at ./boot.jl:328 [inlined]
[3] prepare_thunk(::Module, ::Expr, ::Bool) at /home/msavas200/.julia/packages/JuliaInterpreter/6LimI/src/construct.jl:341
[4] prepare_thunk(::Module, ::Expr, ::Bool) at /home/msavas200/.julia/packages/JuliaInterpreter/6LimI/src/construct.jl:347
[5] prepare_thunk at /home/msavas200/.julia/packages/JuliaInterpreter/6LimI/src/construct.jl:333 [inlined]
[6] #methods_by_execution!#9(::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:define,),Tuple{Bool}}}, ::Function, ::Any, ::Revise.CodeTrackingMethodInfo, ::Dict{Module,Array{Expr,1}}, ::Module, ::Expr) at /home/msavas200/.julia/packages/Revise/UtBAC/src/lowered.jl:47
[7] #methods_by_execution! at ./none:0 [inlined]
[8] #eval_with_signatures#59(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Module, ::Expr) at /home/msavas200/.julia/packages/Revise/UtBAC/src/Revise.jl:344
[9] #eval_with_signatures at /home/msavas200/.julia/packages/Revise/UtBAC/src/Revise.jl:0 [inlined]
[10] #instantiate_sigs!#60(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::OrderedCollections.OrderedDict{Module,OrderedCollections.OrderedDict{Revise.RelocatableExpr,Union{Nothing, Array{Any,1}}}}) at /home/msavas200/.julia/packages/Revise/UtBAC/src/Revise.jl:352
[11] instantiate_sigs! at /home/msavas200/.julia/packages/Revise/UtBAC/src/Revise.jl:349 [inlined]
[12] maybe_parse_from_cache!(::Revise.PkgData, ::String) at /home/msavas200/.julia/packages/Revise/UtBAC/src/pkgs.jl:224
[13] (::getfield(Revise, Symbol("##26#27")){String})() at /home/msavas200/.julia/packages/Revise/UtBAC/src/pkgs.jl:370
[14] with_logstate(::getfield(Revise, Symbol("##26#27")){String}, ::Base.CoreLogging.LogState) at ./logging.jl:395
[15] with_logger at ./logging.jl:491 [inlined]
[16] watch_manifest(::String) at /home/msavas200/.julia/packages/Revise/UtBAC/src/pkgs.jl:349
[17] (::Revise.Rescheduler{typeof(Revise.watch_manifest),Tuple{String}})() at /home/msavas200/.julia/packages/Revise/UtBAC/src/types.jl:235
while evaluating
using CodeTracking
in module Main.JuliaInterpreter
UndefVarError: _precompile_ not defined
Stacktrace:
[1] macro expansion at /home/msavas200/.julia/packages/JuliaInterpreter/6LimI/src/interpret.jl:64 [inlined]
[2] #methods_by_execution!#14(::Bool, ::Bool, ::Function, ::Any, ::Revise.CodeTrackingMethodInfo, ::Dict{Module,Array{Expr,1}}, ::JuliaInterpreter.Frame) at /home/msavas200/.julia/packages/Revise/UtBAC/src/lowered.jl:125
[3] #methods_by_execution! at ./none:0 [inlined]
[4] #methods_by_execution!#9(::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:define,),Tuple{Bool}}}, ::Function, ::Any, ::Revise.CodeTrackingMethodInfo, ::Dict{Module,Array{Expr,1}}, ::Module, ::Expr) at /home/msavas200/.julia/packages/Revise/UtBAC/src/lowered.jl:49
[5] #methods_by_execution! at ./none:0 [inlined]
[6] #eval_with_signatures#59(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Module, ::Expr) at /home/msavas200/.julia/packages/Revise/UtBAC/src/Revise.jl:344
[7] #eval_with_signatures at /home/msavas200/.julia/packages/Revise/UtBAC/src/Revise.jl:0 [inlined]
[8] #instantiate_sigs!#60(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::OrderedCollections.OrderedDict{Module,OrderedCollections.OrderedDict{Revise.RelocatableExpr,Union{Nothing, Array{Any,1}}}}) at /home/msavas200/.julia/packages/Revise/UtBAC/src/Revise.jl:352
[9] instantiate_sigs! at /home/msavas200/.julia/packages/Revise/UtBAC/src/Revise.jl:349 [inlined]
[10] maybe_parse_from_cache!(::Revise.PkgData, ::String) at /home/msavas200/.julia/packages/Revise/UtBAC/src/pkgs.jl:224
[11] (::getfield(Revise, Symbol("##26#27")){String})() at /home/msavas200/.julia/packages/Revise/UtBAC/src/pkgs.jl:370
[12] with_logstate(::getfield(Revise, Symbol("##26#27")){String}, ::Base.CoreLogging.LogState) at ./logging.jl:395
[13] with_logger at ./logging.jl:491 [inlined]
[14] watch_manifest(::String) at /home/msavas200/.julia/packages/Revise/UtBAC/src/pkgs.jl:349
[15] (::Revise.Rescheduler{typeof(Revise.watch_manifest),Tuple{String}})() at /home/msavas200/.julia/packages/Revise/UtBAC/src/types.jl:235
while evaluating
_precompile_()
in module Main.JuliaInterpreter
I don’t think these are related though. Issue opened here.