Hi everyone, could someone please help? I’ve searched the forums but have come up short.
OS (e.g. Win10): Windows 7
PsychoPy version (e.g. 1.84.x): 1.90.3
Standard Standalone? (y/n) If not then what?: yes, PsychoPy 2, PY3, 1.90.3
What are you trying to achieve?:
This is my first PsychoPy task. It is a version of the Balloon Analogue Risk Task. It uses session numbers (1-4) to pull specific balloon configurations from excel files for use in the task. It also sends some EEG triggers via PPT 0x378. Please find the related files here: https://1drv.ms/f/s!AkQ6eJJ0SIw5wERrZxXJAsPASAo- (Edit: I have disabled this link subsequent to the work-around on this issue)
Everything works perfectly BUT…
The task works as expected BUT then (seemingly) randomly hangs on either the trial screen or the feedback screen. It seems to hang after about 4 minutes of play. In my fiddling it hangs anywhere between balloon 5 and 12… I am having a hard time discovering what reliably makes it freeze. It appears to be related to either the total number of trials/responses, or the total amount of time the task has been running. When it freezes, I must force-quit the task window/full-screen task. Unfortunately this also results in a total loss of data (creates a .log file of 0kb, no .psydat). This force-quit allows me to recover the builder and the output console, however there are no error messages there.
Interestingly, if I use fewer balloons in my trial list, eg: only the first 4 from the session 1 list, the task works exactly as expected, and exits cleanly.
My only hunch is that something is going out of bounds in the longer version of the task, but I have been through my code and have no idea what this may be.
Help! Thank you,
PS: I appreciate the irony that psychopy comes with a BART task example…