-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dump names do not work corectly #109
Comments
It looks like there is no object named "D" in that file. Do you have evidence to suggest otherwise? |
Is true,
_ _ ()_ | A fresh approach to technical computing julia> using JLD julia> fid=jldopen("D.jld") julia> dump(fid) julia> size(fid) julia> size(fid[D]) julia> size(fid["D"]) julia> D=load("D.jld","D") julia> |
Please post further questions to https://discourse.julialang.org/ |
I need take size of matrix D i n this file D.jld
_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: http://docs.julialang.org
_ _ | | __ _ | Type "?help" for help.
| | | | | | |/ ` | |
| | || | | | (| | | Version 0.4.5 (2016-03-18 00:58 UTC)
/ |_'|||_'_| | Official http://julialang.org/ release
|__/ | x86_64-w64-mingw32
julia> using JLD
julia> fid=jldopen("D.jld")
Julia data file version 0.1.1: D.jld
julia> dump(fid)
JLD.JldFile
plain: HDF5.HDF5File len 1
_creator: HDF5.HDF5Group len 5
ENDIAN_BOM: HDF5Dataset () : 67305985
JULIA_MAJOR: HDF5Dataset () : 0
JULIA_MINOR: HDF5Dataset () : 4
JULIA_PATCH: HDF5Dataset () : 5
WORD_SIZE: HDF5Dataset () : 64
version: VersionNumber
major: Int64 0
minor: Int64 1
patch: Int64 1
prerelease: Tuple{} ()
build: Tuple{} ()
toclose: Bool true
writeheader: Bool false
mmaparrays: Bool false
compatible: Bool false
compress: Bool false
h5jltype: Dict{Int64,Type{T}} len 0
jlh5type: Dict{Type{T},JLD.JldDatatype} len 0
jlref: Dict{HDF5.HDF5ReferenceObj,WeakRef} len 0
truncatemodules: Array(Union{ASCIIString,UTF8String},(0,)) Union{ASCIIString,UTF8String}[]
gref: #undef
nrefs: Int64 0
julia> names(fid)
0-element Array{ByteString,1}
julia> size(fid["D"])
HDF5-DIAG: Error detected in HDF5 (1.8.13) thread 0:
#000: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5O.c line 246 in H5Oopen(): unable to open object
major: Symbol table
minor: Can't open object
#1: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5O.c line 1357 in H5O_open_name(): object not found
major: Symbol table
minor: Object not found
#2: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Gloc.c line 430 in H5G_loc_find(): can't find object
major: Symbol table
minor: Object not found
#3: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal fa
iled
major: Symbol table
minor: Object not found
#4: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator fa
iled
major: Symbol table
minor: Callback failed
#5: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Gloc.c line 385 in H5G_loc_find_cb(): object 'D' doesn't exist
major: Symbol table
minor: Object not found
ERROR: Error opening object //D
in error at error.jl:22
Paul
The text was updated successfully, but these errors were encountered: