I am working on an experiment with two sections. In the first, participants see a string and then copy it. In the second, participants see a string and press ‘G’ or ‘N’ before moving on to the next string. The experiment was working at first when I ran it, but it stopped working after I made some changes to the entries for participant information that shows up at the start of the experiment. I got an error message that I pasted below, but I am not sure what the ‘KeyError’ means. I understand the alerts about the editable textbox component and the keyboard component conflicting, but the experiment was working fine even with those alerts before, so I’m mostly trying to figure out what the KeyError is. Any help would be appreciated, thank you!
KeyError: ‘participant’
Alert 4405:Editable textbox component AResponse and keyboard component A_resp in the same routine may compete for keypresses
For further info see https://psychopy.org/alerts/4405.html
Alert 4405:Editable textbox component C_Response and keyboard component C_String_Proceed in the same routine may compete for keypresses
For further info see https://psychopy.org/alerts/4405.html
An editable textbox and a keyboard component in the same routine can work well so long as you are aware of the potential for conflict. For example you can use a keyboard component looking for return to end the routine.