Describe the bug
When using L1Q 2.23.0 for wmiqc, we get a RuntimeError: dictionary changed size during iteration. line 44, in _showwarning in laboneq/controller/laboneq_logging.py.
We can hotfix this at the moment by casting the returned object to tuple or list, i.e. we change (line 44 in laboneq_logging.py)
for modname, module in sys.modules.items():
to
for modname, module in tuple(sys.modules.items()):
Versions used:
- laboneq: 2.23.0
- zhinst-core: 23.10.52579
- wmiqc: 0.57.4
Context
Describe the bug
When using L1Q 2.23.0 for wmiqc, we get a
RuntimeError: dictionary changed size during iteration.line 44, in _showwarning in laboneq/controller/laboneq_logging.py.We can hotfix this at the moment by casting the returned object to tuple or list, i.e. we change (line 44 in laboneq_logging.py)
to
Versions used:
Context