Using JuMP fails


#1

Hello,
after updating my packages I get the following error:

julia> using JuMP
INFO: Precompiling module JuMP.
WARNING: Module ReverseDiffSparse with uuid 11646900819455 is missing from the cache.
This may mean module ReverseDiffSparse does not support precompilation but is imported by a module that does.
ERROR: LoadError: Declaring __precompile__(false) is not allowed in files that are being precompiled.
Stacktrace:
 [1] _require(::Symbol) at ./loading.jl:448
 [2] require(::Symbol) at ./loading.jl:398
 [3] include_from_node1(::String) at ./loading.jl:569
 [4] include(::String) at ./sysimg.jl:14
 [5] anonymous at ./<missing>:2
while loading /home/ufechner/.julia/v0.6/JuMP/src/JuMP.jl, in expression starting on line 21
ERROR: Failed to precompile JuMP to /home/ufechner/.julia/lib/v0.6/JuMP.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:703
 [2] _require(::Symbol) at ./loading.jl:490
 [3] require(::Symbol) at ./loading.jl:398

julia> 

Any idea?

Uwe


#2

Restart Julia. It’s just a compilation cache error that can happen if things updating in the same session.