Bug 2303169
| Summary: | modulefile not working | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | djip007 <djip.perois> |
| Component: | Lmod | Assignee: | Orion Poplawski <orion> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 40 | CC: | orion |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-08-07 02:31:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
look the same as : https://bugzilla.redhat.com/show_bug.cgi?id=2302846 *** This bug has been marked as a duplicate of bug 2302846 *** |
Description of problem: when I use any modulefile fonctions like: > module avail I get: /usr/bin/lua: /usr/share/lua/5.4/json/decode/util.lua:97: attempt to call a string value (field 'version') stack traceback: /usr/share/lua/5.4/json/decode/util.lua:97: in main chunk [C]: in function 'require' /usr/share/lua/5.4/json/decode.lua:12: in main chunk [C]: in function 'require' /usr/share/lua/5.4/json.lua:5: in main chunk [C]: in function 'require' /usr/share/lmod/lmod/libexec/../shells/JsonShell.lua:46: in main chunk [C]: in function 'require' /usr/share/lmod/lmod/libexec/../shells/BaseShell.lua:295: in upvalue 'l_createShellTbl' /usr/share/lmod/lmod/libexec/../shells/BaseShell.lua:327: in function 'BaseShell.isValid' /usr/share/lmod/lmod/libexec/utils.lua:1189: in function 'dynamic_shell' /usr/share/lmod/lmod/libexec/lmod:345: in function 'main' /usr/share/lmod/lmod/libexec/lmod:585: in main chunk [C]: in ? Version-Release number of selected component (if applicable): 8.7.37 How reproducible: fedora 40 update with Lmod installed, call `module avail` Actual results: Erreur. Expected results: return liste of available modules