OSC / ood_core

Open OnDemand core library
https://osc.github.io/ood_core/
MIT License
9 stars 25 forks source link

utf-8 errors in at least Slurm adapter #838

Closed johrstrom closed 1 week ago

johrstrom commented 1 week ago

From discourse - https://discourse.openondemand.org/t/empty-job-list-due-to-non-utf8-job-names/3588

Apparently job names with non-utf8 characters can break the Slurm adapter. This affects at least Slurm but could also affect others, though I don't know for sure.

johrstrom commented 1 week ago

Turns out this is only an issue if you set the LANG environment variable to C. Setting it to en_US.UTF-8 resolves the issue.