I am trying to use iohub to communicate with Tobii eye tracker in OS X.
Unfortunately, during trial-and-error, I found that iohub itself doesn’t work properly.
Delaytest demo also shows an error message.
( I tried to go accessibility, and allow app to control the computer, but it didn’t work at all.)
“raise RuntimeError(“Error starting ioHub server: %s”%(self.iohub_status))”
I also tested iohub selectTracker in other computer with TOBII SDK 3.1.0, and got below error. PsychoPy 1.84.1, and OSX 10.7.8.
/var/folders/y4/wxm_rz8j48q7pxf8rnwgdpzm0000gn/T/org.psychopy.PsychoPy2.savedState
WARNING: ioHub DataStore could not be loaded. DataStore functionality will be disabled. Error:
<type ‘exceptions.ImportError’>
ImportError(‘dlopen(/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/tables/utilsextension.so, 2): Symbol not found: ___exp10\n Referenced from: /Applications/PsychoPy2.app/Contents/MacOS/…/Frameworks/libhdf5.10.dylib\n Expected in: /usr/lib/libSystem.B.dylib\n in /Applications/PsychoPy2.app/Contents/MacOS/…/Frameworks/libhdf5.10.dylib’,)
[’ File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/iohub/init.py”, line 69, in \n import datastore\n’,
’ File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/iohub/datastore/init.py”, line 16, in \n import tables\n’,
’ File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/tables/init.py”, line 82, in \n from tables.utilsextension import (\n’]
2016-09-29 15:11:39.445 python[9344:507] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/y4/wxm_rz8j48q7pxf8rnwgdpzm0000gn/T/org.psychopy.PsychoPy2.savedState
WARNING: ioHub DataStore could not be loaded. DataStore functionality will be disabled. Error:
<type ‘exceptions.ImportError’>
ImportError(‘dlopen(/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/tables/utilsextension.so, 2): Symbol not found: ___exp10\n Referenced from: /Applications/PsychoPy2.app/Contents/MacOS/…/Frameworks/libhdf5.10.dylib\n Expected in: /usr/lib/libSystem.B.dylib\n in /Applications/PsychoPy2.app/Contents/MacOS/…/Frameworks/libhdf5.10.dylib’,)
[’ File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/iohub/init.py”, line 69, in \n import datastore\n’,
’ File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/iohub/datastore/init.py”, line 16, in \n import tables\n’,
’ File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/tables/init.py”, line 82, in \n from tables.utilsextension import (\n’]
Fatal Python error: Interpreter not initialized (version mismatch?)
Traceback (most recent call last):
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/demos/coder/iohub/eyetracking/selectTracker/run.py”, line 284, in
main(configurationDirectory)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/demos/coder/iohub/eyetracking/selectTracker/run.py”, line 273, in main
runtime=ExperimentRuntime(configurationDirectory, “experiment_config.yaml”)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/iohub/client/init.py”, line 1603, in init
self.hub = self._initalizeConfiguration()
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/iohub/client/init.py”, line 1855, in _initalizeConfiguration
self.hub = ioHubConnection(None, ioHubConfigAbsPath)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/iohub/client/init.py”, line 287, in init
raise RuntimeError(“Error starting ioHub server: %s”%(self.iohub_status))
RuntimeError: Error starting ioHub server: ioHub startup timed out. iohub Server startup Failed. startup_read:
and tested different machine with 10.9, and got same error…