psychopy.org | Reference | Downloads | Github

Image not syncing from PsychoPy to Pavlovia

OS Win10
PsychoPy version v2020.1.3

I’ve user builder to create an experiment with two image loops using the same type of stimuli, with a distraction image in between the two loops. Everything works fine in PsychoPy but when I move it to Pavlovia the distraction image no longer works, but the original images in the loop have synced fine and work ( I took the distraction image out and tried to run it without so I know it’s fine) The error message I get is as follows:

Unfortunately we encountered the following error:

  • when setting the image of ImageStim: image
  • when getting the value of resource: image/horses
  • unknown resource

Try to run the experiment again. If the error persists, contact the experiment designer.

The image is not liked to my hard drive, and as I mentioned other images in the same experiment work fine. Maybe Pavlovian just doesn’t like horses?

If anyone can help I’d really appreciate it. Thanks!

I would expect the value of resource to include the file extension. Is there any reason why the extension might be missing for that item (e.g. a space in the middle of the file name). You said that other images are showing – just not horses. Check that the image is in html/resources/image/