OS (e.g. Win10): MacOS Sequoia
PsychoPy version (e.g. 2024.2.4 Py 3.8): 2025.1.1
Standard Standalone Installation? (y/n) If not then what?: y
I have been work shopping an experiment that I plan to launch online. For some reason, when piloting, I was running into an issue where the experiment would pop up on a localhost server but would not load, saying something along the lines of “[Init] Please wait…”. Instead of using the localhost piloting, I tried to push the experiment to Pavlovia, which I thought may lead to a different outcome. Doing so, I ran into the same issue of the piloted tab not running. Therefore, I tried to delete the Pavlovia project, change the original .psyexp file’s name, and recreate the project. This was fine, until I kept hitting the below error upon opening any file.
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py”, line 787, in fileOpen
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 1549, in getProject
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 153, in login
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 450, in setToken
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 483, in startSession
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/gitlab/client.py”, line 400, in auth
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/gitlab/v4/objects/users.py”, line 172, in get
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/gitlab/exceptions.py”, line 344, in wrapped_f
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/gitlab/mixins.py”, line 157, in get
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/gitlab/client.py”, line 813, in http_get
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/gitlab/client.py”, line 773, in http_request
gitlab.exceptions.GitlabAuthenticationError: 401: invalid_token
I found other threads that had information about internal errors, but none looking at this specific issue. Any information would help!