I’m trying to add a slider component to an existing online experiment that was made previously in Builder. When I try to convert to HTML, the script doesn’t compile and Runner gives me this error “User\AppData\Roaming\psychopy3\versions\psychopy\experiment\components\slider_init_.py”, line 246, in
format(sliderStyles[style]) for style in inits[‘styles’].val])
KeyError: ‘r’"
I have tried selecting other slider styles in the drop down list and the same error shows up with the KeyError being the first letter of whichever style I selected in Builder.
It also does give me this warning
“3.7760 WARNING Parameter ‘styleTweaks’ is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.”
Any idea about what’s gone wrong here?
I’m using PsychoPy v2021.2.3 on Win10 - is this the wrong version to use with sliders?
I realized where I went wrong. I set my experiment to run using an older version of PsychoPy inside experiment settings and forgot. I set it to the most current version and everything worked smoothly!