Error Message- Unable to move experiment to Pavlovia

Currently using:
-Macbook Pro OS Monterey
-PsychoPy Version 2022.1.3 (I am logged into my Pavlovia account as well)
-Pavlovia Account- University Student Account

Goal: Move PsychoPy experiments to Pavlovia
Experimental task: Simple image presentation with recording a key press

When attempting to upload the experiment to Pavlovia, I receive the message pasted below. I have attempted to update Psychopy, restarted my computer, and attempted to upload several different ways.

Currently, I do not have any experiments or files on Pavlovia.

I receive this error message when I attempt to:
-Compile to JS script
-Run study online
-Sync with web project
-Find existing studies online

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 808, in fileExport
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py”, line 71, in generateScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py”, line 245, in compileScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/scripts/psyexpCompile.py”, line 217, in _makeTarget
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/_experiment.py”, line 286, in writeScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/experiment/components/settings/init.py”, line 834, in writeInitCodeJS
IsADirectoryError: [Errno 21] Is a directory: ‘/Users/gracewaldfogle/Desktop/DISSERTATION/Exp2_Program Builds/index.html’

I receive this message when I try to view the details of this project:

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/projects/pavlovia.py”, line 633, in project
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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia_ui/toolbar.py”, line 87, in onPavloviaProject
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia_ui/project.py”, line 674, in init
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia_ui/project.py”, line 394, in init
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 602, in refresh
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 636, in project
KeyError: ‘Could not find GitLab project with id 219355.’

If you don’t have any Pavlovia experiments yet, then delete the local hidden .git folder, reopen the Builder file and try again.

1 Like