Psychopy - Pyglet Exception Error : raise GLException(msg)

Hi everyone,


Windows 11, PsychoPy 2022.1.2, pyglet 1.4.11
My team and I are developing a panel of cognitive tasks and since a few days we are struggling with this warning, which keeps displaying on the terminal:

Exception ignored in : <bound method ImageStim.__del__ of <psychopy.visual.image.ImageStim object at 0x000002425889A630>
Traceback (most recent call last):
File "C:\Users\iCRIN_server\PycharmProjects\seven_diff\venv\lib\site-packages\psychopy\visual\image.py", line 197, in __del__
GL.glDeleteLists(self._listID, 1)
File "C:\Users\iCRIN_server\PycharmProjects\seven_diff\venv\lib\site-packages\pyglet\gl\lib.py", line 106 in errcheck
raise GLException(msg)
pyglet.gl.lib.GLException: b'invalid operation'

This warning appends right after I call the visual.ImageStim function.
We really don’t understand where it could come from

Any help would be greatly appreciated,
Thanks!
Ilyass