hpcugent/vsc-base

UnicodeDecodeError in RunNoShellAsyncLoop._read_process

Closed this issue · 0 comments

Example:

2020-04-02 18:42:58,147 ERROR      RunNoShellAsyncLoop MainThread  _read_process: read failed
Traceback (most recent call last):
  File "/Volumes/work/vsc-base/lib/vsc/utils/run.py", line 678, in _read_process
    return out.decode()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 782: ordinal not in range(128)

I'll look into reproducing this in a test, and fixing, looks like this was introduced in #287