Pavlovia - unable to present stimuli from folder in gitlab?

Hi all,

I am trying to pilot my experiment but Pavlovia isn’t able to assign the stimuli from my stimuli folder in gitlab. I have tried taking all the stimuli out of the sub folder and storing them directly into the gitlab repository. I still get the error message: ReferenceError: assignment to undeclared variable VCS_1.

I have assigned the variable in the before experiment routine as:


I’m not sure where I am going wrong?


Try Begin Experiment.

Have you added the images in Experiment Settings / Online?

Hi Wake,

I have solved this issue (I think), I forgot to use var before each image is loaded in. Currently debugging the next section of my code. Thanks for your response, I will have a look into adding the images in Experiment Settings/Online if this fix doesn’t work :slight_smile:

I don’t add var when coding but I guess that might be needed if you use Before Experiment.