When I try to create a new project on Pavlovia I get the following error
Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 161, in submitChanges
self.parent.project = self.project
AttributeError: ‘NoneType’ object has no attribute ‘project’
After I fill in the next dialogue box for the changelog, PsychoPy becomes unresponsive, and does not sync to Pavlovia.
I created the HTML file as required.
I tried deleting the project on Pavlovia and making it again, deleting and re-exporting the HTML, but it just crashes.
Out of interest are you able to push a ‘dummy’ project to pavlovia (say just some simple text)
Are you able to try copying your .psyexp and any dependant files (e.g. images condiitions files) to a new directory with no html or git files and sync with a different project name?
Are you logged into your pavlovia account/the account you expect you shoudl be logged into locally (can be checked by clicking the second globe icon from the right in psychopy builder).
Although you receive this error locally do you see anything (i.e. a project with your experiment name) on your gitlab page? (can be accessed by clicking “view code <>” on any of the experiments shown in the explore tab and clicking “projects”>“your projects”)
That only comes up if I click “sync with Pavlovia” first. I tend to go via pavlovia.org and then new… to create them. But it doesn’t work with either method.
Yes I am logged in with the correct account, I have also logged out and back in to make sure.
It creates the project on the gitlab page, however the project shows 0 Bytes as its file size and doesn’t contain anything.
For the first point, I would highly recommend making your projects from psychopy itself (using the sync button that you mention) to ensure easiest/smoothest sync.
For now, I am going to tag a colleague who is knowledgeable in pavlovia/gitlab to see if they have suggestions on this @apitiot
So this issue seemed to fix itself. I did however notice that it was crashing because it was trying to upload 300,000+ files. I’m guessing there was an issue where it was uploading my whole C drive instead of just the folder that I had selected.
Sorry I can’t be of any more help to anyone else this happens to, it just fixed itself.