You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug module load-ing two modulefiles that use remove_path will cause an error when one of them is eventually attempted to be unloaded.
To Reproduce
Create 2 modulefiles that use remove_path
module load both modulefiles
module unload either of the modulefiles
This will result in an error similar to:
$ module unload remove_another_path
Lmod has detected the following error: Unable to load module because of error
when evaluating modulefile:
.../remove_path.lua:
...Lmod-8.7.32/src/MainControl.lua:339: attempt to
call a nil value (method 'trim')
Please check the modulefile and especially if there is a line number
specified in the above message
While processing the following module(s):
Module fullname Module Filename
--------------- ---------------
remove_path ...
Desktop (please complete the following information):
OS: Linux
Linux distribution: SLES
Lmod Version: 8.7.32
For Lmod Versions 8.7.7+, please run "module --miniConfig" and
include the output here.
At the moment, we have a patch in place that changes the remove_path dependency to MainControl.quiet in MC_DependencyCk.lua (#670). This fixes the error for us.
The text was updated successfully, but these errors were encountered:
Describe the bug
module load
-ing two modulefiles that useremove_path
will cause an error when one of them is eventually attempted to be unloaded.To Reproduce
remove_path
module load
both modulefilesmodule unload
either of the modulefilesThis will result in an error similar to:
Desktop (please complete the following information):
include the output here.
At the moment, we have a patch in place that changes the
remove_path
dependency toMainControl.quiet
inMC_DependencyCk.lua
(#670). This fixes the error for us.The text was updated successfully, but these errors were encountered: