Precompiling CSV failes on 0.6


#1

I have the following problem:

julia> using CSV
INFO: Precompiling module CSV.
ERROR: LoadError: UndefVarError: require not defined
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] anonymous at ./<missing>:2
while loading /home/ufechner/.julia/v0.6/DataFrames/src/DataFrames.jl, in expression starting on line 1
ERROR: LoadError: Failed to precompile DataFrames to /home/ufechner/.julia/lib/v0.6/DataFrames.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:710
 [2] _require(::Symbol) at ./loading.jl:463
 [3] require(::Symbol) at ./loading.jl:405
 [4] include_from_node1(::String) at ./loading.jl:576
 [5] include(::String) at ./sysimg.jl:14
 [6] anonymous at ./<missing>:2
while loading /home/ufechner/.julia/v0.6/DataStreams/src/DataStreams.jl, in expression starting on line 248
ERROR: LoadError: Failed to precompile DataStreams to /home/ufechner/.julia/lib/v0.6/DataStreams.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:710
 [2] _require(::Symbol) at ./loading.jl:463
 [3] require(::Symbol) at ./loading.jl:405
 [4] include_from_node1(::String) at ./loading.jl:576
 [5] include(::String) at ./sysimg.jl:14
 [6] anonymous at ./<missing>:2
while loading /home/ufechner/.julia/v0.6/CSV/src/CSV.jl, in expression starting on line 4
ERROR: Failed to precompile CSV to /home/ufechner/.julia/lib/v0.6/CSV.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:710
 [2] _require(::Symbol) at ./loading.jl:497
 [3] require(::Symbol) at ./loading.jl:405

My package status:

julia> Pkg.status()
6 required packages:
 - CSV                           0.1.5
 - Conda                         1.0.1
 - NLsolve                       1.1.1
 - NaNMath                       0.3.2
 - PyPlot                        2.6.0
 - Rotations                     0.7.2
36 additional packages:
 - ArrayViews                    0.7.0
 - BinDeps                       0.8.9
 - BinaryProvider                0.3.3
 - CategoricalArrays             0.1.6
 - ColorTypes                    0.6.7
 - Colors                        0.8.2
 - CommonSubexpressions          0.1.0
 - Compat                        1.0.1
 - DataFrames                    0.0.0
 - DataStreams                   0.1.3
 - DataStructures                0.8.4
 - DiffBase                      0.3.2
 - DiffEqDiffTools               0.4.1
 - DiffResults                   0.0.3
 - DiffRules                     0.0.7
 - Distances                     0.6.0
 - FixedPointNumbers             0.4.6
 - ForwardDiff                   0.7.5
 - JSON                          0.17.2
 - LaTeXStrings                  1.0.0
 - LineSearches                  4.0.0
 - MacroTools                    0.4.4
 - NLSolversBase                 4.4.1
 - NullableArrays                0.1.0
 - Nullables                     0.0.7
 - Options                       0.2.6
 - Parameters                    0.9.2
 - PyCall                        1.17.1
 - Reexport                      0.1.0
 - SHA                           0.5.7
 - SpecialFunctions              0.6.0
 - StaticArrays                  0.7.2
 - StatsBase                     0.6.10
 - URIParser                     0.3.1
 - VersionParsing                1.1.1
 - WeakRefStrings                0.2.0

Any idea how to fix this problem?


#2

Well, your DataFrames version is 0.0.0, so that looks bad. I think you may have gotten things in a bad state somehow.


#3

I removed the package NLsolve and now it works. But why? And a week ago using both NLsolve and CSV worked. But now NLSolve is downgrading CSV from 2.5 to 1.5.
Any idea?