Howdy, Stranger!

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

Supported by

Portable EyeLink Duo, Installing Pylink on Mac OS

Hello,

My name is Nico Comendador and I am current research assistant for the Mathematical Cognition Lab. Recently, my professor bought this eye tracker (Portable Eye Tracker Duo) and assigned me to hook it up and run some sample experiments. We typically use OpenSesame when running these experiments so having an EyeLink product is compatible with the application.

The problem is, when I drag and drop a "new_pygaze_init" and set it to EyeLink, I get a warning at the bottom stating: "PyLink is required for EyeLink functionality and it is not installed" I follow the website and even install the SR's developer kit which includes PyLink in it. I am running into dead ends and not sure where to turn to.
Also, I am running on High Sierra for my mac OS and have recently updated OpenSesame to its latest version.

Please send help!

Thanks!

-Nico Comendador

Comments

  • Hi Nico,

    Installing Python modules is fairly simple: they are folders (or .py files) that are placed in some location where Python can find them (i.e. in the Python path). So what you need to do is find the pylink folder, which should be included with the PyLink SDK, and put it in some folder that is part of the Python path of the Python version that is bundled with OpenSesame. I'm not sure what this would be on Mac OS, but you can find out by running the following commands in the debug Window:

    Does that help?

    Cheers!
    Sebastiaan

  • Hi Sebastiaan,

    I appreciate the quick response and I apologize for the late response, other problems appeared with another software. In regards to this, I downloaded the SDK package for MacOS off of the SR-forum and found the PyLink folder. It was called PyLink2.7, which makes sense since I am running Python 2.7 for OpenSesame. Now here is where I am stuck. I do not know how where to put the folder. I can trace through the package contents of OpenSesame by right clicking and then going

    toOpenSesame.app/Contents/Resources/lib/python2.7

    but when I reach to the python 2.7 folder, there are just more files and folders. Do I just place the PyLink2.7 in this folder, or do I need to navigate further in? I appreciate all you have done!

    Sincerely,
    Nico Comendador

  • Sebastiaan,

    I didn't realize that the command you posted was to find the folder, however now when I try to run OpenSesame with the pylink in the correct folder with it being renamed to pylink, I get another problem. Instead I get an import error that states:

    ImportError: dlopen(/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/pylink27/pylink.so, 2): Library not loaded: @executable_path/../Frameworks/eyelink_core.framework/Versions/A/eyelink_core
    Referenced from: /Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/pylink27/pylink.so
    Reason: image not found

    I do not know what this means, but I appreciate all you have done for me.

    • Nico Comendador
  • Hi Nico,

    You need to rename the pylink27 folder to pylink. (I'm not entirely sure that this is the cause of this error, but the renaming is necessary in any case.)

    Cheers!
    Sebastiaan

  • Hi Sebastiaan,

    I finally got it to import. I just deleted the old developers kit and installed a new one, but now when I run it with Pylink installed, Open sesame tells me that EyeLink cannot handle filenames longer than 8 characters excluding .edf

    Now I assume that somewhere in that code, python references that file which just happened to cause an exception to be thrown. Therefore, to fix this I would need to locate the file and change its name, but I do not know where this would be.

    -Nico

  • Hi Nico,

    This error refers to the logfile, which due to restrictions of the EyeLink cannot be longer than 8 characters. So 12345678.csv would be a valid logfile, but 123456789.csv causes the error. Does that make sense?

    Cheers,
    Sebastiaan

  • Sebastiaan,

    I got it all to work! Thanks for your help I truly do appreciate everything you have done!

    With my most sincere gratitude,
    Nico Comendador

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games