Skip to content

remote ssh but 'python extension loading' forever #9093

Closed
@PeterJaq

Description

@PeterJaq

Environment data

  • VS Code version: 1.41.0 (but not only on this version)
  • Extension version (available under the Extensions sidebar): 2019.11.50794
  • OS and version: Windows 10 1909
  • Python version (& distribution if applicable, e.g. Anaconda): Anaconda Python 3.7
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): MircoSoft Language Server

Expected behaviour

Vscode connect to python extension which on remote server

Actual behaviour

python loading extension forever

image

Logs

User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'AA_testing - experiment'
> 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)"
> ~/.conda/envs/hmm-ml/bin/python -c "import sys;print(sys.executable)"
> conda info --json
> conda env list
> conda env list
Starting Microsoft Python language server.

Output from Console under the Developer Tools panel :

[Extension Host] Info Python Extension: 2019-12-13 10:28:03: Rule = settings, result = runNextRule
console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: Executing next rule from settings
console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: Rule = workspaceEnvs, result = runNextRule
console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: Executing next rule from workspaceEnvs
console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: Cached data exists getEnvironmentVariables, extension-output-#2
console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: Cached data exists getEnvironmentVariables, extension-output-#1
console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: Cached data exists getEnvironmentVariables, tasks
console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: autoSelectInterpreter, Class name = f, completed in 11ms, Arg 1: <Uri:tasks>, Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: Get Interpreters in CacheableLocatorService, Class name = g, completed in 10ms, Arg 1: <Uri:tasks>, Return Value: []
2console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: autoSelectInterpreter, Class name = f, completed in 11ms, Arg 1: <Uri:tasks>, Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: Checking support of .NET, Class name = c, completed in 2ms, , Return Value: true
console.ts:137 [Extension Host] Info Python Extension: 2019-12-13 10:28:03: Build the workspace interpreter watcher, Class name = h, completed in 3ms, Arg 1: <Uri:tasks>, Return Value: <Return value cannot be serialized for logging>
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] reconnected!
log.ts:196   ERR Object has been destroyed: Error: Object has been destroyed
    at WebContents.send (D:\Microsoft VS Code\resources\electron.asar\browser\api\web-contents.js:102:17)
    at IpcMain.<anonymous> (D:\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:502:823)
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] waiting for 5 seconds before reconnecting...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] resolving connection...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] connecting to 127.0.0.1:50704...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] reconnected!
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] waiting for 5 seconds before reconnecting...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] resolving connection...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] connecting to 127.0.0.1:50704...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] reconnected!
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] waiting for 5 seconds before reconnecting...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] resolving connection...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] connecting to 127.0.0.1:50704...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] reconnected!
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] waiting for 5 seconds before reconnecting...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] resolving connection...
log.ts:184  INFO [remote-connection][ExtensionHost][3a85d…][reconnect] connecting to 127.0.0.1:50704...

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions