I’m getting the following error when trying to save a file in JLD2 format on Julia-1.3.0-rc2:
$ C:/Users/blabla/AppData/Local/Julia-1.3.0-rc2/bin/julia.exe
[ Info: loading C:\Users\blabla\.julia\config\startup.jl
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.3.0-rc2.0 (2019-09-12)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(v1.3) pkg> st
Status `C:\Data\blabla\proj1\Project.toml`
[5789e2e9] FileIO v1.0.7
[033835bb] JLD2 v0.1.3
julia> using FileIO
julia> using JLD2
julia> jldopen("example.jld2", "w") do file
file["bigdata"] = randn(5)
end
ERROR: IOError: realpath: resource busy or locked (EBUSY)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] realpath(::String) at .\path.jl:374
[3] #jldopen#9(::Bool, ::Bool, ::typeof(jldopen), ::String, ::Bool, ::Bool, ::Bool, ::Type{JLD2.MmapIO}) at C:\Users\blabla\.julia\packages\JLD2\w2vgv\src\JLD2.jl:205
[4] jldopen at C:\Users\blabla\.julia\packages\JLD2\w2vgv\src\JLD2.jl:203 [inlined] (repeats 2 times)
[5] #jldopen#10(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(jldopen), ::String, ::String) at C:\Users\blabla\.julia\packages\JLD2\w2vgv\src\JLD2.jl:293
[6] jldopen(::String, ::String) at C:\Users\blabla\.julia\packages\JLD2\w2vgv\src\JLD2.jl:288
[7] #jldopen#33(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(jldopen), ::var"##7#8", ::String, ::Vararg{String,N} where N) at C:\Users\blabla\.julia\packages\JLD2\w2vgv\src\loadsave.jl:2
[8] jldopen(::Function, ::String, ::String) at C:\Users\blabla\.julia\packages\JLD2\w2vgv\src\loadsave.jl:2
[9] top-level scope at REPL[5]:1
The error does not occur on previous Julia versions up to (including) Julia-1.3.0-rc1. Any idea what has changed in rc2 that may cause this? Platform is Win7.
al