Unable to use PsychoPy display with PyGaze-0.6.0 on Windows
I have downloaded both the 0.5.1 and the 0.6.0 versions of PyGaze as portable WinPython environments from the PyGaze website. I am able to use the Pygame display (
DISPTYPE = 'pygame') with both of them but I'm only able to use the Psychopy display (
DISPTYPE = 'psychopy') with the 0.5.1 version.
When I try to run, for example, the simple_tracker_experiment (adjusted for my display dimensions and in dummy mode) with PyGaze 0.6.0, I get the following traceback (the paths were truncated):
Traceback (most recent call last): File "...\simple_tracker_experiment.py", line 17, in <module> disp = libscreen.Display() File "...\pygaze\display.py", line 45, in __init__ self.__class__.__init__(self, **args) File "...\pygaze\_display\psychopydisplay.py", line 70, in __init__ screen=self.screennr, units='pix') File "...\psychopy\visual\window.py", line 237, in __init__ self.scrWidthCM = self.monitor.getWidth() AttributeError: 'NoneType' object has no attribute 'getWidth'
I have tried to find the cause of this behaviour but without success. Any help will be much appreciated.
I would like to be able to use the newer version because I'm working with a Tobii eye-tracker and I would like to take advantage of the new Tobii Pro SDK support.
My thanks in advance!
And my gratitude to Edwin and the contributors for such a useful package!