Skip to content

Error in Jedi Language Server breaks all of the language server functionality #1532

@DonJayamanne

Description

@DonJayamanne

Here's the error:
jedi.api.exceptions.InternalError: The subprocess C:\msys64\usr\bin\python3.6.exe has crashed.

  • As a result of the above error, there's no intellisense, code navigation, etc
  • Why is the language server using mysys instead of the interpreter defined in the python.pythonPath of settings.json?

Here's the stack trace:

 File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\syntax_tree.py", line 208, in eval_atom search_global=True File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\_compatibility.py", line 264, in <lambda> return lambda *args, **kwargs: self.func(obj, *args, **kwargs) File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\base_context.py", line 156, in py__getattribute__ return f.find(filters, attribute_lookup=not search_global) File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\debug.py", line 79, in wrapper return func(*args, **kwargs) File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\finder.py", line 56, in find names = self.filter_name(filters) File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\finder.py", line 141, in filter_name for filter in filters: File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\filters.py", line 514, in get_global_filters for filter in evaluator.builtins_module.get_filters(search_global=True): File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\cache.py", line 40, in wrapper rv = function(obj, *args, **kwargs) File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\__init__.py", line 115, in builtins_module return compiled.get_special_object(self, u'BUILTINS') File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\compiled\__init__.py", line 27, in get_special_object evaluator.compiled_subprocess.get_special_object(identifier) File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\compiled\subprocess\__init__.py", line 93, in wrapper kwargs=kwargs, File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\compiled\subprocess\__init__.py", line 158, in run return self._send(id(evaluator), function, args, kwargs) File "C:\Users\dojayama.REDMOND\.vscode-insiders\extensions\pythonVSCode\pythonFiles\jedi\evaluate\compiled\subprocess\__init__.py", line 205, in _send raise InternalError("The subprocess has crashed." % self._executable) jedi.api.exceptions.InternalError: The subprocess C:\msys64\usr\bin\python3.6.exe has crashed. 

Metadata

Metadata

Assignees

Labels

area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions