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

Conflict error does not correctly report loading state of conflicting module #262

Closed
xdelaruelle opened this issue Apr 21, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@xdelaruelle
Copy link
Collaborator

Taking following modules as example:

$ module show mc md
-------------------------------------------------------------------
/path/to/modulefiles/mc:

module          unload mc
-------------------------------------------------------------------
/path/to/modulefiles/md:

module          unload mc
module          load mc
-------------------------------------------------------------------

mc cannot be loaded due to the conflict defined by md. Error message is confusing as it should state that md is currently loading.

$ module load md
Loading mc
  ERROR: mc cannot be loaded due to a conflict.
    HINT: Might try "module unload md" first.

Loading md
  ERROR: md cannot be loaded due to missing prereq.
    HINT: the following module must be loaded first: mc
@xdelaruelle xdelaruelle added this to the 4.2.4 milestone Apr 21, 2019
@xdelaruelle xdelaruelle self-assigned this Apr 21, 2019
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