| Reference | Downloads | Github

Launching study on Pavlovia loads blank page


OS (e.g. Win10): mac os 10.12
PsychoPy version (e.g. 1.84.x): 3.0.0b11
Standard Standalone? (y/n) y

I’ve (somewhat) successfully uploaded past versions of my study to Pavlovia. The study didn’t fully work, which lead me to realize I needed to write my code components in JavaScript, so I did that and uploaded a new version of my study. Now, the updated study only loads a blank webpage. On the Chrome debugging screen (console), it says:

Uncaught SyntaxError: Invalid or unexpected token [study name].js:325.

I have also tried copying the experiment and stimulus files into a new folder, and making a new project on Pavlovia. When I go to activate the new study, I get a pop-up with this message:

{“origin”:“",“projectId”:1604,“experimentFullPath”:“carolisk/test9”,“context”:"when activating, deactivating or updating an experiment”,“error”:“unable to add or update the experiment’s entry in the database: 1062 (23000): Duplicate entry ‘1604’ for key ‘PRIMARY’”,“projectName”:“test9”}

Thank you!

UPDATE: fixed the blank page error: i had mistakes in my JS code (wrong commenting symbol (used python #) , and unrecognized color name (light green)). Thanks!