Cannot open Compatibility+ Psychopy on Mac

Hi,

I am attempting to download and run Psychopy 2024.2.5 3.8 onto a Mac desktop (macOS Sequoia 15.7), but upon opening the application I run into a launch error. I also received this error when attempting to download the newest version of Psychopy. I have tried the debugging on the py2app builder debugging website it leads me to but these attempts did not work. After running cat ~/.psychopy3/last_app_load.log in my terminal, I receive the below error code. I am not sure how to interpret this or what to do to resolve this error. Any help would be appreciated. Thank you!

2.6722 DEBUG Opening message catalog /Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/localization/../app/locale/en_US/LC_MESSAGE/messages.mo for locale en_US

Traceback (most recent call last):

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/_psychopyApp.py”, line 606, in onInit

self.showBuilder(fileList=exps)

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/_psychopyApp.py”, line 881, in showBuilder

self.newBuilderFrame()

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/_psychopyApp.py”, line 863, in newBuilderFrame

self.builder = BuilderFrame(None, -1,

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 247, in _init_

self._mgr.LoadPerspective(self.frameData[‘auiPerspective’])

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/wx/lib/agw/aui/framemanager.py”, line 5522, in LoadPerspective

pane = self.LoadPaneInfo(pane_part, pane)

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/wx/lib/agw/aui/framemanager.py”, line 5395, in LoadPaneInfo

raise Exception(“Bad perspective string”)

Exception: Bad perspective string

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File “/Applications/PsychoPy.app/Contents/Resources/_boot_.py”, line 262, in

_run()

File “/Applications/PsychoPy.app/Contents/Resources/_boot_.py”, line 185, in _run

exec(compile(source, path, “exec”), globals(), globals())

File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 109, in

main()

File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 105, in main

start_app()

File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 27, in start_app

_ = startApp(showSplash=showSplash) # main loop

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/_init_.py”, line 97, in startApp

_psychopyAppInstance = PsychoPyApp(

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/_psychopyApp.py”, line 248, in _init_

self.onInit(testMode=testMode, startView=startView, **kwargs)

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/_psychopyApp.py”, line 609, in onInit

self.showBuilder()

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/_psychopyApp.py”, line 881, in showBuilder

self.newBuilderFrame()

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/_psychopyApp.py”, line 863, in newBuilderFrame

self.builder = BuilderFrame(None, -1,

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 247, in _init_

self._mgr.LoadPerspective(self.frameData[‘auiPerspective’])

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/wx/lib/agw/aui/framemanager.py”, line 5522, in LoadPerspective

pane = self.LoadPaneInfo(pane_part, pane)

File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/wx/lib/agw/aui/framemanager.py”, line 5395, in LoadPaneInfo

raise Exception(“Bad perspective string”)

Exception: Bad perspective string

wx._core.wxAssertionError: C++ assertion “GetEventHandler() == this” failed at /Users/robind/projects/bb2/dist-osx-py38/build/ext/wxWidgets/src/common/wincmn.cpp(470) in ~wxWindowBase(): any pushed event handlers must have been removed

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

SystemError: <class ‘wx._core.WindowDestroyEvent’> returned a result with an error set

wx._core.wxAssertionError: C++ assertion “GetEventHandler() == this” failed at /Users/robind/projects/bb2/dist-osx-py38/build/ext/wxWidgets/src/common/wincmn.cpp(470) in ~wxWindowBase(): any pushed event handlers must have been removed

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

SystemError: <class ‘wx._core.WindowDestroyEvent’> returned a result with an error set

Error in atexit._run_exitfuncs:

wx._core.wxAssertionError: C++ assertion “GetEventHandler() == this” failed at /Users/robind/projects/bb2/dist-osx-py38/build/ext/wxWidgets/src/common/wincmn.cpp(470) in ~wxWindowBase(): any pushed event handlers must have been removed

38.9412 INFO Trying to load audio library: PTB

39.0457 INFO Loaded psychtoolbox audio version 3.0.19.649712773

39.0460 INFO sound is using audioLib: ptb

39.1601 INFO Calling `psychopy.plugins.activatePlugins()`, but no plugins have been found in active distributions.

39.9593 DEBUG PavloviaLoggedIn

42.0142 ERROR Error loading perspective: Bad perspective string

Thanks for providing last_app_load.log. It looks like a corrupted appData.cfg file. Maybe an invalid screen location (or similar) has been stored and PsychoPy hasn’t handled that well on restart. Could you upload your appData.cfg file here so we can check what has gone wrong. But then you can delete the file and I think you’ll beable to launch the app again.

Thanks