probleam: julia preprocess.jl
Closed this issue · 0 comments
when i run:julia preprocess.jl:
HDF5-DIAG: Error detected in HDF5 (1.12.0) thread 0:
#000: H5F.c line 793 in H5Fopen(): unable to open file
major: File accessibility
minor: Unable to open file
#1: H5VLcallback.c line 3500 in H5VL_file_open(): open failed
major: Virtual Object Layer
minor: Can't open object
#2: H5VLcallback.c line 3465 in H5VL__file_open(): open failed
major: Virtual Object Layer
minor: Can't open object
#3: H5VLnative_file.c line 100 in H5VL__native_file_open(): unable to open file
major: File accessibility
minor: Unable to open file
#4: H5Fint.c line 1707 in H5F_open(): unable to read superblock
major: File accessibility
minor: Read failed
#5: H5Fsuper.c line 621 in H5F__super_read(): truncated file: eof = 96, sblock->base_addr = 0, stored_eof = 2048
major: File accessibility
minor: File has been truncated
ERROR: LoadError: Error opening file /home/ccit19/ljh/t2vec/data/porto.h5
Stacktrace:
[1] error(::String, ::String)
@ Base ./error.jl:42
[2] h5f_open(pathname::String, flags::UInt16, fapl_id::HDF5.Properties)
@ HDF5 ~/.julia/packages/HDF5/VJkAi/src/api.jl:614
[3] h5open(filename::String, mode::String; swmr::Bool, pv::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HDF5 ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:436
[4] h5open(::var"#4#9"{SpatialRegion}, ::String, ::Vararg{String, N} where N; swmr::Bool, pv::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HDF5 ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:456
[5] h5open
@ ~/.julia/packages/HDF5/VJkAi/src/HDF5.jl:456 [inlined]
[6] makeVocab!(region::SpatialRegion, trjfile::String)
@ Main ~/ljh/t2vec/preprocessing/SpatialRegionTools.jl:185
[7] top-level scope
@ ~/ljh/t2vec/preprocessing/preprocess.jl:55
in expression starting at /home/ccit19/ljh/t2vec/preprocessing/preprocess.jl:50
why using h5open() error?