Howdy, Stranger!

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

Supported by

python crashing - runtime error

Hello all,

First I want to say thanks for all your hard work making Opensesame such a great and accessible program. It is much appreciated by many members of my lab here in Adelaide.

I am having an error with a couple of experiments which I had been successfully running for a while now. I have tried two scripts, which both previously worked. The error seems associated with switching to a new PC. I am unable to run the experiment at all, as it crashes immediately.

The error that I am getting comes up in a Microsoft Visual C++ Runtime Library popup window and says

    Program: C:\Program Files (x86)\OpenSesame\python.exe

    This application has requested the Runtime to terminate in an unusual way. Please contact the application's         support team for more information. 

Another popup then appears saying that python.exe has stopped working. The OpenSesame debug window shows the following...

    Starting experiment as ExperimentProcess-8
    Expyriment 0.8.1.opensesame2 (Python 2.7.12) 

    Python seems to have crashed. This should not happen. If Python crashes often, please report it on the          OpenSesame forum.

    time: Sat Feb 03 01:49:14 2018

As I mentioned, the error seems isolated to the new PC that I have been given by my IT department to use as stimulus computer in my EEG setup. It is running Windows 7 64 bit version, clean install done today. I have tried Opensesame version 3.1.2, 3.1.6, 3.1.9 and even the new 3.2.0. The program was running fine on a number of other PCs that were running OpenSesame 3.1.6, and my Mac which was used for programming them initially.

Some further details which may help are that the error is occurring using the xpyriment backend. I have been using xpyriment without a problem for a few weeks and would like to continue to do so as the EEG trigger timing has proven the most reliable (psychopy was having intermittent timing glitches during previous tests). For troubleshooting today though I have also tried using the Psychopy backend which also crashes immediately before even loading the instruction page, and I have tried the legacy backend which actually does work and runs ok, but as this is an EEG experiment I don't really want to use it (per the forum and reference pages describing how legacy does not take monitor refresh into account when time stamping).

The psychopy crash gives the following debug info


File "c:\program files (x86)\opensesame\lib\site-packages\pyglet-1.2.4-py2.7.egg\pyglet\", line 101, in

ImportError: cannot import name gl_info

I have attached one of my experiment files if that helps. I don't know if you need any other information but please ask if you do.

Many thanks,



  • Hi Daniel,

    This looks like an issue with OpenGL, which is the software library that both Expyriment and PsychoPy use for display presentation. One reason for this might be a problem or incompatibility with the video drivers on your new system—but honestly that's just a guess.

    @fladd do you have any idea?


    Buy Me A Coffee

  • Thanks for your help Sebastiaan.

    Yes it is the graphics card causing the problem. I tried all the drivers for it that I could find but none of them worked... it just doesn't seem compatible with OpenGL. I switched it out for a replacement and now it is working fine.



  • Mmh, I have never seen this before. Very strange. What graphics card was that?
    Might also be helpful to get the output of expyriment.misc.get_system_info() for further inspection.

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 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