What are you trying to achieve?:
I wrote a program that runs perfectly fine on a mac and one of the windows computers, but fails on the other windows computers, report loop name is not defined.
I want to ask why. The versions of windows and psychopy on both computers are the same.
Just like the question in this post.
Include pasted full error message if possible. “That didn’t work” is not enough information. bug_report.zip (30.2 KB)
OS (e.g. Win10): macos 13.6 and windows 11 22h2 PsychoPy version (e.g. 1.84.x):
macos 2023.2.2
PsychoPy 2023.2.2
Paths to files on the system:
userPrefsFile: /Users/jade/.psychopy3/userPrefs.cfg
appDataFile: /Users/jade/.psychopy3/appData.cfg
demos: /Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/demos
appFile: /Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/PsychoPy.py
System Info:
Operating System: macOS-10.16-x86_64-i386-64bit
Processor: i386
CPU freq (MHz): 2800
CPU cores: 4 (physical), 8 (logical)
Installed memory: 17179869184 (Total), 5426839552 (Available)
macOS 10.16 running on x86_64
This does not seem to be a problem with my program, because I ran all the demos and this error was reported whenever loops were involved, including but not limited to the stroop paradigm.
Yes, the sound libraries of my multiple devices are all ptb, and their priority is 2, because they use the exact same program file.
And I also tried other sound libraries such as pyo and other priorities, and the same error was reported.
And the same is true for stroop and other demos, with the same sound library and priority.