Hi! I am experiencing an issue with my task where the screen goes blank/black after a random number of trials and does not continue. There does not seem to be a pattern occurring with when it stops. This also seems to be happening in both PsychoPy and Pavlovia with no error code showing up on either platform.
The trial that crashes is built in a loop and incorporates a textbox and audio recording. Each component depends on the condition presented on screen. It seems like the audio recording and writing components are causing the task to crash and just stop; however, I am having trouble fixing this issue.
If something is going wrong at a random point during a loop one option is to switch the loop to sequential to see which trial is causing the issue.
However, I would also check for blank rows at the bottom of the spreadsheet. Check whether the number of conditions according to the loop matches your intended number.
Thanks for the advice! I tried what you suggested, and still the task does not continue. I’ve noticed from the data and from PyschoPy’s output, that it appears the sliders, text, and button I have at the end of a routine in the loop ramdonly stops and does not continue to the next routine (a simple fixation cross).
This is from the PsychoPy runner for the trial that works:
I’ve tried splitting the image presentation and the ratings into two routines, and there has been so success on that front. I would really appreciate any solutions to this issue!