TypeError: unsupported operand type(s) for /: 'tuple' and 'int'

This is to do with the mouse code, not the rating scale. Searching for error messages is a good place to start when looking for help: