I am currently working on an experiment with a group of people. I created a Psychopy survey in version 1.86.2 on a Windows computer. The survey has a story image presented and after each story image the participant answers 2 questions about the story. The survey works on my computer.
However, on 2 MAC computers using version 1.85.6 the survey does not work and when it runs you are able to get to the image, but then when it goes to the rating scale you get this error message
Running: /Users/andrea/Code/punishment experiment test with correct loop_lastrun.py
pyo version 0.8.6 (uses single precision)
2018-02-02 13:33:54.574 python[5244:366543] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
Traceback (most recent call last):
File “/Users/andrea/Code/punishment experiment test with correct loop_lastrun.py”, line 312, in
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/visual/window.py”, line 646, in flip
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/visual/ratingscale.py”, line 1135, in draw
mouseX, mouseY = self.myMouse.getPos() # norm units
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/event.py”, line 499, in getPos
lastPosPix = lastPosPix - self.win.size / 2
TypeError: unsupported operand type(s) for /: ‘tuple’ and ‘int’
If anyone has any idea how to resolve this issue it would be greatly appreciated!