HDFView fails to find input files on command line when using relative paths
Open
Component - HDFView
HDFG_Internal
- Dominant language
- Java
- Stars
- 153
- Forks
- 26
- Avg merge
- 47m
- Merged PRs (30d)
- 1
Description
I initially thought this was a bug in https://github.com/spack/spack/issues/42153, but I think this may be an hdfview issue. When using the "# Default invocation when using modules" execution line in the hdfview.sh script, it appears that the argument -Dhdfview.root="$INSTALLDIR" causes hdfview to look in $INSTALLDIR for input files with a relative path. More concretely, if I run `hdfview file.h5`, I can see via strace that hdfview ends up looking for $INSTALLDIR/file.h5. It works OK if I run using the full path to the input file, such as `hdfview $PWD/file.h5`.
Contributor guide
Assessment
This issue has not been assessed yet.