Error Starting ioHub server

Hi,
I have issues setting up a simple eyetracker experiment as the ioHub Server won’t start. I am working on Windows 7, 64bit, with the latest version of Psychopy 3 and Python 3.6.
When running the command:

io=launchHubServer(**config_file)
(where config_file is a python dictionary with the config specifications)

the program crashes with the following error:

Traceback (most recent call last):
  File "C:\Users\lscpuser\Desktop\manybabies1-psychopy-master\manybabies1_et.py", line 216, in <module>
    io=launchHubServer(**io_config)
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\iohub\lazy_import.py", line 278, in __call__
    return obj(*args, **kwargs)
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\iohub\client\connect.py", line 262, in launchHubServer
    return ioHubConnection(iohub_config)
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\iohub\client\__init__.py", line 295, in __init__
    raise RuntimeError('Error starting ioHub server')
RuntimeError: Error starting ioHub server
ioHub Server Process Completed With Code:  1

I have tried to print self.iohub_status, which simply returns ioHub startup failed. with no further text: this does not correspond to any line within the init.py file, so I am not sure of where the error might be coming from.

On the other hand, this does not happen when instead the command is called without any keyword argument, as in:

io=launchHubServer()

But in this way, the configuration file is the default one, and thus I am unable to run my experiment:

{'monitor_devices': [{'Display': {'override_using_psycho_settings': False}}, {'Experiment': {}}, {'Keyboard': {}}, {'Mouse': {}}], 'global_event_buffer': 2048, 'udp_port': 9034, 'windows_msgpump_interval': 0.001, 'data_store': {'enable': False, 'filename': 'events', 'multiple_experiments': False, 'flush_interval': 32}, 'log_raw_kb_mouse_events': False, 'coverage_env_var': 'None'}

Any idea of how I could solve this?
Many thanks in advance.

Hi everyone,
I am trying to code my first experiment using eyetracking and iohub, and I have a similar problem. I am using Eyelink 1000 plus and windows 10 (64bits), with psychopy v3.2.4 (standalone for windows).
I have just tried with the simple code:

from psychopy.iohub import launchHubServer
from psychopy.core import getTime, wait

iohub_config = {'eyetracker.hw.sr_research.eyelink.EyeTracker':
    {'name':'tracker',
    'model_name':'EYELINK 1000 DESKTOP',
    'networks_settings': '100.1.1.2',
    'runtime_settings':{'sampling_rate':500,
                        'track_eyes':'right'}
                        }}
    
io = launchHubServer(**iohub_config)
tracker = io.devices.tracker
t=tracker.runSetupProcedure()

And I got the following error message:

##### Running: C:\Users\Laure\Dropbox\supportFed\Garance_Francoise_Raphael\test_iohub_connection.py #####
Traceback (most recent call last):
  File "C:\Users\Laure\Dropbox\supportFed\Garance_Francoise_Raphael\test_iohub_connection.py", line 13, in <module>
    io = launchHubServer(**iohub_config)
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\contrib\lazy_import.py", line 120, in __call__
    return obj(*args, **kwargs)
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\iohub\client\connect.py", line 262, in launchHubServer
    return ioHubConnection(iohub_config)
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\iohub\client\__init__.py", line 296, in __init__
    raise RuntimeError('Error starting ioHub server')
RuntimeError: Error starting ioHub server
ioHub Server Process Completed With Code:  1

I have the same error message when I run ioHub selectTracker demo. But iohub demos using keyboard works, and sr-research demo using pylink also works.

Any idea what is happening and how to fix it ?
Many thx

Dear Chiara,
I don’t know if you still need help on that but just for you to know, I am talking with Sol regarding this issue here: Nothing happens after calling runSetupProcedure()
Laure