Eye tribe and opensesame
Hi!
I am trying to test an eyetribe that I have just bought by another user. However I am not able to conect it with opensesame. I am new so I am trying to run a template but the error is:
Unexpected error
Details
item-stack: experiment[run].pygaze_init[run] exception type: error exception message: [Errno 10061] No se puede establecer una conexin ya que el equipo de destino deneg expresamente dicha conexin time: Tue May 04 15:38:43 2021 Traceback (also in debug window) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libqtopensesame\misc\process.py", line 157, in run exp.run() File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\experiment.py", line 456, in run self.items.execute(self.var.start) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 103, in execute self.run(name) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run self[name].run() File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\sequence.py", line 51, in run self.experiment.items.run(_item) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run self[name].run() File "C:\Program Files (x86)\OpenSesame\share\opensesame_plugins\pygaze_init\pygaze_init.py", line 217, in run **kwdict) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\pygaze\eyetracker.py", line 113, in __init__ self.__class__.__init__(self, display, **args) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\pygaze\_eyetracker\libeyetribe.py", line 129, in __init__ self.eyetribe = EyeTribe(logfilename=logfile) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\pygaze\_eyetracker\pytribe.py", line 46, in __init__ self._connection = connection(host=host, port=port) File "C:\Program Files (x86)\OpenSesame\lib\site-packages\pygaze\_eyetracker\pytribe.py", line 614, in __init__ self.sock.connect((self.host,self.port)) File "C:\Program Files (x86)\OpenSesame\lib\socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 10061] No se puede establecer una conexin ya que el equipo de destino deneg expresamente dicha conexin
Comments
Hi @BudSpencer ,
The error message indicates PyGaze cannot connect to the device. There can be many reasons for this, but the most likely one is that the EyeTribe server, which is the software that PyGaze connects to, is not running. Or perhaps the server is running, but cannot connect to the EyeTribe, in which case you should see an error message in the console.
Are you familiar with how the EyeTribe software works? I.e. you first start the EyeTribe server, which needs to be running all the time. And then a client can connect to it. This client can be the client software that is part of the EyeTrike SDK. Or it can be PyGaze.
— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thank you so much. You are right. It is a problem with eyetribe..