# CSV ZipFile read example broken in Julia 1.11.0

**URL:** https://discourse.julialang.org/t/csv-zipfile-read-example-broken-in-julia-1-11-0/121204
**Category:** General Usage
**Created:** [October 11, 2024, 6:38pm UTC](https://discourse.julialang.org/t/csv-zipfile-read-example-broken-in-julia-1-11-0/121204 "2024-10-11T18:38:11Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![oscarvdvelde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscarvdvelde/32/202157_2.png) [@oscarvdvelde](https://discourse.julialang.org/u/oscarvdvelde)
#### Post date: [October 11, 2024, 10:19pm UTC](https://discourse.julialang.org/t/csv-zipfile-read-example-broken-in-julia-1-11-0/121204/6 "2024-10-11T22:19:58Z")

</div>

I reported this as a bug several months ago:

> <https://github.com/JuliaData/CSV.jl/issues/1137>
>
> \`\`
> \[test3.dat.gz\](https://github.com/user-attachments/files/16286492/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.

and this thread:

> [@CSV.jl bug reading .gz file in Julia 1.11-rc](https://discourse.julialang.org/t/csv-jl-bug-reading-gz-file-in-julia-1-11-rc/117341):
>
> 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.Fil…

---

_[View the full topic](https://discourse.julialang.org/t/csv-zipfile-read-example-broken-in-julia-1-11-0/121204)._
