Psychopy 2022.1.2 Crashing

Hi, I recently downloaded version 2022.1.2 and it doesn’t work. When I try opening a psychopy file (either coder or builder) it just crashes (“Psychopy Error”). When I try to create a new project, it often crashes as well. On the occasions when it doesn’t, and I try to either run an existing project or run a new one created from scratch, it fails with the following error:

python[84191:4837704] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7f83eaf973f0>) 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-16 17:17:13.390

I tried re-installing an older (2021) version of psychopy, and it still works/runs just fine. I’ve also tried installing the 2022 version on a different machine (also a mac), and it works just fine as well. I suspect there’s some issue with the instal, but I’ve tried deleting and re-installing several times to no avail. Any help is appreciated.

Update: the .py file now pens and runs, but when I try to open the builder file it says an unhandled error was produced with the following message:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/exceptions.py”, line 304, in wrapped_f
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/mixins.py”, line 112, in get
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/client.py”, line 662, in http_get
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/client.py”, line 628, in http_request
gitlab.exceptions.GitlabHttpError: 404: 404 Project Not Found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/_psychopyApp.py”, line 653, in MacOpenFile
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/_psychopyApp.py”, line 589, in newBuilderFrame
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 208, in init
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 735, in fileOpen
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 1253, in getProject
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/v4/objects/projects.py”, line 782, in get
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/exceptions.py”, line 306, in wrapped_f
gitlab.exceptions.GitlabGetError: 404: 404 Project Not Found

Again, none of this happens when I run the same program on another machine.

After I logged into pavlovia in psychopy, I could open the builder file. When I try to run it, though, python crashes.

And now it’s back to psychopy crashing upon being opened–I literally didn’t change anything.

Does your experiment have a button component?

No. The issues appear even when I open a blank project, anyway.

Unfortunately it seems that 2022 is not yet compatible with all versions of MacOS. Until there is a fix you may need to continue using 2021.2.3.

Hi @bmidler,

I just filed a bug report containing a solution to this issue that might work for your too, see here: