Skip to content

PyGaze error in OpenSesame using GazePoint #172

@13Elena98

Description

@13Elena98

Hi there,

I’m working on an experiment with OpenSesame 3.3.14 running with Python 3.7 and GazePoint 6.9.0.

I have some problem with the PyGaze library. The experiment runs correctly for some trials but then slows down and I get the following message on the console:

Exception in thread PyGaze_OpenGazeConnection_incoming:
Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenSesame\lib\threading.py", line 926, in _bootstrap_inner
    self.run()
  File "C:\Program Files (x86)\OpenSesame\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\pygaze\_eyetracker\opengaze.py", line 405, in _process_incoming
    if not messages[-1][-2:] == '/>':
IndexError: list index out of range

I had a similar issue a few months ago. At the following link there are all the information that I previously reported directly on the OpenSesame forum (@smathot kindly helped me to fix the problem):
https://forum.cogsci.nl/discussion/8360/gazepoint-opensesame-lxml-etree-xmlsyntaxerror-extracontent#latest

Do you have any suggestions?

Thanks in advance!

Elena

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions