Fatal python error: (pygame parachute) Bus Error

215 views
Skip to first unread message

Brendan Tomoschuk

unread,
Feb 16, 2016, 1:01:28 PM2/16/16
to psychopy-users
Hi!

I'm running an experiment on Psychopy Version 1.80.06 that uses an ioLab button box connected to a marantz sound recorder to measure naming latencies in response to pictures interleaved with videos.

It randomly crashes, throwing the error "Fatal python error: (pygame parachute) Bus Error" in the middle of blocks. It doesn't always happen, doesn't happen in response to specific stimuli, or anything like that i can find. I followed every thread I've found on here related to this error in hopes of fixing the problem but I haven't managed to do it.

So far I've:
-decreased the resolution of the photos
-stripped the video of the audio and played the audio separately (since the audio format of videos gives some people trouble)
-switched audioLib to be pyo before pygame

Despite all of this, the experiment quits somewhat frequently, and always with this error. Might it be anything else? I appreciate any help, and will happily send my code along if it helps.

Thanks a lot!
Brendan

Brendan Tomoschuk

unread,
Feb 16, 2016, 1:08:59 PM2/16/16
to psychopy-users
I should also note that it doesn't seem to crash when the recorder is not actually on. Since I'm measure naming latencies, that solution isn't viable. 

I've also been trying to work in an updated version of psychopy, but there are some compatibility issues with the experiment and newer versions of psychopy.

Jonathan Peirce

unread,
Feb 17, 2016, 9:14:16 AM2/17/16
to psychop...@googlegroups.com
It's basically impossible to tell from this, but if the problem is only when you have an external piece of hardware turned on then it sounds like some incompatibility with some custom code you've written to communicate with that box?

Jon
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/0d65382b-7de7-467c-88b4-ce543b473310%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Jonathan Peirce
University of Nottingham

http://www.peirce.org.uk


This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.

Brendan Tomoschuk

unread,
Feb 17, 2016, 11:56:45 AM2/17/16
to psychopy-users
Hi Jon,

Thanks for replying! There seems to have been some kind of problem between sound files (.wav) being played by psychopy, the button box, and the external recorder...In trying to identify the source of the problem, I converted all of the sound files to .aic, and for some reason it works reliably. I couldn't get any other sound format to work. I've run experiments on psychopy with all of the same equipment/types of files...just never all at the same time, so there had to have beeb some interactive problem that was solved by changing one of the three things.

Sorry if request for help was unclear. As you can imagine, the error message was quite unclear itself!

Brendan
Reply all
Reply to author
Forward
0 new messages