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

Module not found error message reported whereas an alternative requirement is loaded #511

Closed
xdelaruelle opened this issue Sep 12, 2023 · 0 comments
Labels
Milestone

Comments

@xdelaruelle
Copy link
Member

When a module requirement is made of 2 alternatives, if the first alternative cannot be found but the second correctly loads an error message is still reported.

$ cat /path/to/modulefiles/bar
#%Module
$ cat /path/to/modulefiles/foo
#%Module
prereq unk bar
$ ml use /path/to/modulefiles
$ ml foo
Loading foo
  ERROR: Unable to locate a modulefile for 'unk'
  Loading requirement: bar

Error message should not be reported as the alternative requirement bar is successfully loaded after unk not being found.

@xdelaruelle xdelaruelle added this to the 5.4.0 milestone Sep 12, 2023
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