Howdy, Stranger!

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

Supported by

Python crash

Hi,

I am having below error everytime I run my experiment at the exactly the same place. My experiment includes 8 blocks and everytime it crashes at the 3rd picture of the 3rd block (neg1_05.jpg)

. This is the error message.

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

item-stack: ``

time: Sun Jan 31 16:44:54 2021

Windows 10 version 20H2

Python 3.7.6

Open Sesame 3.3.6

At the crash time memory was around 75%, however it is almost stable during the experiment. So there was no memory issue I guess.


I attached my experiment. Do you also need the pool pics? They are all 800x600, jpg

I searched the forum and could not find any solution. I hope you can help me.

thanks in advance

Ergun

Comments

  • Hi @Ergun,


    It seems like there's nothing wrong with your experimental script itself. Could it be that there is something wrong with this specific stimulus (neg1_05.jpg)? For example that it is actually a PNG that is saved with the extension JPG? Would something trivial as re-importing it to the filepool, or resaving it under a different name, help?


    If all of this doesn't help, could you send an example script with stimuli in the filepool? If the experiment is too big, you could simplify it by only including the first couple of trials of block 3 (and the corresponding images in the file pool).


    Good luck!


    Cheers,


    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • PS: On a side note: I think it's best to use (linked copies of) a single logger item throughout your whole experiment. Otherwise, you'll end up with multiple output files and things get messy. ;)

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • Hi Lotje,

    thanks for your help. I opened the jpg file and save as jpg again and it solved the problem. There were actually two problematic pictures which both were initially created in Adobe Photoshop CS Macintosh. I give this info in case someone need it in the future.

    cheers

    Ergun

  • Great, thanks for sharing @Ergun !

    Did you like my answer? Feel free to Buy Me A Coffee :)

Sign In or Register to comment.