Skip to content

InexactError: trunc(Int64, NaN) #705

@omus

Description

@omus

Issue when running tests on the latest master (da0967a)

CSV.File basics: Error During Test at /Users/omus/.julia/dev/CSV/test/basics.jl:18
  Got exception outside of a @test
  InexactError: trunc(Int64, NaN)
  Stacktrace:
   [1] trunc at ./float.jl:702 [inlined]
   [2] ceil at ./float.jl:365 [inlined]
   [3] multithreadparse(::Array{Type,1}, ::Array{UInt8,1}, ::Array{UInt8,1}, ::Int64, ::Int64, ::Parsers.Options{false,false,true,false,Missing,UInt8,Nothing}, ::Nothing, ::Int64, ::Int64, ::Float64, ::Array{CSV.RefPool,1}, ::Int64, ::Dict{Type,Type}, ::Bool, ::Type, ::Int64, ::Int64, ::Bool) at /Users/omus/.julia/dev/CSV/src/file.jl:419
   [4] #File#27(::Nothing, ::Nothing, ::Int64, ::Bool, ::Dict{Type,Type}, ::Int64, ::Bool, ::Type{CSV.File}, ::CSV.Header{false,Parsers.Options{false,false,true,false,Missing,UInt8,Nothing},Array{UInt8,1}}) at /Users/omus/.julia/dev/CSV/src/file.jl:255
   [5] (::Core.var"#kw#Type")(::NamedTuple{(:debug, :typemap, :limit, :threaded),Tuple{Bool,Dict{Type,Type},Int64,Bool}}, ::Type{CSV.File}, ::CSV.Header{false,Parsers.Options{false,false,true,false,Missing,UInt8,Nothing},Array{UInt8,1}}) at ./none:0
   [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{Symbol,Integer,Tuple{Symbol,Symbol},NamedTuple{(:limit, :threaded),Tuple{Int64,Bool}}}, ::Type{CSV.File}, ::String) at /Users/omus/.julia/dev/CSV/src/file.jl:217
   [7] (::Core.var"#kw#Type")(::NamedTuple{(:limit, :threaded),Tuple{Int64,Bool}}, ::Type{CSV.File}, ::String) at ./none:0
   [8] top-level scope at /Users/omus/.julia/dev/CSV/test/basics.jl:440
   [9] top-level scope at /Users/omus/Development/Julia/1.3/usr/share/julia/stdlib/v1.3/Test/src/Test.jl:1107
   [10] top-level scope at /Users/omus/.julia/dev/CSV/test/basics.jl:21
   [11] include at ./boot.jl:328 [inlined]
   [12] include_relative(::Module, ::String) at ./loading.jl:1105
   [13] include(::Module, ::String) at ./Base.jl:31
   [14] include(::String) at ./client.jl:424
   [15] top-level scope at /Users/omus/.julia/dev/CSV/test/runtests.jl:17
   [16] top-level scope at /Users/omus/Development/Julia/1.3/usr/share/julia/stdlib/v1.3/Test/src/Test.jl:1107
   [17] top-level scope at /Users/omus/.julia/dev/CSV/test/runtests.jl:17
   [18] top-level scope at /Users/omus/Development/Julia/1.3/usr/share/julia/stdlib/v1.3/Test/src/Test.jl:1107
   [19] top-level scope at /Users/omus/.julia/dev/CSV/test/runtests.jl:15
   [20] include at ./boot.jl:328 [inlined]
   [21] include_relative(::Module, ::String) at ./loading.jl:1105
   [22] include(::Module, ::String) at ./Base.jl:31
   [23] include(::String) at ./client.jl:424
   [24] top-level scope at none:6
   [25] eval(::Module, ::Any) at ./boot.jl:330
   [26] exec_options(::Base.JLOptions) at ./client.jl:263
   [27] _start() at ./client.jl:460

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions