Description of the problem:I built my experiment on PsychoPy and uploaded it to Pavlovia, but when I click on the URL and try to run it, it gets stuck on initializing the experiment. I have opened the console tab and the message it shows is this:
I went to line 209 where there was a comma on an empty line so I brought it to the previous line (font: ‘Arial’) after which the comma was missing.
Despite this the problem persists and the consol reports the same error…
I’ve also noticed that there is this message when I place the cursor on the exclamation mark:
My knowledge about coding is zero, so please help me out!!
thank you very much!! Actually now I have another problem which I’ve seen you discussed on another topic… ReferenceError: frameDur is not defined.
But still I don’t understand what I should do, because as I was saying I am very new to all this!
ReferenceError: frameDur is not defined frameDur is a PsychoJS variable used for calculating frame durations. This error tends to occur when the JS has not compiled correctly, and so PsychoPy fails to declare the builtin variables in the JS code. The actual error is usually visible from the Psychopy dialog.
When I press that icon it just appear a window where I have to describe the changes I’ve made…I left it blank and pressed ‘ok’. Nothing appeared nowhere; then I tried to run the experiment and it worked. This is the runner when I was about to start
I notice that you have two sets of JS files in your repository. Pavlovia can only cope with one experiment in each folder. I would recommend that you copy your psyexp file and resources to a new empty local folder and create a new project.