I created a new experiment and hope to upload it to Pavlovia as a new project. This process works perfectly fine yesterday.
This is the error message I received.
Traceback (most recent call last):
File “C:\Users\qianc3\AppData\Local\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’
You say it worked fine yesterday. Does that mean you already uploaded it to Pavlovia and are trying to upload it to a new experiment or edit the existing experiment?
The best thing to do is probably delete everything in the folder you’re trying to upload (other than the .psyexp file) and then sync it. It will create a new git file and HTML folder when you sync. Syncing can be finicky sometimes, but that usually works for me.
I no longer had this problem after saving my psychopy builder code to a new directory and copied all the resources along. Also, I created a new experiment on Pavlovia. This is very consistent with what you said.