Code 403, repository empty

URL of experiment:
sbruijniks/remind3
Sanne Bruijniks / remind3 · GitLab

Description of the problem:
I tried to start an experiment online (that worked last week, but I made a small change, uploaded it again). Now, I keep getting code 403 Forbidden. If I open the open it says the repository is empty… It seems something goes wrong in transferring the experiment from offline to online, I am not sure what. In the experiment itself, under settings, online, I uploaded the needed csv and jpg files

What am I missing?

N-back for remind.zip (700.4 KB)

Can you still see the repository on your dashboard?

If Sign in · GitLab is empty you could look at repository / commits to see changes but it might be easier to delete the local .git files and folder and recreate it online as a new project. If there is an error when syncing from Builder, then that’s a different issue to address.

So at my dashboard I see the versions I uploaded from Psychopy.
At first I could synchronize, but I cannot anymore, it gives an internal error.
It seems its gotten more messed up when I tried to create new experiment versions and see if this would work…

If I delete every experiment from my dashboard and now create a new project from the builder it cannot synchronize anymore and gives the error below…

I feel maybe I just need to create a new Pavlovia account and start over…?

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\exceptions.py”, line 304, in wrapped_f
return f(*args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\mixins.py”, line 112, in get
server_data = self.gitlab.http_get(path, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\client.py”, line 662, in http_get
result = self.http_request(
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\client.py”, line 628, in http_request
raise gitlab.exceptions.GitlabHttpError(
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 “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 663, in project
self._project = self.session.gitlab.projects.get(self.id)
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\v4\objects\projects.py”, line 782, in get
return cast(Project, super().get(id=id, lazy=lazy, **kwargs))
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\exceptions.py”, line 306, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
gitlab.exceptions.GitlabGetError: 404: 404 Project Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\menu.py”, line 114, in onSync
syncProject(parent=self.parent, project=self.parent.project)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 743, in syncProject
if not project.localRoot or not Path(project.localRoot).is_dir():
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 746, in localRoot
if self.project.path_with_namespace in knownProjects:
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 666, in project
raise KeyError(f"Could not find GitLab project with id {self.id}.")
KeyError: ‘Could not find GitLab project with id 415282.’

The issue is that your local folder still has a .git folder and/or file. If you can’t find it, make a new local folder and copy only those files you created into it (psyexp, spreadsheet and any stimuli). Then sync from there.

It works, thanks! Stupid mistake. Many thanks!!
I can open the experiment now, but unfortunately I get an error while the experiments runs just in the Builder.
Had this to do with translation from the Builder to the online setting?

Unfortunately we encountered the following error:

  • ReferenceError: msg is not defined

Try to run the experiment again. If the error persists, contact the experiment designer.
N-back for remindonlinesequential.zip (1.9 MB)

Without looking at your code I suspect you are setting msg in and if else clause. Put msg = '' in Begin Experiment

Dear wakecarter,

Thanks for thinking along. It is defined in the begin experiment tab… so I am not sure what to do… the task works in an offline setting, so it seems to be something in the translation to Pavlovia, but not sure what and why.
Do you have any idea (where I have to search for…)?

Kind regards, Sanne