psychopy.org | Reference | Downloads | Github

Zero division error in Tobii Calibration of iohub

Zero division error in Tobii Calibration of iohub.

The tracker seems work and communicate properly, when I run it with PsychoPy installed in opt/local~ directory, (OS X default Python dir).

However, The error messages like below shown.

<type 'exceptions.ZeroDivisionError'>
ZeroDivisionError('float division by zero',)
['  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py", line 690, in drawCalibrationTarget\n    self.moveTarget(spos,tp,TARG_VELOCITY)\n',
 '  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py", line 584, in moveTarget\n    num_retraces=sec_dur/self._eyetrackerinterface._display_device.getRetraceInterval()\n',
 '  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/iohub/devices/display/__init__.py", line 206, in getRetraceInterval\n    return (1000.0/self.getConfiguration()[\'runtime_info\'][\'retrace_rate\'])*0.001\n']
<type 'exceptions.ZeroDivisionError'>
ZeroDivisionError('float division by zero',)
['  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py", line 690, in drawCalibrationTarget\n    self.moveTarget(spos,tp,TARG_VELOCITY)\n',
 '  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py", line 584, in moveTarget\n    num_retraces=sec_dur/self._eyetrackerinterface._display_device.getRetraceInterval()\n',
 '  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/iohub/devices/display/__init__.py", line 206, in getRetraceInterval\n    return (1000.0/self.getConfiguration()[\'runtime_info\'][\'retrace_rate\'])*0.001\n']
<type 'exceptions.ZeroDivisionError'>
ZeroDivisionError('float division by zero',)
['  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py", line 690, in drawCalibrationTarget\n    self.moveTarget(spos,tp,TARG_VELOCITY)\n',
 '  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/iohub/devices/eyetracker/hw/tobii/tobiiCalibrationGraphics.py", line 584, in moveTarget\n    num_retraces=sec_dur/self._eyetrackerinterface._display_device.getRetraceInterval()\n',
 '  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/iohub/devices/display/__init__.py", line 206, in getRetraceInterval\n    return (1000.0/self.getConfiguration()[\'runtime_info\'][\'retrace_rate\'])*0.001\n']
ioHub Server Process Completed With Code:  0