Howdy, Stranger!

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

Supported by

'Pygaze_trackertest' doesn't work correctly.

rrrrrr
edited October 2015 in PyGaze

Hello,

I get errors of pygaze (0.6.0) in MacOS using Eyelink1000plus.
When I started 'Pygaze_trackertest.py' of the examples, it caused two errors.

[Calibration and Validation errors]

As I did the calibration and validation, it started but didn't presented a black fixation at the displayPC. The monitor of displayPC kept a gray blank and I was not able to see the black fixation, while the hostPC showed the screens of calibration and validation correctly (actually record the eye movements).

WARNING: screen.Screen: could not find font '/Users/Desktop/PyGaze-prerelease-0.6.0a1/examples/pygaze_trackertest/fonts/mono.ttf'; using default instead

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygaze/_eyetracker/eyelinkgraphics.py", line 246, in draw_cal_target
    self.play_beep(pylink.CAL_TARG_BEEP)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygaze/_eyetracker/eyelinkgraphics.py", line 264, in play_beep
    if EYELINKCALBEEP:
NameError: global name 'EYELINKCALBEEP' is not defined

[Can't end the file]

I was not able to end. When I pressed 'esc' and 'y' to end, it froze. I had to do the forced termination.

What is cause?

Best,

Comments

  • rrrrrr
    edited 7:22AM

    Hello,

    I encountered new errors.
    I updated the pygaze version from 0.6.01a to 0.6.04a, and run new 'Pygaze_trackertest.py' of the examples. It showed errors as below.

    Python 2.7.10 (default, Aug 26 2015, 18:15:57) 
    [GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
    Type "copyright", "credits" or "license()" for more information.
    >>> ================================ RESTART ================================
    >>> 
    WARNING: screen.Screen: could not find font '/Users/ryotachibana/Desktop/PyGaze-prerelease-0.6.0a4/examples/pygaze_trackertest/fonts/mono.ttf'; using default instead
    WARNING: screen.Screen: could not find font '/Users/ryotachibana/Desktop/PyGaze-prerelease-0.6.0a4/examples/pygaze_trackertest/fonts/mono.ttf'; using default instead
    Recording would have stopped at: 53358.0791016
    WARNING: screen.Screen: could not find font '/Users/ryotachibana/Desktop/PyGaze-prerelease-0.6.0a4/examples/pygaze_trackertest/fonts/mono.ttf'; using default instead
    Drift correction would now take place
    
    Traceback (most recent call last):
      File "/Users/ryotachibana/Desktop/PyGaze-prerelease-0.6.0a4/examples/pygaze_trackertest/PyGaze_trackertest.py", line 131, in <module>
        tracker.drift_correction()
      File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygaze/_eyetracker/libdummytracker.py", line 103, in drift_correction
        self.draw_drift_correction_target(pos[0], pos[1])
      File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygaze/_eyetracker/libdummytracker.py", line 401, in draw_drift_correction_target
        self.screen.draw_fixation(fixtype='dot', colour=FGC, pos=(x,y), pw=0, \
    NameError: global name 'FGC' is not defined
    >>> ================================ RESTART ================================
    >>> 
    

    My Eyelink didn't work when I run it, while this program worked half way.
    It froze when I tried to start the drift correct according to the instructions.

    Best,

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 http://45.77.173.118/ 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