Howdy, Stranger!

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

Supported by

[open] Error when using External Runner on Mac OS

edited May 2015 in OpenSesame

I'm encountering a problem when I try to run any experiment using the External (opensesamerun) runner. An Unexpected Error immediately pops up as soon as I try to run an experiment:

Unexpected error
exception message: 
exception type: OSError

Traceback (also in debug window):
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/libopensesame/exceptions.py", line 109, in __init__
IndexError: list index out of range

I'm running this on Mac OS X 10.10.1 (Yosemite). This error can be reproduced on other Macs. It doesn't matter what experiment you run, nor does it matter whether you run it normally or as a quick run experiment.

This issue is non-critical since the inprocess runner can be used instead, but I would appreciate any insight into what may be causing the error. Presumably using the external runner would be preferable when you consider that it allows the experiment to hang/crash without affecting the OpenSesame experiment builder.

Comments

  • edited 5:32PM

    Hi,

    What happens here is that OpenSesame tries to parse an Exception (i.e. a Python error) into a readable format, but this goes wrong. So what you're seeing is an Exception that occurs while parsing another Exception, if you see what I mean. Not very informative for the underlying problem.

    But this is an old issue that should not occur in recent versions of OpenSesame. What version are you running? The latest Mac OS package is not yet on the documentation page, but you can get it from here:

    The experiment will probably still crash, but at least you can see why.

    Cheers!
    Sebastiaan

  • edited 5:32PM

    Thanks Sebastiaan, but I still have the same problem.

    I was running 2.9.5, but I upgraded to 2.9.6 and I still have the same issue.

    Regardless of what experiment I run (even the built-in template experiments), the runner will crash immediately with the same error whenever I use the opensesamerun option.

    The error is as follows (looks to be the exact same as before).

    Unexpected error
    exception message: 
    exception type: OSError
    
    Traceback (also in debug window):
      File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/libopensesame/exceptions.py", line 109, in __init__
    IndexError: list index out of range
    
  • edited 5:32PM

    Hi pythonpoole,
    I don't think it's possible to run experiments with the external runner when using the app version of opensesame. The reason is that opensesamerun is embedded in the OpenSesame.app itself which is kind of a zip file on OSX (i.e. seen as a package). You could see if you could set the runner location to OpenSesame.app/Contents/Resources/opensesamerun, but I doubt this will work...
    I hope to have the multiprocess runner also working one day on the mac again, but for now it seems impossible...

    Buy Me A Coffee

  • edited 5:32PM

    @dschreij But--aside from the fact that the external runner doesn't work--what puzzles me is how this particular error message can occur. As you can see, it arises from a piece of code that's within a try ... except ... clause.

    So it should be caught. And that's what made me think that an old version OpenSesame was being used. Any idea? Can you reproduce this error on Mac OS?

  • edited 5:32PM

    I'm also interested in using opensesamerun on OS X. Could you clarify something, if I try to do this using (for example) one of the zip packages on http://ems.psy.vu.nl/opensesame/, will I also need to install all of the OS X dependencies?

  • edited 5:32PM

    Could you clarify something, if I try to do this using (for example) one of the zip packages on http://ems.psy.vu.nl/opensesame/, will I also need to install all of the OS X dependencies?

    No, the Mac OS package is standalone, just the like windows packages. The dependencies are only relevant when you want run OpenSesame from within your own Python environment.

  • edited 5:32PM

    When I ran opensesamerun it reported that yaml wasn't installed. I installed it but then seemed to be missing a further dependency (the point at which I stopped and posted here). I wonder what I was doing wrong?

  • edited 5:32PM

    Strange, someone else emailed me about this question before, but I couldn't reproduce it. It also puzzled me that this occured even though that statement is within a try/catch block. The Python version used in the latest OSX release (2.9.6) is 2.7.10, so that can't be it.

    How do the people here use opensesamerun? do they use the version that is included in the app, or are they running OpenSesame from source?

    Buy Me A Coffee

  • edited 5:32PM

    I unzipped http://ems.psy.vu.nl/opensesame/OpenSesame_portable-2.9.5-new-psychopy.zip and then ran OpenSesame/opensesamerun (after removing dos line endings). Is this a Windows package?!!

  • edited 5:32PM

    Is this a Windows package?!!

    Nope, that's the Mac OS package. But my guess is that opensesamerun simply doesn't work in this Mac OS package. @dschreij can you confirm this?

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