When finding a player for the sound: could not find an appropriate player

Hi All,
I’m having trouble presenting these wav files in Pavlovia. When I run it I get this error:
“”"
Unfortunately we encountered the following error:

  • when finding a player for the sound
  • could not find an appropriate player.

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

This is the experiment URL: jury_psychopypsyexp-2 [PsychoPy]

I have tried resampling the sounds and that did not change the error message. I have tested and the wav file do play normally in my browser if I drag and drop them in. I have another experiment with very similar code and the wav files play just fine: PoliceSocialWorker (1) [PsychoPy].

If you have any ideas, please let me know. If anyone wants to look at the code, let me know.

I have fixed this.

The problem was that in our excel files, we had the column title as “sound”, and that is the name of a class in pavlovia, so instead of finding the sound file, it found the object, and couldn’t play the files. I renamed that in excel to soundfile and it worked. I also had to rename the value field in “sound_2” to soundfile (in where it calls it in the routine, not when it declares the variable before running anything).

Don’t name you columns “sound”