(Python310) C:\Users\Lab_Computer\Python310\Scripts>runmanager
2023-02-07 09:35:30,778 INFO runmanager:
===============starting===============
2023-02-07 09:35:30,818 ERROR runmanager: Got an exception:
Traceback (most recent call last):
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zprocess\security.py", line 349, in instance
return cls._instances[cls, shared_secret]
File "C:\Program Files\Python310\lib\weakref.py", line 137, in __getitem__
o = self.data[key]()
KeyError: (<class 'labscript_utils.ls_zprocess.Context'>, 'UPHYSrNufJtuKTPmjJ45rPt0nkGAmGG1KuCKgWpOA/DdcLrBe8mbxpWDsAa8zKRFa5oAGKRN8eUT078L6BsuDQ==')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Lab_Computer\Python310\lib\site-packages\runmanager\__main__.py", line 3706, in <module>
app = RunManager()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\runmanager\__main__.py", line 1375, in __init__
self.output_box = OutputBox(self.ui.verticalLayout_output_tab)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\labscript_utils\qtwidgets\outputbox.py", line 23, in __init__
context = Context.instance()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\labscript_utils\ls_zprocess.py", line 249, in instance
return super(Context, cls).instance(shared_secret=config['shared_secret'])
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zprocess\security.py", line 351, in instance
instance = cls(io_threads, shared_secret=shared_secret)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\labscript_utils\ls_zprocess.py", line 241, in __init__
SecureContext.__init__(
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zprocess\security.py", line 335, in __init__
auth.start()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\auth\thread.py", line 107, in start
super().start()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\auth\base.py", line 82, in start
self.zap_socket = self.context.socket(zmq.REP, socket_class=zmq.Socket)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\labscript_utils\ls_zprocess.py", line 254, in socket
return SecureContext.socket(self, *args, **kwargs)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\sugar\context.py", line 361, in socket
s: ST = socket_class( # set PYTHONTRACEMALLOC=2 to get the calling frame
TypeError: Socket.__init__() got an unexpected keyword argument 'allow_insecure'
Traceback (most recent call last):
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zprocess\security.py", line 349, in instance
return cls._instances[cls, shared_secret]
File "C:\Program Files\Python310\lib\weakref.py", line 137, in __getitem__
o = self.data[key]()
KeyError: (<class 'labscript_utils.ls_zprocess.Context'>, 'UPHYSrNufJtuKTPmjJ45rPt0nkGAmGG1KuCKgWpOA/DdcLrBe8mbxpWDsAa8zKRFa5oAGKRN8eUT078L6BsuDQ==')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Lab_Computer\Python310\lib\site-packages\runmanager\__main__.py", line 3706, in <module>
app = RunManager()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\runmanager\__main__.py", line 1375, in __init__
self.output_box = OutputBox(self.ui.verticalLayout_output_tab)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\labscript_utils\qtwidgets\outputbox.py", line 23, in __init__
context = Context.instance()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\labscript_utils\ls_zprocess.py", line 249, in instance
return super(Context, cls).instance(shared_secret=config['shared_secret'])
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zprocess\security.py", line 351, in instance
instance = cls(io_threads, shared_secret=shared_secret)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\labscript_utils\ls_zprocess.py", line 241, in __init__
SecureContext.__init__(
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zprocess\security.py", line 335, in __init__
auth.start()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\auth\thread.py", line 107, in start
super().start()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\auth\base.py", line 82, in start
Exception in thread Thread-1:
Traceback (most recent call last):
self.zap_socket = self.context.socket(zmq.REP, socket_class=zmq.Socket)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\asyncio.py", line 49, in _get_selector_windows
File "C:\Users\Lab_Computer\Python310\lib\site-packages\labscript_utils\ls_zprocess.py", line 254, in socket
from tornado.platform.asyncio import AddThreadSelectorEventLoop
return SecureContext.socket(self, *args, **kwargs)
ImportError: cannot import name 'AddThreadSelectorEventLoop' from 'tornado.platform.asyncio' (C:\Users\Lab_Computer\Python310\lib\site-packages\tornado\platform\asyncio.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\sugar\context.py", line 361, in socket
File "C:\Program Files\Python310\lib\threading.py", line 1016, in _bootstrap_inner
s: ST = socket_class( # set PYTHONTRACEMALLOC=2 to get the calling frame
TypeError: Socket.__init__() got an unexpected keyword argument 'allow_insecure'
self.run()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\auth\thread.py", line 47, in run
loop.run_until_complete(self._run())
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\auth\thread.py", line 62, in _run
events = dict(await self.poller.poll())
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\_future.py", line 128, in poll
socket._add_recv_event('poll', future=watcher)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\_future.py", line 493, in _add_recv_event
self._add_io_state(POLLIN)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\_future.py", line 666, in _add_io_state
self._update_handler(self._state)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\_future.py", line 682, in _update_handler
self._get_loop()
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\_future.py", line 62, in _get_loop
self._init_io_state(self._current_loop)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\asyncio.py", line 147, in _init_io_state
self._get_selector(io_loop).add_reader(
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\asyncio.py", line 143, in _get_selector
return _get_selector(io_loop)
File "C:\Users\Lab_Computer\Python310\lib\site-packages\zmq\asyncio.py", line 51, in _get_selector_windows
raise RuntimeError(
RuntimeError: Proactor event loop does not implement add_reader family of methods required for zmq. zmq will work with proactor if tornado >= 6.1 can be found. Use `asyncio.set_event_loop_policy(WindowsSelectorEventLoopPolicy())` or install 'tornado>=6.1' to avoid this error.