You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize this isn't very helpful, but I'm getting a weird indexing error when CSV is trying to detect headers. My code works fine on mac and in a linux docker container, but seems to be failing on our CI system (running the same linux docker container). Since this is challenging to reproduce I thought I'd open an issue in case folks have some suggestions on things to check first (outside of trying to manually run this on the CI server).
BoundsError: attempt to access 256-element Array{Int64,1} at index [0]
Stacktrace:
[1] getindex at ./array.jl:744 [inlined]
[2] getindex at ./multidimensional.jl:486 [inlined]
[3] incr! at /root/.julia/packages/CSV/MKemC/src/detection.jl:162 [inlined]
[4] detectdelimandguessrows(::Array{UInt8,1}, ::Int64, ::Int64, ::Int64, ::UInt8, ::UInt8, ::UInt8, ::UInt8, ::Nothing, ::Bool) at /root/.julia/packages/CSV/MKemC/src/detection.jl:77
[5] Header at /root/.julia/packages/CSV/MKemC/src/header.jl:160 [inlined]
[6] #File#26(::Int64, ::Bool, ::Int64, ::Nothing, ::Int64, ::Bool, ::Nothing, ::Nothing, ::Bool, ::Nothing, ::Nothing, ::Array{String,1}, ::String, ::Nothing, ::Bool, ::Char, ::Nothing, ::Nothing, ::Char, ::Nothing, ::Nothing, ::UInt8, ::Array{String,1}, ::Array{String,1}, ::Nothing, ::Nothing, ::Dict{Type,Type}, ::Nothing, ::Float64, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Type{CSV.File}, ::Array{UInt8,1}) at /root/.julia/packages/CSV/MKemC/src/file.jl:216
[7] CSV.File(::Array{UInt8,1}) at /root/.julia/packages/CSV/MKemC/src/file.jl:216
The text was updated successfully, but these errors were encountered:
I realize this isn't very helpful, but I'm getting a weird indexing error when CSV is trying to detect headers. My code works fine on mac and in a linux docker container, but seems to be failing on our CI system (running the same linux docker container). Since this is challenging to reproduce I thought I'd open an issue in case folks have some suggestions on things to check first (outside of trying to manually run this on the CI server).
The text was updated successfully, but these errors were encountered: