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

Core.Bool failure for OLD JLD file

Open montyvesselinov opened this issue 5 years ago • 2 comments

Loading old JLD file produces this under julia 1.1. How this can be resolved?

ERROR: stored type Core.Bool does not match currently loaded type
Stacktrace:
 [1] jldatatype(::JLD.JldFile, ::HDF5.HDF5Datatype) at /Users/monty/.julia/packages/JLD/1BoSz/src/jld_types.jl:729
 [2] read(::JLD.JldDataset) at /Users/monty/.julia/packages/JLD/1BoSz/src/JLD.jl:370
 [3] read_ref(::JLD.JldFile, ::HDF5.HDF5ReferenceObj) at /Users/monty/.julia/packages/JLD/1BoSz/src/JLD.jl:502
 [4] read_refs(::JLD.JldDataset, ::Type{Any}, ::Int32, ::Int32, ::Tuple{Int64}) at /Users/monty/.julia/packages/JLD/1BoSz/src/JLD.jl:475
 [5] read_array(::JLD.JldDataset, ::HDF5.HDF5Datatype, ::Int32, ::Int32, ::Tuple{Int64}) at /Users/monty/.julia/packages/JLD/1BoSz/src/JLD.jl:409
 [6] read_array(::JLD.JldDataset, ::HDF5.HDF5Datatype, ::Int32, ::Int32) at /Users/monty/.julia/packages/JLD/1BoSz/src/JLD.jl:408

montyvesselinov avatar Mar 20 '19 03:03 montyvesselinov

+1 same issue.

irudik avatar Jul 19 '19 17:07 irudik

Have you seen this ?

That solved it for me.

carlosbrody avatar May 15 '20 18:05 carlosbrody