[open] Eyelink Problems with pylink
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:
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
Hi Felipe,
Could you provide some details?
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
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:
Even more weird is that when I try to open opensesame directly from windows terminal without any extra code line, the program crashes inmediately:
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
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:
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...
Any ideas out there?
Thanks again in advance,
Felipe
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.pyextension 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
Check out SigmundAI.eu for our OpenSesame AI assistant!
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
Any idea what I am doing wrong?
Thanks a lot for all the help.
Felipe
Hi Felipe,
The
setup-win32.pyscript 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 fileopensesame. (Which is a Python script, even though it doesn't have a.pyextension.) You can run do this by opening a command prompt in the folder with the OpenSesame source code and executing:If
python.exeis not in your path, you'll have to specify the full path topython.exe, for examplec:\my_python_folder\python.exe.Alternatively, you could open
opensesamein Spyder and run it. I'm not too familiar with Spyder, but I imagine that should work.Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!