JuliaIO/JLD2.jl

jldopen(filename, "w";) will fail in win7

HongBinYu-hub opened this issue · 2 comments

Hello,

I'm having trouble using JLD2.

In the win7 operating system, jldopen(filename, "w") defaults to iotype = MmapIO, which will cause an error. But jldopen(filename, "w"; iotype = IOStream) can be written normally. And due to this error, win7 will not be able to precompile the JLD2 library.

data = Dict("key" => "value")
filename = "demo.jld2"

jldopen(filename, "w") do f
    for (k, v) in pairs(data)
        f[string(k)] = v
    end
end

jldopen报错

This should be fixed now, no?

This should be fixed now, no?

thanks a lot, On win7 system, this problem has been solved.