URL of experiment: Pavlovia
Description of the problem: Hi there,
New to Pavolvia, here! In my offline Psychopy code, I’m dynamically choosing spreadsheets based on participant number. I have loops, and am choosing an excel spreadsheet with the following line in the Conditions file:
$“resources/instruct_”+expInfo[‘participant’]+ “.xlsx”
When I try to run on Pavlovia, I get the following error:
Is this because I can’t dynamically choose spreadsheets for each participant? Does anyone know of a workaround? Thanks in advance for your help!
You either need to add all possible spreadsheets in Experiment Settings/Online/Additional Resources or use a code component to prepare the chosen spreadsheet.
Thanks for your response! Adding the additional resources in Experiment Settings/Online/ doesn’t seem to work for all the resources though. It fixes the xlsx spreadsheet problem, but still can’t seem to find my stimuli.
For example, I get this error:
But, as you can see here, the stimulus file has been added to Experiment Settings/Online/Additional Resources:
I already tried deleting the experiment, the .git folders, and the html file and reuploading. It hasn’t worked. There are only 160 resources being downloaded at the beginning of the experiment, and I have many more resources than that in both the resources folder and and the additional resources, so I don’t know why they’re not being read in.