Skip to content
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

import CSV / using CSV gives error #342

Closed
thvhauwe opened this issue Oct 24, 2018 · 1 comment
Closed

import CSV / using CSV gives error #342

thvhauwe opened this issue Oct 24, 2018 · 1 comment

Comments

@thvhauwe
Copy link

thvhauwe commented Oct 24, 2018

Can you please help? I installed the package optim.jl and all of sudden this CSV package gives errors when loading it in...

This package is now broken in my julia(v1.0.1) installation

julia> import CSV
ERROR: InitError: MethodError: no method matching Parsers.Delimited(::Parsers.Quoted{Parsers.Strip{Parsers.Sentinel{typeof(Parsers.defaultparser),Parsers.Trie{0x00,false,missing,2,Tuple{}}}}}, ::String, ::String, ::String, ::String; ignore_repeated=false)
Closest candidates are:
Parsers.Delimited(::Union{Function, Layer, Type}, ::Union{Char, String}...; ignorerepeated, newline) at /home/doctoraat/.julia/packages/Parsers/v4oJT/src/Parsers.jl:308 got unsupported keyword argument "ignore_repeated"
Parsers.Delimited(::Union{Char, String}...; ignorerepeated, newline) at /home/doctoraat/.julia/packages/Parsers/v4oJT/src/Parsers.jl:309 got unsupported keyword argument "ignore_repeated"
Parsers.Delimited(::Bool, ::Bool, ::I, ::T<:Parsers.Trie) where {I, T<:Trie} at /home/doctoraat/.julia/packages/Parsers/v4oJT/src/Parsers.jl:307 got unsupported keyword argument "ignore_repeated"
Stacktrace:
[1] kwerr(::NamedTuple{(:ignore_repeated,),Tuple{Bool}}, ::Type, ::Parsers.Quoted{Parsers.Strip{Parsers.Sentinel{typeof(Parsers.defaultparser),Parsers.Trie{0x00,false,missing,2,Tuple{}}}}}, ::String, ::String, ::String, ::String) at ./error.jl:97
[2] (::getfield(Core, Symbol("#kw#Type")))(::NamedTuple{(:ignore_repeated,),Tuple{Bool}}, ::Type{Parsers.Delimited}, ::Parsers.Quoted{Parsers.Strip{Parsers.Sentinel{typeof(Parsers.defaultparser),Parsers.Trie{0x00,false,missing,2,Tuple{}}}}}, ::String, ::String, ::String, ::String) at ./none:0
[3] (::getfield(CSV, Symbol("##6#12")){Bool,String})(::Parsers.Quoted{Parsers.Strip{Parsers.Sentinel{typeof(Parsers.defaultparser),Parsers.Trie{0x00,false,missing,2,Tuple{}}}}}) at /home/doctoraat/.julia/packages/CSV/uLyo0/src/CSV.jl:151
[4] |>(::Parsers.Quoted{Parsers.Strip{Parsers.Sentinel{typeof(Parsers.defaultparser),Parsers.Trie{0x00,false,missing,2,Tuple{}}}}}, ::getfield(CSV, Symbol("##6#12")){Bool,String}) at ./operators.jl:813
[5] (::getfield(CSV, Symbol("##3#9")){Bool,Char,Nothing,Nothing,Char,String,Bool})(::Parsers.Sentinel{typeof(Parsers.defaultparser),Parsers.Trie{0x00,false,missing,2,Tuple{}}}) at /home/doctoraat/.julia/packages/CSV/uLyo0/src/CSV.jl:149
[6] |>(::Parsers.Sentinel{typeof(Parsers.defaultparser),Parsers.Trie{0x00,false,missing,2,Tuple{}}}, ::getfield(CSV, Symbol("##3#9")){Bool,Char,Nothing,Nothing,Char,String,Bool}) at ./operators.jl:813
[7] #File#1(::Int64, ::Bool, ::Int64, ::Nothing, ::Int64, ::Nothing, ::Bool, ::Nothing, ::Bool, ::Array{String,1}, ::String, ::String, ::Bool, ::Char, ::Nothing, ::Nothing, ::Char, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Dict{Type,Type}, ::Symbol, ::Bool, ::Bool, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Type, ::String) at /home/doctoraat/.julia/packages/CSV/uLyo0/src/CSV.jl:148
[8] (::getfield(Core, Symbol("#kw#Type")))(::NamedTuple{(:allowmissing,),Tuple{Symbol}}, ::Type{CSV.File}, ::String) at ./none:0
[9] init() at /home/doctoraat/.julia/packages/CSV/uLyo0/src/CSV.jl:247
[10] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:630
[11] macro expansion at ./logging.jl:312 [inlined]
[12] _require_search_from_serialize

@thvhauwe
Copy link
Author

Solved this by reinstalling:
] remove CSV
] add CSV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant