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

error when loading module with a specific color palette #455

Closed
xdelaruelle opened this issue May 6, 2022 · 0 comments
Closed

error when loading module with a specific color palette #455

xdelaruelle opened this issue May 6, 2022 · 0 comments
Labels
Milestone

Comments

@xdelaruelle
Copy link
Member

On version 5.1.0, with a specific color palette configuration with no entry for the hi color element, for instance:

module config colors foo=42

Load or unload of a module crashes:

ERROR: can't read "::g_colors(hi)": no such element in array
      while executing
  "append sgrcode $::g_colors(hi)"
      (procedure "sgr" line 96)
      invoked from within
  "sgr $eltsgrlist $elt $himatchmap $tagsgrlist"
      (procedure "formatListEltToDisplay" line 21)
      invoked from within
  "formatListEltToDisplay $moddesig {} {} {} {} 0 0 $taglist $showtags $vrlist $vrsgr 1 $himatchmap"
      (procedure "getModuleDesignation" line 52)
      invoked from within
  "getModuleDesignation $msgrecid {} 2"
      (procedure "cmdModuleLoad" line 312)
      invoked from within
  "cmdModuleLoad load 1 $tag_list {*}$args"
      (procedure "module" line 125)
      invoked from within
  "{*}$execcmdlist"
  Please report this issue at https://github.com/cea-hpc/modules/issues

Crash occurs during the making of the module designation.

@xdelaruelle xdelaruelle added the bug label May 6, 2022
@xdelaruelle xdelaruelle added this to the 5.1.1 milestone May 6, 2022
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