# EOFError: read end of file JLD2

**URL:** <https://discourse.julialang.org/t/eoferror-read-end-of-file-jld2/59693>\
**Category:** General Usage\
**Tags:** dictionary, jld2\
**Created:** [April 20, 2021, 8:18pm UTC](https://discourse.julialang.org/t/eoferror-read-end-of-file-jld2/59693 "2021-04-20T20:18:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian\_Mena](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sebastian_mena/32/22819_2.png) [@Sebastian\_Mena](https://discourse.julialang.org/u/Sebastian_Mena)\
**Post date:** [April 20, 2021, 8:18pm UTC](https://discourse.julialang.org/t/eoferror-read-end-of-file-jld2/59693/1 "2021-04-20T20:18:44Z")

</div>

Hi,

I tried to import a dictionary into jupyter notebook (julia 1.5.1), but it threw me this error:

```julia
>import JLD2
>dict_duels_accurate_probs = load("path/dict_duels_accurate_probs.jld2")

Error encountered while loading "path\\dict_duels_accurate_probs.jld2".

Fatal error:
EOFError: read end of file

```

But, i was able import others dictionaries with the same extension (.jld2)  
PS: the weight of the file is 1.2 GB

---

<div class="post-metadata">

**Author:** ![JonasIsensee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jonasisensee/32/4704_2.png) [@JonasIsensee](https://discourse.julialang.org/u/JonasIsensee)\
**Post date:** [September 1, 2021, 8:29am UTC](https://discourse.julialang.org/t/eoferror-read-end-of-file-jld2/59693/2 "2021-09-01T08:29:37Z")

</div>

Hi @Sebastian_Mena,

you could try to open the file with  
`f = jldopen("path/dict_duels_accurate_probs.jld2", "r")`  
and use the dictionary type interface to load individual datasets in the file.
