Error in downloading audio file

URL of experiment: expe_inventiveness_english [PsychoPy]

Description of the problem: Some participants have reported an error when attempting to run the experiment:

"Unfortunately we encountered the following error:

when downloading resources for experiment: expe_inv_eng
unable to download resource: Sounds/7_62_Score7_Change.wav (4)
Try to run the experiment again. If the error persists, contact the experiment designer."

The primary concern is the appended (4) at the end of the file name. It seems as if repeatedly restarting the experiment results in a uniquely named file download. However, other participants completed the experiment without encountering this specific error. All required audio files have been specified under “Additional Resources” in the “Online” tab of the Experiment Settings. The sole code component in the experiment is the randomization for which files are played during each trial.

Could this issue be related to browser-specific behavior (cache, history)? Is there a method to prevent this unique file naming upon download?

Thanks in advance :slight_smile:

I would like to share some possible solutions with you, but unfortunately, I am not sure why they work.

  1. Firstly, completely delete any files in your program folder that are related to online experiments but not relevant to local experiments (e.g., .git), and delete the experiment project on Pavlovia.
  2. Then, convert the .wav files to .mp3 format.
  3. After that, manually add all the necessary materials for the experiment in Properties-Online-Additional Resources.
  4. Finally, click on the ‘Run Experiment Online’ button.

Additionally, some participants have provided feedback that refreshing the page and clearing the cache resolved the error. This suggests that perhaps you are correct in assuming that it is a cache-related issue.