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

issue when unloading switched-off module or when loading switched-on module not reported #255

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

Comments

@xdelaruelle
Copy link
Collaborator

Taking the following modulefiles as example:

$ cat /path/to/modulefiles/ta
#%Module
if {[module-info mode unload]} {
    break
}
$ cat /path/to/modulefiles/tb 
#%Module
if {[module-info mode load]} {
    break
}

When switching ta by tb, ta unload fails but no error message is reported. Same situation if switched-on module fails to load, no error message is reported.

$ module load ta
$ module list
Currently Loaded Modulefiles:
 1) ta
$ module switch ta tb
$ module list
Currently Loaded Modulefiles:
 1) ta
@xdelaruelle xdelaruelle added this to the 4.2.4 milestone Apr 10, 2019
@xdelaruelle xdelaruelle self-assigned this Apr 10, 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