URL of experiment: Sign in · GitLab
Description of the problem:
Hello there!
I have written an Attentional Blink Paradigm in PsychoPy Builder and it works perfectly locally, but trying to run it online throws the “unknown resource” error. I already tried different variations of the file path, but none worked.
The problem is, that I have 3 kinds of pictures I want to randomize independently from each other. I have the distractors that need to be randomized every trial and I have T1s and T2s that shall be randomized independently over 36 Trials in each block. The T2s I randomize in a loop via an .xlsx file, but including the T1 images in the same file resulted in the same T1-T2 pairs in each block. And I could not run a loop over two different .xlsx files. So I decided to load the T1 images and the distractor images via a code component and store them in an array that I randomize before each block/trial. I also copied the distractor and T1 images into the resources folder as they we’re not copied there automatically, but no matter if I change the path to “O_01.png” or “Stimuli\Neutral\T1\O_01.png” or “resources\Stimuli\Neutral\T1\O_01.png” or “html\resources\Stimuli\Neutral\T1\O_01.png”, I always get the “unknown resource” error.
Can someone help me there? I am actually kind of lost as I never worked with Pavlovia or html or JavaScript before… Just some local programming without any browser stuff