Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't launch the server #38

Closed
SoundAsleep192 opened this issue May 7, 2020 · 2 comments
Closed

Can't launch the server #38

SoundAsleep192 opened this issue May 7, 2020 · 2 comments

Comments

@SoundAsleep192
Copy link

Hello everyone, could you please help me?
Im trying to run the server via py examples/langserver.py but it doesn't seem to work.
First there was the following error:
Traceback (most recent call last): File "C:/Users/79204/source/Talent Lab/python-jsonrpc-server/examples/langserver_ext.py", line 5, in <module> from tornado import ioloop, process, web, websocket ModuleNotFoundError: No module named 'tornado'

So I ran this command pip install python-language-server[all] tornado and now it gives me the following error:
Traceback (most recent call last): File "examples/langserver.py", line 74, in <module> app.listen(3000, address='127.0.0.1') File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\web.py", line 2116, in listen server.listen(port, address) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\tcpserver.py", line 152, in listen self.add_sockets(sockets) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\tcpserver.py", line 165, in add_sockets self._handlers[sock.fileno()] = add_accept_handler( File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\netutil.py", line 279, in add_accept_handler io_loop.add_handler(sock, accept_handler, IOLoop.READ) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\platform\asyncio.py", line 100, in add_handler self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader raise NotImplementedError NotImplementedError

I can't get it fixed since I don't know python, but I really need to set up a python language server for monaco editor :)
Looking forward for your help

@bnavigator
Copy link
Contributor

Looks like the same problem as #41

@ccordoba12
Copy link
Contributor

Closing as a duplicate then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants