| Reference | Downloads | Github

TypeError: unsupported operand type(s)

I make an experiment, where participants answer some questions using the keyboard. They should write a word or a word combination. The problem is that they do it in Russian so they have to use Cyrilic script. But PsychoPy can’t use it itself, so some people here have already helped me with coding. But it still doesn’t work and I’ve been triyng to find out why and tried many ways but nothing changed. The error is

Question.setText((Qst + '\n' + inputText), log=False)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

I wonder, what is wrong in my script and I would be grateful if someone look at it. I make the experiment in builder so the script is small.
exp.psyexp (31.0 KB)
exp.psyexp (31.0 KB)

This doesn’t provide any useable information for anyone to make any useful suggestions.

Read this blog post and try again:

1 Like

Thanks! I try to make my question more presice now.