Skip to content

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

Description

@xdelaruelle

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.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions