==> Updating view at /user-environment/env/default
...
File "/dev/shm/boeschf/ml-base_env/add-compiler-links.py", line 70, in <module>
local_paths = set([os.path.dirname(v) for k, v in c["paths"].items()])
File "/dev/shm/boeschf/ml-base_env/add-compiler-links.py", line 70, in <listcomp>
local_paths = set([os.path.dirname(v) for k, v in c["paths"].items()])
File "/usr/lib64/python3.6/posixpath.py", line 156, in dirname
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
...
Filter
None
from compiler paths, before calling os.path.dirname.Compiler paths (for example clang) might be empty.
causing the following error: