HDFGroup / HDFGroup/hdfview

HDFView fails to find input files on command line when using relative paths

Open
#171 26 comments 0 reactions 1 assignee Assigned to @jhendersonHDF View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.