I’ve noticed that on recent Apple Silicon chip Mac systems (MacBook, Mac Studio, etc.) running macOS >14, after installing the PsychoPy standalone app and opening PsychoPy, it requests to access file system but sometimes fails to correctly request access for control.
This is relevant if someone is using the ioHub backend for keyboard/mouse inputs, or using the Eyetracking module that both require running an ioHub server on a separate subprocess.
If you encounter the error saying
“RuntimeError: Error starting ioHub server: ioHub startup failed.”
when running an experiment from Builder, it’s likely because appropriate permission is not given to PsychoPy. Go to macOS System Settings > Privacy & Security > Accessibility, and make sure PsychoPy is toggled on. If PsychoPy does not appear in the list, click the little “+” sign to add the PsychoPy app. Restart PsychoPy and the problem should be fixed.
While we are on the topic of macOS, if you notice a strange warning message about Apple PersistenceState in the Runner window after running an experiment, you can run the following in a Terminal window, and it will fix the issue that’s generating the warning message:
defaults write org.opensciencetools.psychopy ApplePersistenceIgnoreState NO