Howdy, Stranger!

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

Supported by

[open] Areas of Interest Eyelink

edited February 2015 in OpenSesame

Hi!

I tried to define areas of interest for my experiment by using an inline script:

self.experiment.eyelink.log(“!V IAREA RECTANGLE 1 592 0 981 632 cue")

When I try to run the experiment, the following error is presented:
Error while executing inline script
phase: run
item: AOI
line: 2
exception message: 'experiment' object has no attribute 'eyelink'
exception type: AttributeError

Traceback (also in debug window):
File "dist\libopensesame\inline_script.py", line 173, in run
File "dist\libopensesame\python_workspace.py", line 111, in _exec
File "", line 3, in
AttributeError: 'experiment' object has no attribute 'eyelink'

I've used the automated installer to install OpenSesame 2.9.2. I've also installed the Eyelink display software and PyLink. What am I doing wrong?

Thanks in advance!

Marleen

Comments

  • edited February 2015

    Hi Marleen,

    Could you confirm/check two things?

    1) Are you using the EyeLink plug-ins?

    2) Is there an eyelink_calibrate item before the inline_script item in which you determine the AOI?

    Both are crucial for there to be a self.experiment.eyelink instance, which seems to be missing in your case.

    Cheers,

    Edwin

    INSTANT EDIT After re-reading your question, I noticed that you used the installer, which is the opposite of step 1 in the How To EyeLink with OpenSesame instructions. Installing OpenSesame from source is required to install the PyLink dependency.

Sign In or Register to comment.