Howdy, Stranger!

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

Supported by

Errors in pygaze examples code

Hi,
I took pygaze examples code and trying to see the outputs. But I am ending up with errors
https://github.com/esdalmaijer/PyGaze/tree/master/examples/slideshow

The "experiment.py" code from the above link with python 2.7.5 32-bit gives the error as,
Participant name: "sindhu"
Traceback (most recent call last):
File "E:\pygaze\PyGaze-master\examples\slideshow\experiment.py", line 25, in
disp = Display()
File "C:\Python27\lib\site-packages\pygaze\display.py", line 45, in init
self.class.init(self, **args)
File "C:\Python27\lib\site-packages\pygaze_display\psychopydisplay.py", line 70, in __init__
screen=self.screennr, units='pix')
File "C:\Python27\lib\site-packages\psychopy\visual\window.py", line 237, in __init__
self.scrWidthCM = self.monitor.getWidth()
AttributeError: 'NoneType' object has no attribute 'getWidth'

The same code experiment.py with python 2.7.15 32-bit gives the error as,
Participant name: "sindhu"
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "E:\pygaze\PyGaze-master\examples\slideshow\experiment.py", line 30, in
tracker = EyeTracker(disp)
File "C:\Anaconda2\lib\site-packages\pygaze\eyetracker.py", line 64, in init
from pygaze._eyetracker.libeyelink import libeyelink
File "C:\Anaconda2\lib\site-packages\pygaze_eyetracker\libeyelink.py", line 29, in
from pygaze._eyetracker.eyelinkgraphics import EyelinkGraphics
File "C:\Anaconda2\lib\site-packages\pygaze_eyetracker\eyelinkgraphics.py", line 44, in
custom_display = pylink.EyeLinkCustomDisplay
AttributeError: 'module' object has no attribute 'EyeLinkCustomDisplay'

I don’t have any hardware and eyetracker. I just want to see the output of Heatmaps, fixations and scanpaths. How it can be possible? How these errors can be rectified?

Thanks & Regards,
Shri

Comments

  • Hi All,
    Please kindly reply me. I don't have any eyetracker and I want to see the outputs for heatmaps and fixations. Explain me the steps to get the output and do help me with my errors.

    Thanks&Regards,
    Shri

  • edited January 2019

    Hi Shri,

    From your output, it's clear that you are trying to run the "slideshow" experiment script with the TRACKERTYPE set to eyelink. This will not work, because you say you do not have an EyeLink, and because (as the error message indicates) you have not installed the library pylink (which would be required for working with an EyeLink tracker.

    Finally, you are also using the wrong software. What you are running is an experiment script, but what you say you want to do is use PyGaze Analyser functionality. For this, I would like to refer you to your other question, where you have been pointed to example gaze data files.

    Regards,
    Edwin

    PS. In both this and one of your other questions, you have posted a question on 2 January, and followed this up with a request to urgently reply on 3 January. Everyone here volunteers there time next to at least a fulltime job, which makes it unlikely that we respond very quickly.

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