hdf5 icon indicating copy to clipboard operation
hdf5 copied to clipboard

Provide more detailed information on failure to traverse an external link

Open gheber opened this issue 3 years ago • 0 comments

According to this report it appears that the library does not distinguish between failed external link traversal due to file access mode EACCES (Permission denied) or file existence ENOENT (No such file or directory). The error message in both cases reads:

#008: ../../../src/H5Fint.c line 738 in H5F_prefix_open_file(): unable to open file, file name = 'target.h5', temp_file_name = 'target.h5'
    major: File accessibilty
    minor: Unable to open file

which, in this case, is ambiguous. How can we to provide more detailed error information to remove this kind of ambiguity?

gheber avatar Feb 10 '22 20:02 gheber