PRL used to work and now it crashes on PsychoPy due to audio problems and not being able to retrieve interstimulus image

I am trying to fix the audio and ISI_image_load error, so I can run the PRL task locally using PsychoPy.

The probabilistic reversal learning (PRL) task used to work locally on the study computer. It was slow to open, but no other problems. The task has been working for three years on this computer with the same audio set up and all.

One day, I tried using it with a participant, and it started crashing.

I would press ‘run’ to start running the task, a black screen would appear as it were loading the instructions, and then the task would crash.

There are two reasons for the crash:

  1. Image was set to update during ISI_load_images Static Component, but that component no longer exists

C:\Program Files\PsychoPy2022-2-4\lib\site-packages\openpyxl\worksheet\_reader.py:312: UserWarning: Unknown extension is not supported and will be removed

  1. Desired audio parameters for device -1 unsupported by audio device: Invalid sample rate

Traceback (most recent call last):

PTB-ERROR: Seems the requested audio sample rate 44100.000000 Hz is not supported by this combo of hardware and sound driver.

I have tried changing the audio parameters a few times since the audio error but it is still not working.

Hello

The error message tells you that your sound files are sampled with a sampling rate that is incompatible with your hardware and sound driver.You must resample your sound files.

The other error indicates a read error from your condition file. openpyxl is a Python-library used to read and write Excel-files. There seems to be a file-extension problem.

Best wishes Jens

Do you have a static component called ISI_load_images ?

1 Like