Gazepoint Control Version 4.2.0 used with PyGaze and Opensesame - Calibration Error
We have been using a GazePoint eyetracker with version 4.1 of the Controller, Opensesame 3.1.9, and the latest release of the PyGaze package on Windows 7 and Windows 10 machine without incurring into any major trouble. I have been helped by @moreno and @alisdt to set it up.
However, we wanted to update the Gazepoint Control to their latest release, which is 4.2.0. The reason is that it implements a new "P" mode for tracking difficult eyes, and we are often dealing with elderly and clinical populations which are actually harder to track.
But, when we try to run the Gazepoint Version 4.2.0, we got the following error during the calibration phase:
Starting experiment as ExperimentProcess-3 openexp._canvas.legacy.init_display(): enabling hardware surface openexp._canvas.legacy.init_display(): enabling double buffering openexp._canvas.legacy.init_display(): video mode ok openexp.sampler._legacy.init_sound(): sampling freq = 48000, buffer size = 1024 openexp.sampler._legacy.init_sound(): mixer already initialized, closing experiment.run(): experiment started at Thu May 31 15:06:43 2018 experiment.run(): disabling garbage collection Exception in thread PyGaze_OpenGazeConnection_incoming: Traceback (most recent call last): File "C:\Program Files (x86)\OpenSesame\lib\threading.py", line 801, in __bootstrap_inner self.run() File "C:\Program Files (x86)\OpenSesame\lib\threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\pygaze\_eyetracker\opengaze.py", line 428, in _process_incoming command, msgdict = self._parse_msg(msg) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\pygaze\_eyetracker\opengaze.py", line 350, in _parse_msg e = lxml.etree.fromstring(xml) File "src\lxml\etree.pyx", line 3213, in lxml.etree.fromstring File "src\lxml\parser.pxi", line 1876, in lxml.etree._parseMemoryDocument File "src\lxml\parser.pxi", line 1764, in lxml.etree._parseDoc File "src\lxml\parser.pxi", line 1126, in lxml.etree._BaseParser._parseDoc File "src\lxml\parser.pxi", line 600, in lxml.etree._ParserContext._handleParseResultDoc File "src\lxml\parser.pxi", line 710, in lxml.etree._handleParseResult File "src\lxml\parser.pxi", line 639, in lxml.etree._raiseParseError XMLSyntaxError: attributes construct error, line 1, column 30 (line 1)
@moreno and I suspect that in this latest 4.2.0 of the Gazepoint Control, something in the API must have been changed and consequently PyGaze cannot parse the XML.
As we really are not that familiar with the implementation of PyGaze, we would have to ask PyGaze experts here, as well as you @Edwin, whether you have encountered a similar problem before; and especially whether you would be so kind to help us resolve this issue.
Thank you very much for your precious time.