Howdy, Stranger!

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

Supported by

[open] RuntimeError: Unknown Command

edited August 2015 in OpenSesame

--- UPDATED 8/5/15 ---

We are running OpenSesame 2.9.6 on a Windows 7 PC and are setting it up to interface with an Eyelink II tracker. We're still in the early stage of setting up the system, and when running OpenSesame's sample Eyelink experiment, we get this error:

Unexpected error
line: 230
exception message: Unknown Command
exception type: RuntimeError

Traceback (also in debug window):
  File "dist\libqtopensesame\misc\process.py", line 139, in run
  File "dist\libopensesame\experiment.py", line 347, in run
  File "dist\libopensesame\sequence.py", line 47, in run
  File "C:\Program Files (x86)\OpenSesame\plugins\pygaze_init\pygaze_init.py", line 198, in run
  File "dist\pygaze\eyetracker.py", line 72, in __init__
  File "dist\pygaze\_eyetracker\libeyelink.py", line 176, in __init__
  File "dist\pygaze\_eyetracker\libeyelink.py", line 230, in send_command
RuntimeError: Unknown Command

Do you have any advice on what we could try next to troubleshoot the connection?

We have the Eyelink software running on the display PC which is connected via Ethernet to our PC running OpenSesame. The connection works, as far as we have been able to see. On the OpenSesame PC, we've installed PyLink 27 as explained here: http://osdoc.cogsci.nl/2.9/devices/eyelink/#installing-pylink

Chris

Comments

  • edited 1:49PM

    Hey,

    Which "eyelink experiment" do you mean? The "Pygaze eye tracking template"?
    Does the error also occur, when you set the the tracking mode to one of the dummies in the pygaze_init item?

    Eduard

    Buy Me A Coffee

  • edited 1:49PM

    Hi Eduard,

    thanks, yes, we're using the "Pygaze eye tracking template".

    and also yes, we don't get the error when we use either the simple dummy or the advanced dummy. We've been using the EyeLink one. That's when we get the Runtime error message.

    Ps- We updated to v. 2.9.7 today, but the error persists

  • edited 1:49PM

    Hi guys,

    It's probably the force-drift correct option, which sends a command that only the EyeLink 1000 recognizes. This issue is already listed:

    For now, what you could do is simply disable this option, and you should be good to go.

    Cheers!
    Sebastiaan

  • edited 1:49PM

    Hi Sebastiaan,

    thanks for pointing us to the earlier thread. Yes, our error message is identical to the one discussed there. We've tried it again, this time with 'Force drift correction (for EyeLink 1000)' disabled, but the error remains exactly the same.

    Do you have any other thoughts on how we can troubleshoot this?

    -Chris

  • edited 1:49PM

    Hi Chris,

    Nevertheless, it's that error--I can tell by the stacktrace in your first post. What seems to be going on is that this option is enabled regardless of whether the box is ticked. A bug on top of a bug, in other words. What happens if you edit the script, and set eyelink_force_drift_correct to 0 manually:

    set eyelink_force_drift_correct 0
    

    Make sure you don't use the controls to change this afterwards, because it will set this variable back to 'no'.

    Cheers!
    Sebastiaan

  • edited August 2015

    Hi Sebastian,

    with these steps, we were able to get the experiment to run once, right after starting up the whole system and OpenSesame, but only once. After that, it's back to the same error, even though the script line still has "0" (and of course the box is unchecked).

    Any ideas on how we could make it work permanently?

    Thanks -Chris

  • edited 1:49PM

    Hi Chris,

    As soon as the plug-in controls get applied, the script is regenerated and your changes to the script are lost. So what you could do for now is change the script, save the experiment, and then run it using opensesamerun (which won't change anything in the script):

    This is a pretty annoying problem for EyeLink II users. (And you guys have it difficult enough, with the painful helmet and everything.) I'll commit a small fix to PyGaze next week and upload a repack of OpenSesame 2.9.7 (i.e. the same version of OpenSesame repackaged with an updated PyGaze).

    Cheers,
    Sebastiaan

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