OS: macOS Ventura 13.4
PsychoPy version: 2023.2.3
Standard Standalone? y
When I close my experiment in PsychoPy, it generates an extremely detailed frame-by-frame output in the runner that I didn’t request. The time it takes to produce this script varies based on the experiment’s duration and complexity. Even for simple routines that worked well in earlier versions, if they run for more than about a minute, the script generation becomes so lengthy that the program becomes unresponsive, leaving me no choice but to force-quit the program. I have attached a few lines of the output below for reference. How can I stop PsychoPy from generating a script in such a detailed, frame-by-frame format?
Based on the current information, it is difficult to determine the exact cause of the error. Did you accidentally change the options ‘constant’ or ‘set every repeat’ to ‘set every frame’ when configuring some components?
The options are set to every frame or repeat only when needed; I don’t think that’s what’s causing the issue. This same experiment runs fine on previous versions of PsychoPy, it is only on versions 2023.2.2 and 2.3 that PsychoPy generates the script for every single frame which leads to crashing. If there’s a way to disable the frame-by-frame script generation the problem would get resolved and I could still benefit from the latest version of PsychoPy.
The solution to this was actually quite simple. Settings > Data > Logging level > error. (mine was set to exp, which led to the inefficient logging of everything frame-by-frame)