Hello,
I tried version 1.11.0-rc and noted a file access error reading a gzipped file with CSV.File, which does not happen in 1.10.4.
julia> data = CSV.File(raw"C:\Users\oscar\Documents\Work\Julia\test3.dat.gz")
ERROR: IOError: unlink("C:\\Users\\oscar\\AppData\\Local\\Temp\\jl_D028.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
[9] top-level scope
@ REPL[3]:1
I created a bug report last week where you can download the file and see version info: CSV.File failing for gzipped file in Julia 1.11-rc · Issue #1137 · JuliaData/CSV.jl · GitHub
In my own applications, I tend to get EACCES errors whenever using cd
or rm
Julia function without giving some sleep(0.2)
afterwards to make sure they completed.