Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Tobii 150 Spectrum and PyGaze

I am running a series of eye tracker experiments in OpenSesame to investigate cognitive effort by means of checking the variability of the pupil size across conditions, first, in a AX-CPT and, after, in a Simon task. Howver, I am facing some problems and would like to ask for advice/help.

1) When we run the experiments sometimes I get this error:


El experimento no pudo terminar de forma normal por la siguiente razón:

Unexpected error


item-stack: experiment[run].pygaze_init[run]

exception type: AttributeError

exception message: TobiiProTracker instance has no attribute 't0'

time: Thu Mar 28 17:03:00 2019

Traceback (also in debug window)

 File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libqtopensesame\misc\", line 157, in run

 File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\", line 456, in run


 File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\", line 103, in execute

 File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\", line 122, in run


 File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\", line 51, in run

 File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\", line 122, in run


 File "C:\Program Files (x86)\OpenSesame\share\opensesame_plugins\pygaze_init\", line 227, in run


 File "C:\Program Files (x86)\OpenSesame\lib\site-packages\pygaze\_eyetracker\", line 299, in calibrate


 File "C:\Program Files (x86)\OpenSesame\lib\site-packages\pygaze\_eyetracker\", line 192, in start_recording

  if not self.t0 and self._write_enabled:

AttributeError: TobiiProTracker instance has no attribute 't0'

Does anyone know what this error means? It does not appear all the time though, but I think this indicates that there is something wrong in the experiment.

2) Another problem is that the calibration phase does not happen in the same way all the time. That is, sometimes, pygaze does not ask to confirm the calibration and after the first calibration period it skips directly to the experiment. Also, the eye tracker sample rate varies drastically and sometimes it is super low (like 4 Hz for instance instead of ~150hz).

3) As you know, when we run an experiment using Open Sesame and PyGaze we get two output files: one with the behavior results (open sesame file) and the other with the eye tracker results (pygaze file). Is there any easy way to integrate both files? For example, adding variable to the pygaze logfile so I can link my conditions with the pupil size information?

Thanks in advance!



  • Hi Patricia,

    This sounds like a Tobii-specific problem. Would you mind opening a new issue on GitHub via the link below, and tag the Tobii developers @grebdems and @pedrotari7, please?

    Point 2 might well be related to the same underlying issue.

    As for point 3, you can use a pygaze_log item to log whatever you want to the gaze data file :)

    Good luck!


  • Hi Edwin,

    I am a colleague of Patricia, working on the same project. We still get the attribute 't0' error that Patricia describes in point 1. I opened an issue on GitHub, and also contacted Tobii support. From Tobii support, they say it does not seem to be an eyetracker error, but rather a PyGaze error (or an issue that arises when integrating PyGaze and OpenSesame), as 't0' is defined within PyGaze, and not by the eyetracker software.

    Would you have any insight into why this error occurs and whether it could be "programmed away"?

    Thank you very much.


Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games