TypeError: cannot unpack non-iterable NoneType object
I've set an experiment requiring participants to respond to a stimulus by clicking on one of two on-screen button (regions).
The program crashes if there's no response after some seconds, although I;ve programmed no timeout. The error shown is: TypeError: cannot unpack non-iterable NoneType object.
The crash happens in both MacOs and Win10.
I've uploaded the script,