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

Test failure in CSVFiles #386

Open
ViralBShah opened this issue Feb 27, 2024 · 0 comments
Open

Test failure in CSVFiles #386

ViralBShah opened this issue Feb 27, 2024 · 0 comments

Comments

@ViralBShah
Copy link
Contributor

On Julia 1.12-dev, we get this failure:

CSV load from URL via CSVFiles (#320): Error During Test at /Users/viral/.julia/dev/FileIO/test/loadsave.jl:400
  Test threw exception
  Expression: collect(load(f)) == collect(load("https://raw.githubusercontent.com/queryverse/CSVFiles.jl/v0.2.0/test/data.csv"))
  HTTP.RequestError:
  HTTP.Request:
  HTTP.Messages.Request:
  """
  GET /queryverse/CSVFiles.jl/v0.2.0/test/data.csv HTTP/1.1
  Host: raw.githubusercontent.com
  Accept: */*
  User-Agent: HTTP.jl/1.12.0-DEV.75
  Content-Length: 0
  Accept-Encoding: gzip
  
  """Underlying error:
  MethodError: Cannot `convert` an object of type 
    SubArray{UInt8,1,Memory{UInt8},Tuple{UnitRange{Int64}},true} to an object of type 
    SubArray{UInt8,1,Vector{UInt8},Tuple{UnitRange{Int64}},true}
  The function `convert` exists, but no method is defined for this combination of argument types.
  
  Closest candidates are:
    SubArray{T, N, P, I, L}(::Any, ::Any, ::Any, ::Any) where {T, N, P, I, L}
     @ Base subarray.jl:19
    convert(::Type{T}, ::T) where T
     @ Base Base.jl:126
    convert(::Type{T}, ::LinearAlgebra.Factorization) where T<:AbstractArray
     @ LinearAlgebra ~/julia/usr/share/julia/stdlib/v1.12/LinearAlgebra/src/factorization.jl:104
    ...
  

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