Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Python Tools server crashed and intellicode can't work #1619

Closed

Description

@cloudhello

Environment data

  • Language Server version: Python-Language-Server-osx-x64.0.4.38
  • OS and version: macOS Mojave 10.14.6
  • Python version: Python 3.7.0 64-bit

Expected behaviour

python-language-server and intellicode can work

Actual behaviour

The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted.
And intellicode can not work.
never succeed I try following many times——Try deleting languageServer* folder under extension folder (use Open Extensions Folder command) so new bits get re-downloaded.

Logs

Acquiring model 'intellisense-members' for python
Querying IntelliCode service for available models.
Cached model is up to date.
vs-intellicode-python was passed a model: {"modelPath":"/Users/h/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.1.9/cache/88630A1B4C077752096ECAA576B92C7D3FA1_BC98A65409D042A99DDAF47DC30E1530","modelId":"88630A1B4C077752096ECAA576B92C7D3FA1","outputId":"BC98A65409D042A99DDAF47DC30E1530"}.
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'LS - enabled'
Starting Microsoft Python language server.
> conda --version
> pyenv root
> python3.7 -c "import sys;print(sys.executable)"
> python3.6 -c "import sys;print(sys.executable)"
> python3 -c "import sys;print(sys.executable)"
> python2 -c "import sys;print(sys.executable)"
> python -c "import sys;print(sys.executable)"
> /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -c "import sys;print(sys.executable)"
> conda info --json
> conda env list
> conda env list
Downloading https://pvsc.azureedge.net/python-language-server-stable/Python-Language-Server-osx-x64.0.4.38.nupkg...
Language server dowload complete
Unpacking archive... done
Failed to create CoreCLR, HRESULT: 0x80004005
[Info  - 11:52:24 PM] Connection to server got closed. Server will restart.
Failed to create CoreCLR, HRESULT: 0x80004005
[Info  - 11:52:24 PM] Connection to server got closed. Server will restart.
Failed to create CoreCLR, HRESULT: 0x80004005
[Info  - 11:52:24 PM] Connection to server got closed. Server will restart.
Failed to create CoreCLR, HRESULT: 0x80004005
[Info  - 11:52:24 PM] Connection to server got closed. Server will restart.
Failed to create CoreCLR, HRESULT: 0x80004005
[Error - 11:52:24 PM] Connection to server got closed. Server will not be restarted.
[2019-10-03 23:49:41.674] [exthost] [info] extension host started
[2019-10-03 23:49:41.687] [exthost] [info] ExtensionService#_doActivateExtension vscode.python {"startup":false,"activationEvent":"onLanguage:python"}
[2019-10-03 23:49:41.687] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/python/dist/pythonMain
[2019-10-03 23:49:41.689] [exthost] [info] ExtensionService#_doActivateExtension ms-python.python {"startup":false,"activationEvent":"onLanguage:python"}
[2019-10-03 23:49:41.690] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/h/.vscode/extensions/ms-python.python-2019.9.34911/out/client/extension
[2019-10-03 23:49:41.810] [exthost] [info] ExtensionService#_doActivateExtension VisualStudioExptTeam.vscodeintellicode {"startup":false,"activationEvent":"onLanguage:python"}
[2019-10-03 23:49:41.810] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/h/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.1.9/dist/intellicode
[2019-10-03 23:49:41.843] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"activationEvent":"*"}
[2019-10-03 23:49:41.843] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/debug-auto-launch/dist/extension
[2019-10-03 23:49:41.845] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":true,"activationEvent":"*"}
[2019-10-03 23:49:41.845] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/emmet/dist/extension
[2019-10-03 23:49:41.856] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"activationEvent":"*"}
[2019-10-03 23:49:41.856] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main
[2019-10-03 23:49:41.878] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":true,"activationEvent":"*"}
[2019-10-03 23:49:41.878] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/merge-conflict/dist/extension
[2019-10-03 23:49:41.881] [exthost] [info] eager extensions activated

Code Snippet / Additional lnformation

nothing

Activity

  1. jakebailey commented on Oct 3, 2019

    @jakebailey
    Member

    This is the same as #1595, then, though you aren't on WSL, but macOS. Closing as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions