I’m getting the following error while I run my code on a computer running in Linux Mint 19. I’ve previously ran this code on 2 separate Macs and it worked fine. Which makes me think that this might have something to do with Linux Mint itself (or how I set it up). Any clue how I can resolve this issue?
Traceback (most recent call last): File "image_slideshow.py", line 665, in <module> run() File "image_slideshow.py", line 631, in run pre_slide(1) File "image_slideshow.py", line 187, in pre_slide pre_slide_wait_screen(win) File "image_slideshow.py", line 171, in pre_slide_wait_screen win.flip() File "/home/danckertlab/.pyenv/versions/3.7.2/lib/python3.7/site-packages/psychopy/visual/window.py", line 950, in flip self.backend.swapBuffers(flipThisFrame) File "/home/danckertlab/.pyenv/versions/3.7.2/lib/python3.7/site-packages/psychopy/visual/backends/pygletbackend.py", line 276, in swapBuffers self.winHandle.dispatch_events() File "/home/danckertlab/.pyenv/versions/3.7.2/lib/python3.7/site-packages/pyglet/window/xlib/__init__.py", line 855, in dispatch_events while xlib.XCheckWindowEvent(_x_display, _window, 0x1ffffff, byref(e)): ctypes.ArgumentError: argument 2: <class 'TypeError'>: wrong type