Python-language-server: The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted.

Created on 1 Aug 2019  Â·  5Comments  Â·  Source: microsoft/python-language-server

I'm posting this again because it doesn't seem relevant to the prior issues. I'm also getting the error message: "The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted." But i'm not on Linux and it just started a week or so ago. Open any python file and the server crashes out.

Environment data

  • VS Code version: 1.36.1
  • Extension version (available under the Extensions sidebar): 2019.6.24221
  • OS and version: Windows_NT x64 10.0.17763
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: pywin32?
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info microsoft/vscode-python#3977): "python.jediEnabled": false

Expected behaviour

Open python file and the Python Language server runs

Actual behaviour

Open python file and the Python Language server provides error message: "The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted."

Steps to reproduce:

  1. Open VSCode
  2. Open Python file
  3. VSCode Status bar will show "Python extension loading..."
  4. Error message windows will

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

Starting Microsoft Python language server.
Error:
  An assembly specified in the application dependencies manifest (Microsoft.Python.LanguageServer.deps.json) was not found:
    package: 'runtime.win-x64.Microsoft.NETCore.App', version: '2.2.4'
    path: 'runtimes/win-x64/lib/netcoreapp2.2/System.Private.Uri.dll'
[Info  - 11:09:35 AM] Connection to server got closed. Server will restart.
Error:
  An assembly specified in the application dependencies manifest (Microsoft.Python.LanguageServer.deps.json) was not found:
    package: 'runtime.win-x64.Microsoft.NETCore.App', version: '2.2.4'
    path: 'runtimes/win-x64/lib/netcoreapp2.2/System.Private.Uri.dll'
[Info  - 11:09:35 AM] Connection to server got closed. Server will restart.
Error:
  An assembly specified in the application dependencies manifest (Microsoft.Python.LanguageServer.deps.json) was not found:
    package: 'runtime.win-x64.Microsoft.NETCore.App', version: '2.2.4'
    path: 'runtimes/win-x64/lib/netcoreapp2.2/System.Private.Uri.dll'
[Info  - 11:09:35 AM] Connection to server got closed. Server will restart.
Error:
  An assembly specified in the application dependencies manifest (Microsoft.Python.LanguageServer.deps.json) was not found:
    package: 'runtime.win-x64.Microsoft.NETCore.App', version: '2.2.4'
    path: 'runtimes/win-x64/lib/netcoreapp2.2/System.Private.Uri.dll'
[Info  - 11:09:35 AM] Connection to server got closed. Server will restart.
Error:
  An assembly specified in the application dependencies manifest (Microsoft.Python.LanguageServer.deps.json) was not found:
    package: 'runtime.win-x64.Microsoft.NETCore.App', version: '2.2.4'
    path: 'runtimes/win-x64/lib/netcoreapp2.2/System.Private.Uri.dll'
[Error - 11:09:35 AM] Connection to server got closed. Server will not be restarted.
##########Linting Output - pylint##########
************* Module run_igloo_model
4,0,error,import-error:Unable to import 'pywin32.client'
11,4,error,no-method-argument:Method has no argument
12,15,error,undefined-variable:Undefined variable 'self'
12,32,error,undefined-variable:Undefined variable 'self'
21,8,error,no-member:Instance of 'IglooProject' has no 'iglooprogram' member
23,4,error,no-self-argument:Method should have "self" as first argument
28,4,error,no-method-argument:Method has no argument
32,15,error,undefined-variable:Undefined variable 'win32com'
31,8,warning,unused-variable:Unused variable 'workingpath'
32,8,warning,unused-variable:Unused variable 'igxy'
35,4,error,no-method-argument:Method has no argument
42,4,error,unexpected-keyword-arg:Unexpected keyword argument 'stdout' in function call
42,4,error,unexpected-keyword-arg:Unexpected keyword argument 'stderr' in function call
42,4,error,no-value-for-parameter:No value for argument 'model' in function call
42,4,error,no-value-for-parameter:No value for argument 'modelpath' in function call
42,4,error,no-value-for-parameter:No value for argument 'parameters' in function call
42,50,error,undefined-variable:Undefined variable 'path'
42,64,error,undefined-variable:Undefined variable 'PIPE'
42,77,error,undefined-variable:Undefined variable 'PIPE'
43,10,error,undefined-variable:Undefined variable 'running_procs'
44,20,error,undefined-variable:Undefined variable 'running_procs'
47,16,error,undefined-variable:Undefined variable 'running_procs'
56,8,error,undefined-variable:Undefined variable 'handle_results'
62,4,warning,unused-variable:Unused variable 'igloo_process'

----------------------------------------------------------------------

Your code has been rated at -11.60/10 (previous run: -11.60/10, +0.00)




Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

extensionHost.ts:293 [Extension Host] debugger listening on port 6698
abstractTextMateService.ts:52 Overwriting grammar scope name to file mapping for scope source.sql.
Old grammar file: file:///c%3A/Users/i102604/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/sql/syntaxes/sql.tmLanguage.json.
New grammar file: file:///c%3A/Users/i102604/.vscode/extensions/ms-mssql.mssql-1.6.0/syntaxes/SQL.plist
register @ abstractTextMateService.ts:52
console.ts:134 [Extension Host] (node:5140) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ console.ts:134
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Display locator refreshing progress, Class name = p, completed in 2ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Notify locators are locating, Class name = p, completed in 3ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detected refreshing of Interpreters, Class name = p, completed in 4ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Create file systemwatcher with pattern *\python.exe
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Create file systemwatcher with pattern *\*\python.exe
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Register Intepreter Watcher, Class name = p, completed in 8ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Build the workspace interpreter watcher, Class name = h, completed in 10ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py>, Return Value: <Return value cannot be serialized for logging>
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Executing next rule from settings
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detection of Python Interpreter for Command python3.7 and args  failed
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detection of Python Interpreter for Command python3.6 and args  failed
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detection of Python Interpreter for Command python3 and args  failed
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Detection of Python Interpreter for Command python2 and args  failed
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Current value for rule system is {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown","displayName":"Python 3.7.3 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Current value for rule currentPath is {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Current value for rule windowsRegistry is {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Interpreters returned by CondaEnvFileService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Interpreters returned by PipEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Interpreters returned by CondaEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Interpreters returned by VirtualEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: setGlobalInterpreter, Class name = f, completed in 131ms, Arg 1: {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown"}, Arg 2: <argument cannot be serialized for logging>, Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Rule = cachedInterpreters, result = exit
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: autoSelectInterpreter, Class name = f, completed in 328ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: autoSelectInterpreter, Class name = f, completed in 329ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: autoSelectInterpreter, Class name = f, completed in 330ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Cached data exists getEnvironmentVariables, c:\Users\i102604\Documents\Python\Igloo
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Executing next rule from settings
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Build the workspace interpreter watcher, Class name = h, completed in 41ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py>, Return Value: <Return value cannot be serialized for logging>
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: autoSelectInterpreter, Class name = f, completed in 44ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: autoSelectInterpreter, Class name = f, completed in 44ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Selected Interpreter from windowsRegistry, {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Selected Interpreter from currentPath, {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Current value for rule system is {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown","displayName":"Python 3.7.3 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Current value for rule currentPath is {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Current value for rule windowsRegistry is {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:37: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Interpreters returned by KnownPathsService are of count 1
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Selected Interpreter from system, {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.3 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Get language server folder name, Class name = f, completed in 67ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py>, Return Value: "languageServer.0.3.43"
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Get language server folder name, Class name = f, completed in 27ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py>, Return Value: "languageServer.0.3.43"
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Cached data exists getEnvironmentVariables, c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Interpreters returned by WorkspaceVirtualEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: setGlobalInterpreter, Class name = f, completed in 301ms, Arg 1: {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: setGlobalInterpreter, Class name = f, completed in 300ms, Arg 1: {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: setGlobalInterpreter, Class name = f, completed in 296ms, Arg 1: {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: setGlobalInterpreter, Class name = f, completed in 243ms, Arg 1: {"architecture":3,"path":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"C:\\Users\\i102604\\AppData\\Local\\Programs\\Python\\Python37","fileHash":"a5b6d59d9290c9d4f60c294200da60e12589bdbc5f4da0804cf1a86cb63932246ca194c2b30a4be395406ba195e0f67babced27c6ca50e9ae183db599490f864","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.3 64-bit"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Rule = windowsRegistry, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Executing next rule from windowsRegistry
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Rule = currentPath, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Executing next rule from currentPath
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Rule = cachedInterpreters, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Executing next rule from cachedInterpreters
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Rule = system, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Executing next rule from system
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: autoSelectInterpreter, Class name = f, completed in 356ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: autoSelectInterpreter, Class name = f, completed in 356ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: autoSelectInterpreter, Class name = f, completed in 356ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: autoSelectInterpreter, Class name = f, completed in 356ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Cached data exists getEnvironmentVariables, c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py
console.ts:134 [Extension Host] Error Python Extension: 2019-08-01 11:13:38: Detection of Python Interpreter for Command py and args -3.6 failed as file Python 3.6 not found!

 -3.7-64 does not exist
t.log @ console.ts:134
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Activation Commands received undefined for shell cmd
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: getActivatedEnvironmentVariables, Class name = b, completed in 63ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py>
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Cached data exists getEnvironmentVariables, c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py
console.ts:134 [Extension Host] Error Python Extension: 2019-08-01 11:13:38: Failed to initialize experiments, Class name = b, completed in 1187ms, , Return Value: undefined { [Error: unable to get local issuer certificate  at TLSSocket.onConnectSecure (_tls_wrap.js:1049:34) at TLSSocket.emit (events.js:182:13)    at TLSSocket._finishInit (_tls_wrap.js:631:8)] code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' }
t.log @ console.ts:134
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Get language server folder name, Class name = f, completed in 59ms, Arg 1: <Uri:c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py>, Return Value: "languageServer.0.3.43"
console.ts:134 [Extension Host] Error Python Extension: 2019-08-01 11:13:38: Detection of Python Interpreter for Command py and args -2 failed as file Python 2 not found!

 -3.7-64 does not exist
t.log @ console.ts:134
console.ts:134 [Extension Host] Git installation not found.
t.log @ console.ts:134
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:38: Cached data exists getEnvironmentVariables, c:\Users\i102604\Documents\Python\Igloo\run_igloo_model.py
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:39: Interpreters returned by CurrentPathService are of count 4
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:41: Interpreters returned by WindowsRegistryService are of count 1
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:41: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:41: Hide locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-01 11:13:41: All locators have completed locating, Class name = p, completed in 0ms, , Return Value: undefined
notificationsAlerts.ts:40 The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted.
onDidNotificationChange @ notificationsAlerts.ts:40
_register.model.onDidNotificationChange.e @ notificationsAlerts.ts:26
fire @ event.ts:558
addNotification @ notifications.ts:156
notify @ notificationService.ts:55
r @ mainThreadMessageService.ts:83
_showMessage @ mainThreadMessageService.ts:44
$showMessage @ mainThreadMessageService.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:558
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:558
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:558
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94

Most helpful comment

Can you try deleting the language server and forcing a re-download? https://github.com/microsoft/vscode-python/issues/3977

All 5 comments

Can you try deleting the language server and forcing a re-download? https://github.com/microsoft/vscode-python/issues/3977

That fixed it. Thank you for the answer. I should have been able to find that. I had at least 4 language server directories.

This seems to pop up every now and then; I'm not entirely sure why. We might want to do some sort of checksum in the extension for the download (if it's not done already). Very strange.

I'm just glad there is a work around. I really like it for Python work.

Nkkkk, i hope It helpful

Was this page helpful?
0 / 5 - 0 ratings