Howdy, Stranger!

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

Supported by

[solved] No module named eyelink_drift_correct

edited May 2016 in OpenSesame

Hello,

I am having troubles opening a script which uses eyelink modules. It shows the following whenever I try to open it:

line:88
exception message: No module named eyelink_drift_correct
exception type: ImportError

The problem comes as: I installed the lastest version of Eyelink, Pylink is already included in the package as I checked it, and Pygaze is also installed by default. I am using Opensesamen version 2.9.7 and Windows 7 64x

Comments

  • edited 1:33PM

    Hi Adria,

    Your experiment uses the EyeLink plug-ins, which have been replaced by the current PyGaze plugins. You can still get the EyeLink plug-ins from here:

    However, I wouldn't use the EyeLink plug-ins anymore, because they are no longer maintained. So the best strategy is probably to:

    1. Install the EyeLink plugins so you can open the experiment.
    2. Open the experiment.
    3. Replace all eyelink_* items by the corresponding pygaze_* items.
    4. Save the experiment.
    5. Happiness.

    Does that make sense?

    Cheers,
    Sebastiaan

  • edited 1:33PM

    Hi Sebastiaan,

    Sorry for this long response. Firstly, thanks for your help! I changed as you said the plug-in usage, so that I am only working with Pygaze.
    However, it is still worth noticing that even the opensesame files that have been "changed" (that is, their scripts copied to a new file using only Pygaze) do not seem to work under certain conditions. I am not sure, but it seems as files that I created in my computer cannot be opened in others, as the same error 88 appears. I am currently bypassing this error by working on other pcs, but it may be worth knowing this.

    Best,

    A

  • edited 1:33PM

    Hi Adria,

    Please note you will also have to permanently delete the all eyelink_* items from the Unused items or you will still get the ImportError.

    Best,
    Jarik

  • edited 1:33PM

    Hi Jarik!

    Oh, thanks a lot for the tip! I didn't think about that before! Now that explains quite some things...

    Best,
    Adrià

Sign In or Register to comment.