Coder Social home page Coder Social logo

Comments (6)

cyrus avatar cyrus commented on August 20, 2024

Note: I have also tested this with PyGaze 0.6.0_a3 (from Sebastian's "os3" branch)
and I get the same exact error....

Thanks,

from pygaze.

cyrus avatar cyrus commented on August 20, 2024

Also, When I switch to "psychopy" from "pygame", I get this:

Traceback (most recent call last):
  File "simple_tracker_experiment.py", line 20, in <module>
    tracker = eyetracker.EyeTracker(disp)
  File "/usr/local/lib/python2.7/dist-packages/pygaze/eyetracker.py", line 68, in __init__
    self.__class__.__init__(self, display, **args)
  File "/usr/local/lib/python2.7/dist-packages/pygaze/_eyetracker/libeyelink.py", line 166, in __init__
    self.eyelink_graphics = EyelinkGraphics(self, _eyelink)
  File "/usr/local/lib/python2.7/dist-packages/pygaze/_eyetracker/eyelinkgraphics.py", line 70, in __init__
    self.mouse = Mouse(timeout=0)
  File "/usr/local/lib/python2.7/dist-packages/pygaze/mouse.py", line 49, in __init__
    self.__class__.__init__(self, **args)
  File "/usr/local/lib/python2.7/dist-packages/pygaze/_mouse/psychopymouse.py", line 59, in __init__
    win=psychopy.visual.openWindows[settings.SCREENNR])
AttributeError: 'module' object has no attribute 'openWindows'
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/pymodules/python2.7/psychopy/visual/textbox/font_manager.py", line 29, in my_close_open_files
    for fileh in open_files.keys():
AttributeError: '_FileRegistry' object has no attribute 'keys'
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/pymodules/python2.7/psychopy/visual/textbox/font_manager.py", line 29, in my_close_open_files
    for fileh in open_files.keys():
AttributeError: '_FileRegistry' object has no attribute 'keys'
0.3252  WARNING     Creating new monitor...
0.3253  WARNING     Creating new monitor...

from pygaze.

smathot avatar smathot commented on August 20, 2024

I have pushed some fixes to my 0.6.0 branch. You can just update through the Ubuntu PPA. Does that work for you?

from pygaze.

cyrus avatar cyrus commented on August 20, 2024

I will try it now!

Thanks, Sebastian.

from pygaze.

 avatar commented on August 20, 2024

Dear cyrus,

I am new to PyGaze and I have the same problem with you. Could you tell me how do you solve the problem 'NameError: global name 'EYELINKCALBEEP' is not defined'. Also I have no access to pylink package now, would you please provide it for me.

Thank you,
Runxue Bao

from pygaze.

esdalmaijer avatar esdalmaijer commented on August 20, 2024

Fixed with c03473c

from pygaze.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.