Can't run experiments on M1 2020 Macbook Pro

OS (e.g. Win10): macOS Monterey 12.3.1.
PsychoPy version (e.g. 1.84.x): 2022.1.3.
Standard Standalone? (y/n) If not then what?: yes
What are you trying to achieve?:

Attempting to run builder-generated python code per the ubiquitous Stroop tutorial

What did you try to make it work?:

  • Restarted laptop
  • Installed xcode via command line per StackExchange suggestion
  • Installed latest version of Python for MacOS via Python website
  • Unbound language switch from Capslock key [in relation to an obscure error message I found in the error log referencing the capslock key]
  • Took files containing .psyexp out of OneDrive and placed onto Desktop
  • Attempted to replace values for texRes and nDots variables with integers instead of floats but no such variables exist in my generated code
  • Created new experiment file with only basic text and also clicked ‘run experiment’

What specifically went wrong when you tried that?:
Same error as in all cases: experiment begins with grey screen for a split second, then crashes.

10.0157 WARNING Couldn’t connect to psychopy.org
Check internet settings (and proxy setting in PsychoPy Preferences.
Generating PsychoPy script…

Running: /Users/myusername/Desktop/PsychoPy Experiments/test_lastrun.py

14.1091 INFO Loaded monitor calibration from [‘2022_04_25 18:22’]
2022-04-25 22:55:53.952 python[3292:65134] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/vm/r79x0pcd2ml0vx4v99hcctv40000gn/T/org.opensciencetools.psychopy.savedState
2022-04-25 22:55:58.011 python[3292:65134] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7f8bf0081490>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2022-04-25 22:55:58.012 python[3292:65134] Warning: Expected min height of view: (<NSButton: 0x7f8bf009ecb0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2022-04-25 22:55:58.013 python[3292:65134] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7f8bf009f3f0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2022-04-25 22:55:58.014 python[3292:65134] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7f8bf00a1ca0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
################ Experiment ended with exit code -4 [pid:3292] #################

I had the same problem. I don’t have a solution, but I was able to work around it by downloading and running PsychoPy version 2021.2.3, which seems to run normally.

2 Likes

Ah, I will try this and update thread with results. Thank you!

Unfortunately this did not work for me. It’s odd, I was using psychopy with no issues, and then got an error message about not being able to find a Colors module and then tried one more time and it just crashed. Now it crashes every time.

This is the full error message from the psychopy version listed in my original post:

Error Message - Pastebin