Howdy, Stranger!

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

Supported by

[solved] Import Error

edited March 2016 in OpenSesame

Hi, I am getting the following error, after I moved an existing (and fully functional) OpenSesame experiment on to a different computer.

This is happening on MacOS X 10.8.5 using both OpenSesame 3.0.6 and 3.0.7

Thank you very much for your help!

Yvan

File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/libqtopensesame/runners/inprocess_runner.py", line 38, in execute
File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/libopensesame/experiment.py", line 386, in run
File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/libopensesame/experiment.py", line 730, in init_display
File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/openexp/canvas.py", line 64, in init_display
File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/openexp/backend.py", line 155, in get_backend_class
File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/openexp/backend.py", line 133, in get_backend_mod
File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/openexp/_canvas/legacy.py", line 21, in
File "pygame/init.pyo", line 133, in
File "pygame/base.pyo", line 14, in
File "pygame/base.pyo", line 10, in __load
ImportError: dlopen(/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/lib-dynload/pygame/base.so, 2): Symbol not found: ___strlcpy_chk
Referenced from: /Applications/OpenSesame.app/Contents/MacOS/../Frameworks/libSDL-1.2.0.dylib
Expected in: /usr/lib/libSystem.B.dylib
in /Applications/OpenSesame.app/Contents/MacOS/../Frameworks/libSDL-1.2.0.dylib

Comments

  • edited 12:42PM

    Full report message:

    Stopped

    The experiment did not finish normally for the following reason:

    Unexpected error
    Details

    item-stack: ``
    exception message: dlopen(/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/lib-dynload/pygame/base.so, 2): Symbol not found: ___strlcpy_chk Referenced from: /Applications/OpenSesame.app/Contents/MacOS/../Frameworks/libSDL-1.2.0.dylib Expected in: /usr/lib/libSystem.B.dylib in /Applications/OpenSesame.app/Contents/MacOS/../Frameworks/libSDL-1.2.0.dylib
    time: Thu Mar 17 12:37:43 2016
    exception type: ImportError
    Traceback (also in debug window)

    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/libqtopensesame/runners/inprocess_runner.py", line 38, in execute
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/libopensesame/experiment.py", line 386, in run
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/libopensesame/experiment.py", line 730, in init_display
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/openexp/canvas.py", line 64, in init_display
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/openexp/backend.py", line 155, in get_backend_class
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/openexp/backend.py", line 133, in get_backend_mod
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/openexp/_canvas/legacy.py", line 21, in
    File "pygame/init.pyo", line 133, in
    File "pygame/base.pyo", line 14, in
    File "pygame/base.pyo", line 10, in __load
    ImportError: dlopen(/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/lib-dynload/pygame/base.so, 2): Symbol not found: ___strlcpy_chk
    Referenced from: /Applications/OpenSesame.app/Contents/MacOS/../Frameworks/libSDL-1.2.0.dylib
    Expected in: /usr/lib/libSystem.B.dylib
    in /Applications/OpenSesame.app/Contents/MacOS/../Frameworks/libSDL-1.2.0.dylib

  • edited 12:42PM

    Hi Yvan,
    It is possible that OSX version 10.8.5 (Mountain Lion?) is too old for OpenSesame to run. You will need to update to a newer version of OSX (which can be done for free) to run the latest version of OpenSesame, or use an older version of OpenSesame.
    Sorry for the inconvenience, but it is really difficult to package OpenSesame for older versions of OSX, when the OSX version we make the OpenSesame.app on is newer.

    Buy Me A Coffee

  • edited 12:42PM

    It appears though as if this problem is inherent to pygame. Have you tried switching to the psychopy backend?

    Buy Me A Coffee

  • edited 12:42PM

    Thank you for your uber-fast reaction. I tried psychopy but that didn't do it. Now on to upgrading the OS. Will be in touch!

  • edited 12:42PM

    Problem solved!! I upgraded to El Capitan and everything works like a charm. Thank you so very much for your swift and useful input!

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