Experiment works locally but not online

OS: Win11
PsychoPy version: 2025.1.1
Standard Standalone Installation? (y/n): Y
URL of experiment: RLT_vAlcohol [PsychoPy]

resources.zip (7.9 MB)

Hi all,

I used PsychoPy Builder to create a reversal learning task. The task runs exactly as intended locally, displaying all the stimuli correctly, keyboard inputs are functional, data file looks good, etc. Once I was satisfied with it locally, I added a survey component and synced it to Pavlovia. I use the survey to determine the type of stimuli that appears, which works as intended, but the experimental part no longer works. For instance, a vertical and horizontal line should both be on the screen, but only the horizontal line appears in the online version. The keyboard inputs no longer work as well.

I was wondering if anyone had advice for what to do/try in this situation. I’ve included a link to the online version as well as files for the local version–the resources.zip includes the .psyexp file, the condition files (in the settings folder) and stimuli (in the stimuli folder).

Thanks in advance!

I can help with the lack of vertical line. There is a bug in the line stim online which means that only the first size parameter is used (but it still has to be a list with length 2).

Here is my demo of the issue.

To create a vertical line, rotate a horizontal line by 90 degrees. For comparison, this is what my demo looks like locally,

And this is online

For your keyboard issue, I notice you have set use version to 2025.1.1. It might be worth upgrading. You could also try removing the square brackets from Allowed Keys, but I haven’t checked that.

This worked, thank you so much!