1.1.1 upgrade, JLD2, and a cascade of errors

I installed 1.1.1 for use in Juno and updated the Atom packages, then tried to bring my packages in. When I added JLD2.jl, after it updated WeakRefStrings to 0.6.1, I got an ArgumentError: Package Reexport not found in current path, which started a cascade of errors: @reexport not defined, ArgumentError: Package DataFrames does not have DataStreams in its dependencies and many more. I had to interrupt Julia to stop it.

Now when I load Julia, it gives me an AssertionError in precompile(getfield(Revise, m.name), (Bool, typeof(methods_by_execution!), Function, CodeTrackingMethodInfo, Dict{Module, Vector{Expr}}, Module, Expr)).

Is this a bug, or a problem I created somehow? And how could I resolve or work around it?

Sorry to hear about the troubles. I am not the right person to comment here. If no one else has a better suggestion I might try deleting ~/.julia/environments/v1.x/*.toml and trying again?

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.

Thank you both. I ended up just renaming .Julia and the Julia-1.1.1 folder then reinstalling 1.1.1, and it’s okay now.