Skip to content

no clue if dependent unload was attempted when raising dependent loaded issue #259

@xdelaruelle

Description

@xdelaruelle

Taking the following modulefiles as example:

$ cat /path/to/modulefiles/ta
#%Module
$ cat /path/to/modulefiles/tb
#%Module
prereq ta
module unload ta

tb load leads to the load then the unload of ta. Unload of ta fails but the error message is confusing as it suggest unload should be tried whereas unload has been tried.

$ module load --auto tb
Unloading ta
  ERROR: ta cannot be unloaded due to a prereq.
    HINT: Might try "module unload tb" first.

Loading tb
  ERROR: tb cannot be loaded due to a conflict.
    HINT: Might try "module unload ta" first.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions