Crashing when typing response

OS : MacOS 10.13.6
PsychoPy version : 2021.1.4
Standard Standalone? (y/n) If not then what?: not sure what this means
What are you trying to achieve?:
My experiment requires participants to record a Likert Scale value (1-7) in response to a stimulus presented.

What did you try to make it work?:
Using the keyboard response component, I have added keys 1-7 to be allowed once the question is presented.
Screen Shot 2021-07-14 at 11.54.33 PM

What specifically went wrong when you tried that?:
When the experiment is running, the question shows up, but as soon as one of the allowed keys is pressed, it crashes. This is what the error message says:

“FrustrationRating_resp.keys == str(‘1’,‘2’,‘3’,‘4’,‘5’,‘6’,‘7’)) or (FrustrationRating_resp.keys == ‘1’,‘2’,‘3’,‘4’,‘5’,‘6’,‘7’):
TypeError: str() takes at most 3 arguments (7 given)”

I have tried added different keyboard response components so each only has 3 keys instead of 7, but the same message shows up.

Would greatly appreciate any help in how to resolve this! This seems so bizarre…

Hi There,

This is interesting! as a first step - do you need the allowed keys field to be “set every repeat”? what happens if you set that to constant?