I just cannot make the slider work!

This is what I get when I press + from component:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py”, 
line 3370, in onPluginBtnFile 
“/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/plugin_manager/dialog.py”, 
line 50, in initFile 
“/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/plugin_manager/plugins.py”, 
line 260, in initFile 
“/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/plugin_manager/plugins.py”, 
line 566, in initFile 
“/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/plugin_manager/plugins.py”, 
line 574, in populateFile 
“/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/plugin_manager/plugins.py”, 
line 1326, in getAllPluginDetailsFile 
“/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/plugin_manager/packageIndex.py”, 
line 211, in getPluginPackagesTypeError: ‘NoneType’ object is not subscriptable

I also just want the slider to work. I just cannot get the red button to appear when pressing on the slider. ANY HELP!

ps. im a student using this for the first time and have already tried A LOT

Hi Juliette,

The error “TypeError: ‘NoneType’ object is not subscriptable” in PsychoPy probably means a plugin manager bug—an internal variable is None when it shouldn’t be. Try restarting or reinstalling PsychoPy.

In terms of the slider without the red button, create a new experiment with just a slider. If this works, your original experiment might have conflicting components/code. Gradually add elements back to identify conflicts.

Hope this helps.

1 Like

Thank you for you help on the first error.

In regards to the slider, I have tried creating a new experiment and it still does not work. Any other ideas?

Hello @Juliette_Breda

What is not working? Do you get the same error message? Or do you get a different one?

untitled.psyexp (10.6 KB)

This little toy-experiment involves five repetitions, each of which presents a slider. A red button appears when a value is selected.

Best wishes Jens

I don’t think this error is related to the Slider itself, it looks like it’s the app failing to get a list of available plugins. Are you running the standalone app (i.e. installed from psychopy.org)? If so, what version of the app?

The error message is fixed (I just downloaded another version of PsychoPy). However, the problem with the slider is still there. When I download the untitled.psyexp it works. When I copy paste it where needed in my own experiment, it does not work. Any tips?

Hello @Juliette_Breda

Yes, tell us what doesn’t work. Same error as before? Hwo do you copy and paste untitled.psy in your experiment? Is this possible?

Best wishes Jens