Howdy, Stranger!

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

Supported by

[open] problems downloading for Mac OS

edited November 2011 in OpenSesame

I'm trying to download OpenSesame 0.25 onto a Mac; it downloads it and expands the zip folder fine, but when I try to open the application it gives me the following message:

opensesame has encountered a fatal error, and will now terminate.

Are there any known solutions to this problem?

Thanks!
Naomi

Comments

  • edited 8:41PM

    Hi Naomi,

    Thanks for reporting this. No, unfortunately, chances are that it just doesn't work for your Mac. What version of Mac OS are you running? Knowing would help us to improve Mac OS support in the future.

    I'm sorry that it doesn't work. We're still struggling a bit with Mac OS, which is why the Mac OS packages are labelled "experimental". But we're working on it!

    Kindest regards,
    Sebastiaan

  • edited November 2011

    Do you incidentally have the Qt4 toolbox installed on your Mac OS X machine? Somehow, the Mac OS X OpenSesame build does not work if this is the case, as its internal Qt libraries conflict with the other ones already installed on the system. This is a big problem, which needs to be solved, but we need more time to do so.

    Also, when Mac OS X gives you this kind of message, usually the error console pops up. Could you make a copy of all the (error) messages related to OpenSesame and post them here? This will give a better idea of what's going on.

    Also (and Sebastiaan already asked that), what version of Mac OS X are you working with? Are you still working with Leopard (10.5) or Snow Leopard (10.6), or recently upgraded to Lion (10.7)?

    Buy Me A Coffee

  • edited 8:41PM

    Hi all, I have been struggling with the 0.26 version on Mac OS 10.6.8. I downloaded and installed opensesame.app, and the GUI works okay, but inline scripts do not work (can't find the locations of additional modules such as PyAudio; more on that in a sec). I also followed the instructions for running it straight from source using MacPorts 2.1.6, the current version. I got as far as

    $ python opensesame

    And here is the Traceback:

    Traceback (most recent call last):
    File "opensesame", line 33, in
    from libqtopensesame.qtopensesame import qtopensesame
    File "/Applications/opensesame-0.26/libqtopensesame/init.py", line 25, in
    from libqtopensesame.items import qtplugin
    File "/Applications/opensesame-0.26/libqtopensesame/items/qtplugin.py", line 24, in
    from libqtopensesame.items import qtitem
    File "/Applications/opensesame-0.26/libqtopensesame/items/qtitem.py", line 27, in
    from libqtopensesame.widgets import inline_editor, help_browser, header_widget
    File "/Applications/opensesame-0.26/libqtopensesame/widgets/inline_editor.py", line 20, in
    from PyQt4.Qsci import QsciScintilla, QsciScintillaBase, QsciLexerPython
    ImportError: No module named Qsci

    This probably tells you more than it tells me, but I suspect it has to do with a conflicting Qt4 installation? I do have LyX on the machine, which also uses Qt4. I don't think there is a way for two apps to have conflicting Qt4 installations, though, since they are sequestered from each other.

    Anyway, here is my more specific inline script problem. I was trying to follow the instructions here:

    http://forum.cogsci.nl/index.php?p=/discussion/107/solved-recording-speech-response/p1

    I installed PyAudio using the mpkg script provided on the PyAudio site, and then I went through the process again and did the manual installation with PortAudio. Either way I do it, I get the same error: "ImportError: No module named pyaudio".

    I have gone through the process of copying the pyaudio installation to the directories listed in the prefs under Plug-In folders, a few of which had to be created because the installation doesn't seem to generate them, and even after a restart, opensesame.app cannot find the installation of pyaudio.

  • edited 8:41PM
    Hi all, I have been struggling with the 0.26 version on Mac OS 10.6.8. I downloaded and installed opensesame.app, and the GUI works okay, but inline scripts do not work.

    Do I understand correctly that this is an issue of missing modules (pyaudio in particular)? Or is there really an issue with inline_scripts in general?

    This probably tells you more than it tells me, but I suspect it has to do with a conflicting Qt4 installation? I do have LyX on the machine, which also uses Qt4. I don't think there is a way for two apps to have conflicting Qt4 installations, though, since they are sequestered from each other.

    The traceback suggests that QScintilla has not been installed. Can you install this using macports? And, if so, does this fix your problem?

  • edited July 2012

    The reason that opensesame doesn't start is probably because it misses the qscintilla module. This is included in the packaged version, but if you run from source through macports you will have to install it yourself using:

    sudo port install py26-qscintilla (or py27-qscintilla depending on your python version)

    As for the failed attempts to import pyaudio: This is probably because mpkg installs pyaudio to the default python folder in Mac OS (which is /Library/Python or /Library/Frameworks/Python.Framework/...etc..), while the macport version of python runs in /opt/ and only looks into the site-packages folder that is located in one of its sub folders. You can find the location of this folder by starting python in your console and enter:

    import numpy

    numpy

    It should display the folder where numpy is located. Copy the pyaudio files to the site-packages folder in which also numpy was found and all should work. Before you try it through an inline script in opensesame, try importing pyaudio straight from the python console. Additionally, you can also install portaudio through macports (sudo port install portaudio), after which only the pyaudio module itself has to be installed.

    I hope this works! Keep us posted.

    Buy Me A Coffee

  • edited 8:41PM

    Right, ok, updating (thanks for the help, everyone):

    First, I installed qscintilla via MacPorts using dschreij's instructions above. This fixed the problem I had earlier where I couldn't start OpenSesame from the command line.

    So, the larger issue is that OpenSesame.app is not finding custom-installed plugins in Mac OS paths without additional help.

    I finally got to a point where I could at least import pyaudio from python itself, and now I get a new error when I try to run the inline script from the macport opensesame! Something about undefined variables, which I can tinker with later. So I guess that's progress.

  • edited 8:41PM

    The message about 'undefined variables' sounds like a relative harmless OpenSesame error, which indicates that something wrong with the experiment. If you are able to execute

    import pyaudio

    from the debug window, you're installation should be fine.

    Good luck!

  • edited 8:41PM

    Yes, I can import pyaudio from the debug window--but only when running "python opensesame", not OpenSesame.app. The .app version does not detect or recognize any of the installations of pyaudio on my system (I probably have three or four by now).

  • edited 8:41PM

    Okay, I am going to take a break from OpenSesame--it keeps crashing. Thanks anyway!

  • edited 8:41PM

    The .app runs in its own python environment and does not look in the site-packages folder of the system's python installation. The only way you can access external modules is by running OpenSesame from source. Can you tell us what exactly you need pyaudio for and what the traceback (or Mac console) displays when OpenSesame crashes?

    Buy Me A Coffee

  • edited 8:41PM

    I don't have the from-source installation on the machine I'm using at the moment so I can't provide the console output. But all I was trying to do with the script is collect pronunciations of words, followed by key button press ratings of them.

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