error when creating resconfig in Horeka
Automatic creation of a resconfig file in horeka, via interactive session of texts
(texts session -w
) leads to the following error message:
File "/hkfs/home/project/hk-project-consulting/an9294/python_VirtEnvs/vrel-mr251/lib/python3.9/site-packages/virtmat/middleware/resconfig/resconfig.py", line 349, in from_scratch
value = float('inf') if val['infinite'] else val['number']
KeyError: 'infinite'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/hkfs/home/project/hk-project-consulting/an9294/python_VirtEnvs/vrel-mr251/bin/texts", line 8, in <module>
sys.exit(texts())
File "/hkfs/home/project/hk-project-consulting/an9294/python_VirtEnvs/vrel-mr251/lib/python3.9/site-packages/virtmat/language/cli/__init__.py", line 25, in texts
clargs.func(clargs)
File "/hkfs/home/project/hk-project-consulting/an9294/python_VirtEnvs/vrel-mr251/lib/python3.9/site-packages/virtmat/language/utilities/errors.py", line 304, in wrapper
raise RuntimeError('non-handled exception') from err
RuntimeError: non-handled exception
Discovered while testing MR 177 of the vre-language, but the problem is also present in the master branch.
The error does not occurr in the uc2 cluster (also MR177), where the resconfig is created as expected.
In both cases the preexisting resconfig file in ~/.fireworks (module resource not yet implemented) were backed up in the same folder by renaming.
The pip list
command shows the same packages and versions in both clusters.
The only difference in installations is that the uc2 uses version 3.9.7 of the python interpreter, while horeka uses 3.9.16.