intrepidcs / python_ics

Library for interfacing with Intrepid devices in Python
MIT License
61 stars 29 forks source link

ics.get_error_messages(): Fatal Python error: PyEval_SaveThread: the function must be called with the GIL held #175

Closed drebbe-intrepid closed 6 months ago

drebbe-intrepid commented 6 months ago
>>> import ics
>>> d = ics.open_device()
>>> ics.get_error_messages(d)
Fatal Python error: PyEval_SaveThread: the function must be called with the GIL held, but the GIL is released (the current Python thread state is NULL)
Python runtime state: initialized

Current thread 0x00007fff00aa44c0 (most recent call first):
  File "<stdin>", line 1 in <module>

Extension modules: ics.ics (total: 1)
Aborted
$ uname -a
6.1.0-rpi8-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux