Skip to content

Instantly share code, notes, and snippets.

@mcepl
Created September 7, 2019 09:37
Show Gist options
  • Save mcepl/63796fd902bb5fcbd00f4349d1ebb38e to your computer and use it in GitHub Desktop.
Save mcepl/63796fd902bb5fcbd00f4349d1ebb38e to your computer and use it in GitHub Desktop.
2019-09-07 11:36:40,519 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'autopep8': No module named 'autopep8'
2019-09-07 11:36:40,524 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'mccabe': No module named 'mccabe'
2019-09-07 11:36:40,525 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'pycodestyle': No module named 'pycodestyle'
2019-09-07 11:36:40,526 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'pydocstyle': No module named 'pydocstyle'
2019-09-07 11:36:40,527 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'pyflakes': No module named 'pyflakes'
2019-09-07 11:36:40,528 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'pylint': No module named 'pylint'
2019-09-07 11:36:40,529 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'rope_completion': No module named 'rope'
2019-09-07 11:36:40,529 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'rope_rename': No module named 'rope'
2019-09-07 11:36:40,530 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'yapf': No module named 'yapf'
2019-09-07 11:36:47,097 UTC - ERROR - pyls_jsonrpc.endpoint - Failed to handle request 1
Traceback (most recent call last):
File "/home/matej/.local/lib/python3.7/site-packages/pyls_jsonrpc/endpoint.py", line 113, in consume
self._handle_request(message['id'], message['method'], message.get('params'))
File "/home/matej/.local/lib/python3.7/site-packages/pyls_jsonrpc/endpoint.py", line 182, in _handle_request
handler_result = handler(params)
File "/home/matej/.local/lib/python3.7/site-packages/pyls_jsonrpc/dispatchers.py", line 23, in handler
return method(**(params or {}))
File "/home/matej/.local/lib/python3.7/site-packages/pyls/python_ls.py", line 298, in m_text_document__definition
return self.definitions(textDocument['uri'], position)
TypeError: 'NoneType' object is not subscriptable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment