Howdy, Stranger!

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

Supported by

[open] Eyelink Problems with pylink

edited October 2014 in OpenSesame

Hi There,

I am trying to connect an eyetracker eyelink 1000 to my stimulation PC (win 7) with opensesame and python 2.7.5 un the winpython package, and I am facing pretty much the same problems than Katerina on this post:

http://forum.cogsci.nl/index.php?p=/discussion/772/open-eye-tracking-lab-running-opensesame-from-source-for-eyelink-compatibility/p1

Unfortunately, I doesnt say how she solved the problem at the end,

I already tried the two possible solutions proposed in that post:
1- linking opensesame and python with the proper path in the terminal
2- creating the bat file

and none of them works.

Any other possible solution outthere?

Thanks a lot in advance.

Felipe

Comments

  • edited 5:23AM

    Hi Felipe,

    Could you provide some details?

    • How exactly have you installed OpenSesame?
    • What methods of launching OpenSesame have you tried?
    • What kind of error messages do you see / problems do you encounter?

    Cheers!
    Sebastiaan

  • edited 5:23AM

    Hi Sebastiaan,
    Thanks a lot for your fast answer (as usual). Here are some answers to your question:

    1- I followed the instructions step by step from this link:
    http://osdoc.cogsci.nl/devices/eyelink/
    Nevertheless when I arrived to the step 6 it was impossible to me to open Opensesamme with --pylink .

    2- I tried both methods that are recomended previously in the forum, going directly to the windows terminal (as it says in the instrucitons) and creating a ".bat" file in the opensesame folder.

    In the ".bat" case it opens the terminal and closes inmediately without opening opensesame.

    In the terminal case it throws me this error message:

    image

    Even more weird is that when I try to open opensesame directly from windows terminal without any extra code line, the program crashes inmediately:

    image

    It would be great if you could give me some idea about where could be the problem.
    Thanks a lot again in adivance.

    Cheers!
    Felipe

  • edited 5:23AM

    OpenSesame 2.8.3 is now available! This is the third maintenance release in the 2.8 Gutsy Gibson series and provides bug-fixes, incremental improvements, and translation updates. As always, you can get it from:

  • edited 5:23AM

    Hi Watson 45,

    I installed the new version of Opensesame, and re-installed the libraries step by step as the instructions :
    http://osdoc.cogsci.nl/devices/eyelink/#step-1-installing-opensesame-from-source

    and I still have the same problem...

    image

    Any ideas out there?

    Thanks again in advance,
    Felipe

  • edited 5:23AM

    Hi Felipe,

    You can run OpenSesame using the Windows package (which includes its own Python environment), or from the source code (in which case you need to install your own Python environment). What you're doing here is trying to run opensesame.exe, which is from the packaged version, as though it is Python source code. Python runs Python scripts, which generally have a .py extension or no extension at all (but never .exe). Do you see what I mean?

    So if you want to run from source, you need to get the source code and not the package.

    See also:

    Cheers,
    Sebastiaan

  • edited October 2014

    Hi Sebastiaan,

    Thanks a lot for your help. I am using winpython with spyder as GUI. So now I am trying to run Opensesame from source in a way i can connect the eyetracker.
    I managed to install all the libriries required. Nevertheless, when i run the setup-win32 file in Spyder I get the following message

    image

    Any idea what I am doing wrong?

    Thanks a lot for all the help.

    Felipe

  • edited 5:23AM

    Hi Felipe,

    The setup-win32.py script is used to build the windows packages, not to install OpenSesame in your source environment. To run OpenSesame from source, simply extract the source code somewhere and run the file opensesame. (Which is a Python script, even though it doesn't have a .py extension.) You can run do this by opening a command prompt in the folder with the OpenSesame source code and executing:

    python.exe opensesame
    

    If python.exe is not in your path, you'll have to specify the full path to python.exe, for example c:\my_python_folder\python.exe.

    Alternatively, you could open opensesame in Spyder and run it. I'm not too familiar with Spyder, but I imagine that should work.

    Cheers!
    Sebastiaan

Sign In or Register to comment.