URL of experiment:
Description of the problem:
I have been having problems with getting my project to work on pavlovia.
When starting up the experiment the pictures used in it wont load, eventhough I have already specified them in the projects online settings additional resources.
This is the error code:
Unfortunately we encountered the following error:
- when setting up a preload queue
- unable to download resource: …/Experiment Expi/Stimuli/images/lures/L_t005_q25_G.png (…/Experiment Expi/Stimuli/images/lures/L_t005_q25_G.png)
Try to run the experiment again. If the error persists, contact the experiment designer.
The pathes shown are for the pictures used in the experiment, sadly Im really unexperienced with psychopy/pavlovia since were using it for the first time in university.
Thanks for your help
Thanks for your post! Would you mind clarifying the following please:
- Does your experiment work locally (i.e. when you run it from PsychoPy not Pavlovia)?
- In your image components, how are you setting the filename? Are they using a conditions file (so the Image file will be something like $your_column_name) or is it linked to a file (so the image file will be something like your_image.png)?
Can you set your experiment to Public on Pavlovia so that I can see your code? Or you can upload your local experiment files here if that’s easier?
thank you for trying to help, I just solved the problem myself a few minutes ago.
Great to hear @domh72!
If you can, would you mind posting how you solved your issue then marking it as a solution so that other users with a similar problem can take a look?
When Coding in Psychopy a different way of defining the experiments stimuli paths was necessary (eg. …/Experiment Expi/Stimuli/images/lures/L_t005_q25_G.png) for adressing the picture L_t005_q25_G.png.
When uploading to Pavlovia and converting to JS this path no longer works. In order to fix it I simply had to remove the …/Experiment Expi (this being the folder on my machine (with the …/ infront for making it work on every machine the experiment is opened at).