mERROR:tornado.application:Uncaught exception GET /python (::1)
HTTPServerRequest(protocol='http', host='localhost:3004', method='GET', uri='/python', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tornado/websocket.py", line 954, in _accept_connection
open_result = handler.open(*handler.open_args, **handler.open_kwargs)
File "/Users/tielan/workspace/Monaco-python-lsp/python-server/langserver_ext.py", line 22, in open
proc = process.Subprocess(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tornado/process.py", line 240, in __init__
self.proc = subprocess.Popen(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 1842, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pyls'
ERROR:tornado.application:Uncaught exception GET /python (::1)
HTTPServerRequest(protocol='http', host='localhost:3004', method='GET', uri='/python', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tornado/websocket.py", line 954, in _accept_connection
open_result = handler.open(*handler.open_args, **handler.open_kwargs)
File "/Users/tielan/workspace/Monaco-python-lsp/python-server/langserver_ext.py", line 22, in open
proc = process.Subprocess(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tornado/process.py", line 240, in __init__
self.proc = subprocess.Popen(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 1842, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pyls'
^CTraceback (most recent call last):
File "/Users/tielan/workspace/Monaco-python-lsp/python-server/langserver_ext.py", line 56, in <module>
ioloop.IOLoop.current().start()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tornado/platform/asyncio.py", line 199, in start
self.asyncio_loop.run_forever()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 595, in run_forever
self._run_once()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 1845, in _run_once
event_list = self._selector.select(timeout)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/selectors.py", line 562, in select
kev_list = self._selector.control(None, max_ev, timeout)
KeyboardInterrupt