JLD.jl icon indicating copy to clipboard operation
JLD.jl copied to clipboard

Saving and loading julia variables while preserving native types

Results 100 JLD.jl issues
Sort by recently updated
recently updated
newest added
trafficstars

``` using JLD a = rand(10) save("a.jld", "a", a) workspace() using JLD using Base.Test a = rand(10) b = rand(10) c = rand(10) @save "thing.jld" @test contains(readall(`ls`), "thing.jld") ``` running...

``` julia julia> JLD.save("test.jld", "x", Nullable{UTF8String}()) ERROR: UndefRefError: access to undefined reference in write_compound at /Users/jarrettrevels/.julia/v0.4/JLD/src/JLD.jl:683 in write at /Users/jarrettrevels/.julia/v0.4/JLD/src/JLD.jl:504 in anonymous at /Users/jarrettrevels/.julia/v0.4/JLD/src/JLD.jl:1165 in jldopen at /Users/jarrettrevels/.julia/v0.4/JLD/src/JLD.jl:240 in save...

``` julia f = ()->(x->x) save("test.jld", "f", f) ``` returns ``` julia HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0: #000: ../../../src/H5Tcompound.c line 374 in H5Tinsert(): unable to insert member...

All the documentations gives examples of usine `@write file A` etc. And says that it is no longer generally required to first import HDF5. But using `@write` without fist `using...

I accidentally called `save(File(format"JLD","/tmp/foo"),A)` instead of `save(File(format"JLD","/tmp/foo"),"A",A)`, and this resulted in Julia exiting with a segmentation fault. The actual error log is too long to post, but it involved the...

Consider ``` julia jld = jldopen("test.jld","w") jld["a"]=1 has(jld,"a") # ERROR: MethodError: `has` has no method ... has(jld.plain,"a") ``` Is there a reason this doesn't work?

i am not sure it is the problem of my ubuntu system or the package, so i'll fire straight a issue here. it used to work on another windows system...

I get a seq fault with the following code in Julia 1.10.0 (and 1.9.2) while using JLD v0.13.4. The error does not occur with Float64s, smaller Float16 vectors. This error...

The following code generates an error: ``` jldopen("test.jld", "w") do f write(f, "x", 1:0.1:2) end jldopen("test.jld", "r+") do f write(f, "y", 1:0.1:2) end load("test.jld") ``` **Error**: Error encountered while load...

These two functions are mentioned in the documentation and standard policy in Julia is that such symbols are marked as public in Julia versions >=1.11