psychopy.org | Reference | Downloads | Github

Excel spreadsheet failing when loading experiment online

Description of the problem:
My experiment loads online however when it reaches the point where it must interpret files through an excel spreadsheet created in order to randomise all my stimuli I receive the following message:

Unfortunately we encountered the following error:

  • when importing condition: html/resources/ImageStimuli.xlsx
  • when getting the value of resource: html/resources/ImageStimuli.xlsx
  • unknown resource

Any suggestions on how I can fix this so my experiment will run smoothly?
It runs perfectly fine on my builder but once uploading onto Pavlovia I repeatedly receive this message.

Please note that my file is in my resource folder along with copies of all stimuli I saw someone suggest this previously however this did not work for me.

Any help would be appreciated!
Thank you.

Hi there, I’m having a very similar issue with looping multiple videos randomised using an excel spreadsheet. My error message says:

Unfortunately we encountered the following error:

  • when setting the movie of MovieStim: stimuli
  • when getting the value of resource: ADFES-BIV_stills\M03-Disgust-low.mp4
  • unknown resource

It runs fine in the psychopy builder and the videos work when not using an excel file to loop the conditions. Let me know if you work this out!

Are you specifying the location html/resources? Please could you show the component or code that looks for the file? I’m just wondering whether it’s looking in html/resources/html/resources/

@ljm943 Have you checked that the mp4 files are also in html/resources/ADFES-BIV_stills ?

Best wishes,

Wakefield

I fixed the problem and the videos are all working fine with the excel file. I feel about 80% sure that it was just a small typo in my excel conditions file.
Thank you so much for your prompt response!