Closed
Description
Environment data
- VS Code version: 1.25.0
- Extension version (available under the Extensions sidebar): 2018.6.0
- OS and version: Arch Linux
- Python version (& distribution if applicable, e.g. Anaconda): 2.7.14
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pipenv
- Relevant/affected Python packages and their versions: *
Actual behavior
Extremely high CPU usage and no completions. Eventually an error is shown by VS Code informing me the server has crashed too many times and won't be restarted.
Expected behavior
Provide working completions while not launching my laptop into orbit.
Steps to reproduce:
- Enable the Python Analysis Engine
- Wait
- Boom
Logs
Output for Python
in the Output
panel (View
βOutput
, change the drop-down the upper-right of the Output
panel to Python
)
Starting the analysis engine.
[Info - 12:52:20 PM] Created Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter instance from Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory
Initializing for /home/daenney/.local/share/virtualenvs/gimme-IW0Pxo7A/bin/python
Loading files from /home/daenney/Development/personal/gimme
##########Linting Output - flake8##########
Process is terminating due to StackOverflowException.
[Info - 12:52:24 PM] Connection to server got closed. Server will restart.
[Info - 12:52:25 PM] Created Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter instance from Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory
Initializing for /home/daenney/.local/share/virtualenvs/gimme-IW0Pxo7A/bin/python
Loading files from /home/daenney/Development/personal/gimme
Process is terminating due to StackOverflowException.
[Info - 12:52:27 PM] Connection to server got closed. Server will restart.
[Info - 12:52:28 PM] Created Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter instance from Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory
Initializing for /home/daenney/.local/share/virtualenvs/gimme-IW0Pxo7A/bin/python
Loading files from /home/daenney/Development/personal/gimme
Process is terminating due to StackOverflowException.
[Info - 12:52:30 PM] Connection to server got closed. Server will restart.
[Info - 12:52:31 PM] Created Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter instance from Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory
Initializing for /home/daenney/.local/share/virtualenvs/gimme-IW0Pxo7A/bin/python
Loading files from /home/daenney/Development/personal/gimme
Process is terminating due to StackOverflowException.
[Info - 12:52:33 PM] Connection to server got closed. Server will restart.
[Info - 12:52:34 PM] Created Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter instance from Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory
Initializing for /home/daenney/.local/share/virtualenvs/gimme-IW0Pxo7A/bin/python
Loading files from /home/daenney/Development/personal/gimme
Process is terminating due to StackOverflowException.
[Error - 12:52:36 PM] Connection to server got closed. Server will not be restarted.
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
)
TMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///opt/visual-studio-code/resources/app/extensions/yaml/syntaxes/yaml.tmLanguage.json.
New grammar file: file:///home/daenney/.vscode/extensions/redhat.vscode-yaml-0.0.13/syntaxes/yaml.tmLanguage.json
e.register @ TMSyntax.ts:47
console.ts:136 [Extension Host] vscode-icons is active!
notificationsAlerts.ts:42 The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted.