Howdy, Stranger!

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

Supported by

Problem with the new version of opensesame 3.1.5

edited February 2017 in OpenSesame

Hello,
I have updated open sesame and now i can't run my experiment,
in the debug window, it is said that : File is not a Windows BMP file
Can someone help ?

Traceback:
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libqtopensesame/runners/inprocess_runner.py", line 38, in execute
    self.experiment.run()
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libopensesame/experiment.py", line 399, in run
    self.init_display()
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libopensesame/experiment.py", line 749, in init_display
    canvas.init_display(self)
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/openexp/canvas.py", line 65, in init_display
    cls.init_display(experiment)
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/openexp/_canvas/xpyriment.py", line 273, in init_display
    exp = control.initialize()
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/expyriment/control/_experiment_control.py", line 446, in initialize
    logo.scale((0.7, 0.7))
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/expyriment/stimuli/_visual.py", line 1130, in scale
    if not self._set_surface(self._get_surface()):
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/expyriment/stimuli/_visual.py", line 391, in _get_surface
    tmp = self._create_surface()
  File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/expyriment/stimuli/_picture.py", line 71, in _create_surface
    fse=True)).convert_alpha()
error: File is not a Windows BMP file

Comments

  • Hi,

    Does this error occur for all experiments with the xpyriment backend (such as the default template)?

    Cheers,
    Sebastiaan

  • yes, this happened with xpyriment backend,

  • Hmm, I've seen this before. What image type (jpg, ping, etc) are you trying to show? It could be that one of these libraries didn't get packaged correctly.

    Buy Me A Coffee

  • i don't try to show any picture, i just use words directly written in block loop, and i use sketchpad to show them

  • edited February 2017

    Based on the stacktrace, the problem occurs when scaling the Expyriment logo on initialization. In other words, I suspect this happens immediately when starting the experiment, and with all experiments that use the xpyriment backend (not just this one experiment). Is that right @oriane_g26?

    @Daniel This is partly my fault, because after you fixed the libSDL_ttf issue I only checked whether it was possible to import Expyriment from the debug window. I should of course have checked more thoroughly.

    In any case, I will roll back the Mac OS package on the download page until we're sure that this is not a general problem with the new Mac OS package, or (if it is, as I suspect) we've fixed it.

  • yes you're right !

  • Alright, I think I know what's causing this. I'm creating a new package as we speak and will upload it soon. Hopefully it will solve this problem.

    Buy Me A Coffee

  • Sebastiaan asked me to try my experiment with the new 3.1.5 version. So i did now.
    Here is what i get on Mac. I do not know whether it is the same problem. What i know is that it does not work, so i will not update on my running computers ;)

    Cheers Stephan

    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/site-packages/pygame/base.so, 2): Symbol not found: _AudioOutputUnitStart Referenced from: /Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/pygame/../../..//libSDL-1.2.0.dylib (which was built for Mac OS X 10.12) Expected in: /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox in /Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/pygame/../../..//libSDL-1.2.0.dylib
    time: Tue Feb 7 09:41:17 2017
    exception type: ImportError
    Traceback (also in debug window)

    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libqtopensesame/runners/inprocess_runner.py", line 38, in execute
    self.experiment.run()
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libopensesame/experiment.py", line 399, in run
    self.init_display()
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libopensesame/experiment.py", line 749, in init_display
    canvas.init_display(self)
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/openexp/canvas.py", line 64, in init_display
    cls = backend.get_backend_class(experiment, u'canvas')
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/openexp/backend.py", line 155, in get_backend_class
    return getattr(get_backend_mod(experiment, type), name)
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/openexp/backend.py", line 133, in get_backend_mod
    return import('openexp.
    %s.%s' % (_type, name), fromlist=['dummy'])
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/openexp/_canvas/xpyriment.py", line 21, in
    from openexp._canvas import canvas
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/openexp/_canvas/canvas.py", line 23, in
    import pygame
    File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/pygame/init.py", line 133, in
    from pygame.base import *
    ImportError: dlopen(/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/pygame/base.so, 2): Symbol not found: _AudioOutputUnitStart
    Referenced from: /Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/pygame/../../..//libSDL-1.2.0.dylib (which was built for Mac OS X 10.12)
    Expected in: /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    in /Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/pygame/../../..//libSDL-1.2.0.dylib

  • After a slightly messy series of repacks and bugfixes, I think we're good. @Daniel packaged 3.1.6 for Mac OS, and it now works perfectly for me on an iMac running Mac OS Sierra (the latest version of the operating system). Thanks again Daniel!

  • Thanks to have solve the problem !

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