| Reference | Downloads | Github

Internal Error When Opening Any Experiment


I keep getting this same message every time I try to open any experiment in PsychoPy

The error message looks like this:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\”, line 864, in onIdle
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\”, line 105, in doIdleTasks
_doTask(taskName, app)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\”, line 142, in doTask
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\”, line 97, in setUser
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\projects\”, line 407, in setToken
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\projects\”, line 432, in startSession
File "C:\Program Files\PsychoPy3\lib\site-packages\gitlab_init
.py", line 196, in auth
File "C:\Program Files\PsychoPy3\lib\site-packages\gitlab_init
.py", line 209, in token_auth
self.user = self.objects.CurrentUserManager(self).get()
File “C:\Program Files\PsychoPy3\lib\site-packages\gitlab\”, line 242, in wrapped_f
return f(*args, **kwargs)
File “C:\Program Files\PsychoPy3\lib\site-packages\gitlab\”, line 68, in get
server_data = self.gitlab.http_get(self.path, **kwargs)
File "C:\Program Files\PsychoPy3\lib\site-packages\gitlab_init
.py", line 517, in http_get
streamed=streamed, **kwargs)
File "C:\Program Files\PsychoPy3\lib\site-packages\gitlab_init
.py", line 491, in http_request
gitlab.exceptions.GitlabAuthenticationError: 401: 401 Unauthorized

That sounds like you aren’t logged in.

Do you have a problem opening PsychoPy and creating and running a very simple experiment locally?

When does the error occur?

It happens any time I try to open an experiment on my computer, before even uploading anything to gitlab.