Howdy, Stranger!

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

Supported by

[solved] The error of 'resources/fonts'

rrrrrr
edited November 2015 in OpenSesame

Hello,

I have a problem of using Pygaze.
I try to do the eye tracking studies (Eyelink1000plus) controlled by Xpyriment (0.8.0) through OpenSeasame (3.0.1) with Pygaze (0.6.0). The PC is Mac.

Since I use macports, I put libraries on '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages' that has python path. Then I copied pygaze, pylink, and opensesame_plugins folders to it. When I added 'pygaze_init()' to my Xpyriment script, and copied the script to OpenSesame inline_script. But the error occurred after the run.

Traceback:
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenSesame-release-3.0.1/libopensesame/inline_script.py", line 96, in run
    self.experiment.python_workspace._exec(self.crun)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenSesame-release-3.0.1/libopensesame/python_workspace.py", line 160, in _exec
    exec(bytecode, self._globals)
  File "<string>", line 7, in <module>
  File "/usr/local/lib/python2.7/site-packages/pygaze/__init__.py", line 38, in <module>
    for fontfile in os.listdir(FONTDIR):
OSError: [Errno 2] No such file or directory: 'resources/fonts'

How can I correct?

Best,

Comments

  • rrrrrr
    edited 11:50AM

    Hello,

    I solved this problem.

    Please look at the discussion 'OpenSesame with Pygaze has a circular import in Mac.'

    Best,

Sign In or Register to comment.