Error Pavlovia: unknown resource

GitLab Id: #462637
Repository: Sign in · GitLab

Running my experiment locally works just fine but when I want to upload to Pavlovia, I keep getting this error:

Error

Unfortunately we encountered the following error:

** when setting the image of ImageStim: image_stim*
** when getting the value of resource: default.png*
** unknown resource*

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

Using this template: demos / OpenIAT · GitLab. I adjusted my own stimuli. I have looked everywhere in my files and Excel files to check if there’s a ‘‘default.png’’ but I cant find it. Therefore I cant run the experiment online.

What version of PsychoPy are you using?

v.2024.2.4 on MacBook M1, 2020

v.2024.2.4 on MacBook M1, 2020

I would have expected that to work, but try putting this file in the same folder as your experiment.

So what I did:

  • I save the default.png.
  • Put this in the general experiment folder
  • Open experiment in PsychoPy
  • Sync with Pavlovia
  • Open Pavlovia.
  • Already in Pilot mode
  • Press ‘‘Pilot’’.
  • Then I get the same result.
    Not sure if you can check my repository on Gitlab to see all my files: Project ID: 462637

I don’t have access to your repository – only ones I’ve been added to or ones that are public.

just made it public. ID: 462637. This is my first time working in PsychoPy/Python/Pavlovia

IT WORKED! I deleted Output path (it was ‘html/resources’) and the whole html folder. Put the experiment on Inactive, then Pilot, and it totally works. Have been struggling this whole day so MANY thanks!

1 Like