Howdy, Stranger!

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

Supported by

opensesame 3.1.6 crashes in full screen

I have installed the latest version of OpenSesame on a windows 7 computer. Everything appears fine, except when I run the experiment in full screen (big green play button), the experiment crashes and I get the following error:

Unexpected error

item-stack:
exception message: exception: access violation reading 0x1C752950
time: Mon May 29 17:23:07 2017
exception type: WindowsError

Traceback:
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libqtopensesame\misc\process.py", line 140, in run
exp.run()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\experiment.py", line 399, in run
self.init_display()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\experiment.py", line 749, in init_display
canvas.init_display(self)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\openexp\canvas.py", line 65, in init_display
cls.init_display(experiment)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\openexp_canvas\psycho.py", line 380, in init_display
winType=u'pyglet', allowStencil=True)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\psychopy\visual\window.py", line 330, in init
self._setupGL()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\psychopy\visual\window.py", line 1412, in _setupGL
self._setupPyglet()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\psychopy\visual\window.py", line 1273, in _setupPyglet
style=style)
File "_build/bdist.macosx-10.5-x86_64/egg/pyglet/window/win32/init.py", line 131, in init
super(Win32Window, self).init(*args, **kwargs)
File "_build/bdist.macosx-10.5-x86_64/egg/pyglet/window/__init__.py", line 559, in __init__
self._create()
File "_build/bdist.macosx-10.5-x86_64/egg/pyglet/window/win32/__init__.py", line 268, in _create
self.switch_to()
File "_build/bdist.macosx-10.5-x86_64/egg/pyglet/window/win32/__init__.py", line 307, in switch_to
self.context.set_current()
File "_build/bdist.macosx-10.5-x86_64/egg/pyglet/gl/win32.py", line 214, in set_current
wgl.wglMakeCurrent(self.canvas.hdc, self._context)
WindowsError: exception: access violation reading 0x1C752950

No error occurs when I run the experiment via the other play buttons.

Comments

  • Hi Dirk,

    This is an error that occasionally comes up, unpredictably, and without any obvious cause or solution. As far as I can tell, it's a memory bug in pyglet, a library used by psychopy. Is it an option to switch to another backend?

    Cheers,
    Sebastiaan

  • Hi Sebastian,

    I prefer to keep the experiment in psychopy. Is it an option to install an older version of OpenSesame or would I then keep running into the same problem?

    Maybe related to this psychopy error? In this experiment I am showing two gabors on each trial. Surprisingly enough every time I run the experiment on this computer (where it crashes) the first trial there is only one Gabor shown and then two on subsequent trials. The experiment runs fine on all other computers so I am convinced it is not a code problem. Not sure whether this is helpful, but you never know :)

    Cheers,

    Dirk

  • Hi Dirk,

    Try one of the portable versions. You don't have to install anything. Just download the zip, unzip and see whether another versions works on your computer.

    Edaurd

    Buy Me A Coffee

  • Maybe related to this psychopy error? In this experiment I am showing two gabors on each trial. Surprisingly enough every time I run the experiment on this computer (where it crashes) the first trial there is only one Gabor shown and then two on subsequent trials.

    That could be related, yes. Memory may get corrupted first, and then after a while this triggers an error. Or it might not be related—difficult to say.

    You can also see what happens if you upgrade several relevant packages. You can do this by running the following commands in the debug window:

    import pip
    pip.main(['install', 'pyopengl', '--upgrade'])
    pip.main(['install', 'pyglet', '--upgrade'])
    pip.main(['install', 'psychopy', '--upgrade'])
    

    It's possible that this memory error has been fixed by now in one of these packages.

    See also:

  • Hey Sebastian,

    I updated pyopengl and pyglet but these packages were already up to data. However, when installing psychopy I get the following error:

    pip.main(['install','pyschopy','--upgrade'])
    Collecting pyschopy
    Could not find a version that satisfies the requirement pyschopy (from versions: )
    No matching distribution found for pyschopy
    You are using pip version 8.1.2, however version 9.0.1 is available.
    You should consider upgrading via the 'python -m pip install --upgrade pip' command.

    But for now I am running the experiment via the little green play button (which also starts in fullscreen) and then everything appears to be fine.

    Cheers,

    Dirk

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