-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe a 0.6 issue #1159
Comments
Yes. This is because |
INFO: Precompiling module DataFrames. Stacktrace: |
FWIW I have been following this issue since I see it on openSUSE as well. Definitely for me a 0.6 issue, Julia 0.5 works fine. Today, after updating Julia, the error with symbol "sub" has changed to error with symbol "head". Using checked-out version of both DataArrays and DataFrames:
the error is:
I would have kept quiet but with the impending release of 0.6 it seemed relevant. |
See #1164. |
I am having similar problems with Julia 0.6
|
Seems to be fixed now. |
I just installed a new version of the stable julia 0.6 julia> versioninfo()
Julia Version 0.6.0
Commit 9036443 (2017-06-19 13:05 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, skylake)
This is a new problem to me. It seems to be related with the 0.6 version. julia> using DataFrames
INFO: Precompiling module DataFrames.
WARNING: Method definition ==(Base.Nullable{S}, Base.Nullable{T}) in module Base at nullable.jl:238 overwritten in module NullableArrays at /home/icarus/.julia/v0.6/NullableArrays/src/operators.jl:128.
WARNING: deprecated syntax "abstract AbstractIndex" at /home/icarus/.julia/v0.6/DataFrames/src/other/index.jl:7.
Use "abstract type AbstractIndex end" instead.
WARNING: deprecated syntax "abstract AbstractDataFrame" at /home/icarus/.julia/v0.6/DataFrames/src/abstractdataframe/abstractdataframe.jl:63.
Use "abstract type AbstractDataFrame end" instead.
WARNING: Base.linearindexing is deprecated, use Base.IndexStyle instead.
likely near /home/icarus/.julia/v0.6/DataFrames/src/abstractdataframe/abstractdataframe.jl:91
WARNING: Method definition describe(AbstractArray{T, N} where N where T) in module StatsBase at /home/icarus/.julia/v0.6/StatsBase/src/scalarstats.jl:560 overwritten in module DataFrames at /home/icarus/.julia/v0.6/DataFrames/src/abstractdataframe/abstractdataframe.jl:380.
WARNING: deprecated syntax "typealias ColumnIndex @compat Union{Real,Symbol}" at /home/icarus/.julia/v0.6/DataFrames/src/dataframe/dataframe.jl:226.
Use "const ColumnIndex = @compat Union{Real,Symbol}" instead.
WARNING: deprecated syntax "inner constructor SubDataFrame(...) around /home/icarus/.julia/v0.6/DataFrames/src/subdataframe/subdataframe.jl:55".
Use "SubDataFrame{T}(...) where T" instead.
ERROR: LoadError: LoadError: UndefVarError: sub not defined
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:569
[2] include(::String) at ./sysimg.jl:14
[3] macro expansion at /home/icarus/.julia/v0.6/DataFrames/src/DataFrames.jl:137 [inlined]
[4] anonymous at ./<missing>:?
[5] include_from_node1(::String) at ./loading.jl:569
[6] include(::String) at ./sysimg.jl:14
[7] anonymous at ./<missing>:2
while loading /home/icarus/.julia/v0.6/DataFrames/src/subdataframe/subdataframe.jl, in expression starting on line 78
while loading /home/icarus/.julia/v0.6/DataFrames/src/DataFrames.jl, in expression starting on line 106
ERROR: Failed to precompile DataFrames to /home/icarus/.julia/lib/v0.6/DataFrames.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:490
[3] require(::Symbol) at ./loading.jl:398 |
@alexhallam What version of DataFrames are you using? ( |
julia> Pkg.status("DataFrames")
- DataFrames 0.8.3+ master
julia> Pkg.update("DataFrames")
INFO: Updating METADATA...
WARNING: Cannot perform fast-forward merge.
INFO: Updating DataFrames master...
INFO: Computing changes...
INFO: Package DataFrames was set to version 0.8.3+, but a higher version 0.10.0 exists.
The package is fixed. You can try using `Pkg.free("DataFrames")` to update it.
INFO: No packages to install, update or remove
|
Please do |
That was perfect. What is the difference between julia> Pkg.free("DataFrames")
INFO: Freeing DataFrames
INFO: Cloning cache of AxisArrays from https://github.com/JuliaArrays/AxisArrays.jl.git
INFO: Cloning cache of IntervalSets from https://github.com/JuliaMath/IntervalSets.jl.git
INFO: Cloning cache of NamedArrays from https://github.com/davidavdav/NamedArrays.jl.git
INFO: Cloning cache of RangeArrays from https://github.com/JuliaArrays/RangeArrays.jl.git
INFO: Installing AxisArrays v0.1.4
INFO: Installing IntervalSets v0.1.1
INFO: Installing NamedArrays v0.6.1
INFO: Upgrading RCall: v0.5.2 => v0.7.3
INFO: Installing RangeArrays v0.2.0
julia> Pkg.status("DataFrames")
- DataFrames 0.10.0 |
When you have a package checked out to a particular Git branch or if you have it pinned to a particular version, In this case, it looks like you're getting all of those updates when freeing DataFrames because your version of DataFrames was so old that it had been keeping RCall from updating, but now that DataFrames can go to its most recent version, RCall can too. |
You probably already know about this, but I thought I would post it just in case:
I was just trying to use DataFrames in my package. I am guessing this is a julia v0.6 issue because this was working just a little while ago.
The text was updated successfully, but these errors were encountered: