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

CSV.File failing for gzipped file in Julia 1.11-rc #1137

Open
oscarvdvelde opened this issue Jul 18, 2024 · 0 comments
Open

CSV.File failing for gzipped file in Julia 1.11-rc #1137

oscarvdvelde opened this issue Jul 18, 2024 · 0 comments

Comments

@oscarvdvelde
Copy link

oscarvdvelde commented Jul 18, 2024

``
test3.dat.gz
`

julia> lmadata = CSV.File(raw"C:\Users\oscar\Documents\Work\Julia\test3.dat.gz")
ERROR: IOError: unlink("C:\\Users\\oscar\\AppData\\Local\\Temp\\jl_F294.tmp"): permission denied (EACCES)
Stacktrace:
 [1] uv_error
   @ .\libuv.jl:106 [inlined]
 [2] unlink(p::String)
   @ Base.Filesystem .\file.jl:1105
 [3] rm(path::String; force::Bool, recursive::Bool)
   @ Base.Filesystem .\file.jl:283
 [4] rm
   @ .\file.jl:273 [inlined]
 [5] CSV.File(ctx::CSV.Context, chunking::Bool)
   @ CSV C:\Users\oscar\.julia\packages\CSV\cwX2w\src\file.jl:344
 [6] File
   @ C:\Users\oscar\.julia\packages\CSV\cwX2w\src\file.jl:227 [inlined]
 [7] #File#32
   @ C:\Users\oscar\.julia\packages\CSV\cwX2w\src\file.jl:223 [inlined]
 [8] CSV.File(source::String)
   @ CSV C:\Users\oscar\.julia\packages\CSV\cwX2w\src\file.jl:162

julia> lmadata = CSV.File(raw"C:\Users\oscar\Documents\Work\Julia\test3.dat.gz",header=false,delim=' ', ignorerepeated=true)
ERROR: IOError: unlink("C:\\Users\\oscar\\AppData\\Local\\Temp\\jl_B18B.tmp"): permission denied (EACCES)
Stacktrace:
 [1] uv_error
   @ .\libuv.jl:106 [inlined]
 [2] unlink(p::String)
   @ Base.Filesystem .\file.jl:1105
 [3] rm(path::String; force::Bool, recursive::Bool)
   @ Base.Filesystem .\file.jl:283
 [4] rm
   @ .\file.jl:273 [inlined]
 [5] CSV.File(ctx::CSV.Context, chunking::Bool)
   @ CSV C:\Users\oscar\.julia\packages\CSV\cwX2w\src\file.jl:344
 [6] File
   @ C:\Users\oscar\.julia\packages\CSV\cwX2w\src\file.jl:227 [inlined]
 [7] #File#32
   @ C:\Users\oscar\.julia\packages\CSV\cwX2w\src\file.jl:223 [inlined]
 [8] top-level scope
   @ REPL[45]:1

Julia Version 1.11.0-rc1
Commit 3a35aec36d (2024-06-25 10:23 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 16 × 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, tigerlake)
Threads: 16 default, 0 interactive, 8 GC (on 16 virtual cores)
Environment:
JULIA_EDITOR = code

CSV v0.10.14

dat.gz file is attached.

Note: it works fine on the raw data.

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