Hi,
I have just updated my PsychoPy Version to 2022.1.2.
When I am trying to sync a new project I am getting this error:
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 1377, in onPavloviaSync
pavlovia_ui.syncProject(parent=self, file=self.filename, project=self.project)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 741, in syncProject
functions.showCommitDialog(parent, project, initMsg="", infoStream=dlg.status)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\functions.py”, line 94, in showCommitDialog
changeDict, changeList = project.getChanges()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1017, in getChanges
changeDict[‘untracked’] = self.repo.untracked_files
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 861, in repo
raise AttributeError(“The requested local path for project\n\t{}\n”
AttributeError: The requested local path for project
‘C:\Users\pfrick\Work Folders\Documents\Projekt Validierung und Reaktivierung\Studie C2’
sits inside another folder, which git will not permit. You might like to set the project local folder to be
‘C:\Users\pfrick\Work Folders\Documents’
This folder structure always worked with the old version (2021.1.4). Are subfolders no longer possible?
Also, when I try to open a project created with the old version, I get the following error message:
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\app\builder\builder.py”, line 735, in fileOpen
self.project = pavlovia.getProject(filename)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1253, in getProject
project = session.gitlab.projects.get(name)
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
Can anyone help? Thanks in advance!