Skip to content
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

Wildcard character in path confuses HDS #18

Open
timj opened this issue Oct 21, 2013 · 0 comments
Open

Wildcard character in path confuses HDS #18

timj opened this issue Oct 21, 2013 · 0 comments
Labels

Comments

@timj
Copy link
Member

timj commented Oct 21, 2013

We recently had a report that the pipeline wasn't working:

!! Error reading file names from stream attached to shell process -
!     Interrupted system call
!! No files found matching the file specification
! '/Users/person/Oph_H2D+/cube_recipe/adam_61767/ndfpack_mon'.
!! HDS_OPEN: Error opening an HDS container file.

The problem was that HDS was entering the wildcard match part of the code and failing to find the file. The culprit here being the + in the directory name. It's not clear whether this is fixable without a lot of work (splitting the path up and checking each component in turn to see if it exists) but I'm logging this for reference.

It also made clear to me that HDS is still forking processes to look for wildcard files (and rec1_find_file dynamically creates a shell script) rather than using wordexp() like the rest of Starlink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant