question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue
  • VS Code version: 1.33.0
  • Extension version: 2019.3.6352
  • OS and version: Ubuntu 18.10, Kernel: 4.18.0-17-generic
  • Python version: 3.6.7

Expected behaviour

Python file opened, server starts with no crashes. Intellisense works properly

Actual behaviour

Python file opened. Python tools server crashes 5 times within 3 minutes and is not restarted anymore. Intellisense does not work

Steps to reproduce:

  1. Open python file with python extension installed

Logs

Starting Microsoft Python language server. [Info - 1:42:18 PM] GetCurrentSearchPaths /usr/bin/python3 [Info - 1:42:18 PM] Python search paths: [Info - 1:42:18 PM] /usr/lib/python3.6 [Info - 1:42:18 PM] /usr/lib/python3.6/lib-dynload [Info - 1:42:18 PM] /home/chris/.local/lib/python3.6/site-packages [Info - 1:42:18 PM] /usr/local/lib/python3.6/dist-packages [Info - 1:42:18 PM] /usr/lib/python3/dist-packages [Info - 1:42:18 PM] Configuration search paths: [Info - 1:42:18 PM] /usr/lib/python36.zip [Info - 1:42:18 PM] /usr/lib/python3.6 [Info - 1:42:18 PM] /usr/lib/python3.6/lib-dynload [Info - 1:42:18 PM] /home/chris/.local/lib/python3.6/site-packages [Info - 1:42:18 PM] /usr/local/lib/python3.6/dist-packages [Info - 1:42:18 PM] /usr/lib/python3/dist-packages [Info - 1:42:18 PM] /usr/bin [Info - 1:42:19 PM] Microsoft Python Language Server version 0.2.43.0 [Info - 1:42:19 PM] Initializing for /usr/bin/python3

Unhandled Exception: System.ObjectDisposedException: The CancellationTokenSource has been disposed. at System.Threading.CancellationTokenSource.ThrowObjectDisposedException() at Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.<Start>b__22_0() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) — End of stack trace from previous location where exception was thrown — at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.ThreadPoolWorkQueue.Dispatch() [Info - 1:42:20 PM] Connection to server got closed. Server will restart. ##########Linting Output - pylint##########


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

[Info - 1:42:21 PM] GetCurrentSearchPaths /usr/bin/python3 [Info - 1:42:21 PM] Python search paths: [Info - 1:42:21 PM] /usr/lib/python3.6 [Info - 1:42:21 PM] /usr/lib/python3.6/lib-dynload [Info - 1:42:21 PM] /home/chris/.local/lib/python3.6/site-packages [Info - 1:42:21 PM] /usr/local/lib/python3.6/dist-packages [Info - 1:42:21 PM] /usr/lib/python3/dist-packages [Info - 1:42:21 PM] Configuration search paths: [Info - 1:42:21 PM] /usr/lib/python36.zip [Info - 1:42:21 PM] /usr/lib/python3.6 [Info - 1:42:21 PM] /usr/lib/python3.6/lib-dynload [Info - 1:42:21 PM] /home/chris/.local/lib/python3.6/site-packages [Info - 1:42:21 PM] /usr/local/lib/python3.6/dist-packages [Info - 1:42:21 PM] /usr/lib/python3/dist-packages [Info - 1:42:21 PM] /usr/bin [Info - 1:42:22 PM] Microsoft Python Language Server version 0.2.43.0 [Info - 1:42:22 PM] Initializing for /usr/bin/python3

Unhandled Exception: System.ObjectDisposedException: The CancellationTokenSource has been disposed. at System.Threading.CancellationTokenSource.ThrowObjectDisposedException() at Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.<Start>b__22_0() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) — End of stack trace from previous location where exception was thrown — at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.ThreadPoolWorkQueue.Dispatch() [Info - 1:42:22 PM] Connection to server got closed. Server will restart. [Info - 1:42:23 PM] GetCurrentSearchPaths /usr/bin/python3 [Info - 1:42:23 PM] Python search paths: [Info - 1:42:23 PM] /usr/lib/python3.6 [Info - 1:42:23 PM] /usr/lib/python3.6/lib-dynload [Info - 1:42:23 PM] /home/chris/.local/lib/python3.6/site-packages [Info - 1:42:23 PM] /usr/local/lib/python3.6/dist-packages [Info - 1:42:23 PM] /usr/lib/python3/dist-packages [Info - 1:42:23 PM] Configuration search paths: [Info - 1:42:23 PM] /usr/lib/python36.zip [Info - 1:42:23 PM] /usr/lib/python3.6 [Info - 1:42:23 PM] /usr/lib/python3.6/lib-dynload [Info - 1:42:23 PM] /home/chris/.local/lib/python3.6/site-packages [Info - 1:42:23 PM] /usr/local/lib/python3.6/dist-packages [Info - 1:42:23 PM] /usr/lib/python3/dist-packages [Info - 1:42:23 PM] /usr/bin [Info - 1:42:24 PM] Microsoft Python Language Server version 0.2.43.0 [Info - 1:42:24 PM] Initializing for /usr/bin/python3

Unhandled Exception: System.ObjectDisposedException: The CancellationTokenSource has been disposed. at System.Threading.CancellationTokenSource.ThrowObjectDisposedException() at Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.<Start>b__22_0() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) — End of stack trace from previous location where exception was thrown — at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.ThreadPoolWorkQueue.Dispatch() [Info - 1:42:25 PM] Connection to server got closed. Server will restart. [Info - 1:42:26 PM] GetCurrentSearchPaths /usr/bin/python3 [Info - 1:42:26 PM] Python search paths: [Info - 1:42:26 PM] /usr/lib/python3.6 [Info - 1:42:26 PM] /usr/lib/python3.6/lib-dynload [Info - 1:42:26 PM] /home/chris/.local/lib/python3.6/site-packages [Info - 1:42:26 PM] /usr/local/lib/python3.6/dist-packages [Info - 1:42:26 PM] /usr/lib/python3/dist-packages [Info - 1:42:26 PM] Configuration search paths: [Info - 1:42:26 PM] /usr/lib/python36.zip [Info - 1:42:26 PM] /usr/lib/python3.6 [Info - 1:42:26 PM] /usr/lib/python3.6/lib-dynload [Info - 1:42:26 PM] /home/chris/.local/lib/python3.6/site-packages [Info - 1:42:26 PM] /usr/local/lib/python3.6/dist-packages [Info - 1:42:26 PM] /usr/lib/python3/dist-packages [Info - 1:42:26 PM] /usr/bin [Info - 1:42:26 PM] Microsoft Python Language Server version 0.2.43.0 [Info - 1:42:26 PM] Initializing for /usr/bin/python3

Unhandled Exception: System.ObjectDisposedException: The CancellationTokenSource has been disposed. at System.Threading.CancellationTokenSource.ThrowObjectDisposedException() at Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.<Start>b__22_0() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) — End of stack trace from previous location where exception was thrown — at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.ThreadPoolWorkQueue.Dispatch() [Info - 1:42:27 PM] Connection to server got closed. Server will restart. [Info - 1:42:28 PM] GetCurrentSearchPaths /usr/bin/python3 [Info - 1:42:28 PM] Python search paths: [Info - 1:42:28 PM] /usr/lib/python3.6 [Info - 1:42:28 PM] /usr/lib/python3.6/lib-dynload [Info - 1:42:28 PM] /home/chris/.local/lib/python3.6/site-packages [Info - 1:42:28 PM] /usr/local/lib/python3.6/dist-packages [Info - 1:42:28 PM] /usr/lib/python3/dist-packages [Info - 1:42:28 PM] Configuration search paths: [Info - 1:42:28 PM] /usr/lib/python36.zip [Info - 1:42:28 PM] /usr/lib/python3.6 [Info - 1:42:28 PM] /usr/lib/python3.6/lib-dynload [Info - 1:42:28 PM] /home/chris/.local/lib/python3.6/site-packages [Info - 1:42:28 PM] /usr/local/lib/python3.6/dist-packages [Info - 1:42:28 PM] /usr/lib/python3/dist-packages [Info - 1:42:28 PM] /usr/bin [Info - 1:42:29 PM] Microsoft Python Language Server version 0.2.43.0 [Info - 1:42:29 PM] Initializing for /usr/bin/python3

Unhandled Exception: System.ObjectDisposedException: The CancellationTokenSource has been disposed. at System.Threading.CancellationTokenSource.ThrowObjectDisposedException() at Microsoft.Python.Analysis.Analyzer.PythonAnalyzerSession.<Start>b__22_0() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) — End of stack trace from previous location where exception was thrown — at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.ThreadPoolWorkQueue.Dispatch() [Error - 1:42:29 PM] Connection to server got closed. Server will not be restarted. ##########Linting Output - pylint##########


Your code has been rated at 10.00/10 (previous run: 10.00/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:311 [Extension Host] debugger listening on port 51568
extensionService.ts:802 Couldn't find message for key python.snippet.launch.unitTests.description.
_logMessageInConsole @ extensionService.ts:802
console.ts:134 [Extension Host] (node:7205) [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] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern */python
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern */*/python
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Class name = f, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix/compile.py>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Class name = h, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix/compile.py>, Return Value: <Return value cannot be serialized for logging>
console.ts:134 [Extension Host] Python Extension: Detection of Python Interpreter for Command python3.7 and args  failed
console.ts:134 [Extension Host] Python Extension: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from settings
console.ts:134 [Extension Host] Python Extension: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Python Extension: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown","displayName":"Python 3.6.7 64-bit"}
console.ts:134 [Extension Host] Python Extension: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}
console.ts:134 [Extension Host] Python Extension: Current value for rule windowsRegistry is nothing
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}
console.ts:134 [Extension Host] Python Extension: Interpreters returned by CondaEnvFileService are of count 0
console.ts:134 [Extension Host] Python Extension: Interpreters returned by PipEnvService are of count 0
console.ts:134 [Extension Host] Python Extension: Interpreters returned by CondaEnvService are of count 0
console.ts:134 [Extension Host] Python Extension: Interpreters returned by VirtualEnvService are of count 0
console.ts:134 [Extension Host] Python Extension: Interpreters returned by WorkspaceVirtualEnvService are of count 0
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Interpreters returned by KnownPathsService are of count 10
console.ts:134 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}, Arg 2: <argument cannot be serialized for logging>, Return Value: true
console.ts:134 [Extension Host] Python Extension: Rule = cachedInterpreters, result = exit
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking support of .NET, Class name = u, , Return Value: true
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix
console.ts:134 [Extension Host] Python Extension: Rule = windowsRegistry, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from windowsRegistry
console.ts:134 [Extension Host] Python Extension: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from settings
console.ts:134 [Extension Host] Python Extension: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Interpreters returned by CurrentPathService are of count 5
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: true
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from currentPath, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}
console.ts:134 [Extension Host] Python Extension: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown","displayName":"Python 3.6.7 64-bit"}
console.ts:134 [Extension Host] Python Extension: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}
console.ts:134 [Extension Host] Python Extension: Current value for rule windowsRegistry is nothing
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}
console.ts:134 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.2.43"
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from system, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown","displayName":"Python 3.6.7 64-bit"}
console.ts:134 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Python Extension: Rule = currentPath, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from currentPath
console.ts:134 [Extension Host] Python Extension: Rule = cachedInterpreters, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from cachedInterpreters
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.2.43"
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix/compile.py
console.ts:134 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown","displayName":"Python 3.6.7 64-bit"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Python Extension: Rule = system, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from system
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/home/chris/Documents/CalPoly/CSC-476/lab-1-crgix>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.2.43"
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix/compile.py
console.ts:134 [Extension Host] Python Extension: Starting Language Server, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking support of .NET, Class name = u, , Return Value: true
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix/compile.py
console.ts:134 [Extension Host] Python Extension: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from settings
console.ts:134 [Extension Host] Python Extension: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Python Extension: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown","displayName":"Python 3.6.7 64-bit"}
console.ts:134 [Extension Host] Python Extension: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}
console.ts:134 [Extension Host] Python Extension: Current value for rule windowsRegistry is nothing
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}
console.ts:134 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}, Arg 2: <argument cannot be serialized for logging>, Return Value: true
console.ts:134 [Extension Host] Python Extension: Rule = cachedInterpreters, result = exit
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Rule = windowsRegistry, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from windowsRegistry
console.ts:134 [Extension Host] Python Extension: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from settings
console.ts:134 [Extension Host] Python Extension: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from currentPath, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern */python
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern */*/python
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Class name = f, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Class name = h, Arg 1: undefined, Return Value: <Return value cannot be serialized for logging>
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from system, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown","displayName":"Python 3.6.7 64-bit"}
console.ts:134 [Extension Host] Python Extension: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown","displayName":"Python 3.6.7 64-bit"}
console.ts:134 [Extension Host] Python Extension: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}
console.ts:134 [Extension Host] Python Extension: Current value for rule windowsRegistry is nothing
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}
console.ts:134 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown","displayName":"Python 3.6.7 64-bit"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"a58b0a2cdf3cb97ff7652e48a97fcd4a9afe0bfbbb4aaa6c4b547696792415d0bff37a1f11de23ebda15028aa400ee2ebba6a8e5faaca486f1d245bced17782c","type":"Unknown"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Python Extension: Rule = currentPath, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from currentPath
console.ts:134 [Extension Host] Python Extension: Rule = system, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from system
console.ts:134 [Extension Host] Python Extension: Rule = cachedInterpreters, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from cachedInterpreters
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Current value for rule workspaceEnvs is nothing
console.ts:134 [Extension Host] Python Extension: Interpreters returned by PipEnvService are of count 0
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Interpreters returned by WorkspaceVirtualEnvService are of count 0
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: true
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, Class name = p, , 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
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, extension-output-#3
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix/compile.py
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/chris/Documents/CalPoly/CSC-476/lab-1-crgix

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
chrisgixcommented, Apr 17, 2019

The newest stable release of the python language server seems to have fixed the bug.

Thank you

0reactions
ahnafalraficommented, Apr 23, 2019

Ah okay will do - took a look at the output for python, its about libssl

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Python Tools server crashed 5 times in the last 3 minutes ...
Uninstall Python extension (if you have pylance uninstall it first). · Close all instances of VS Code. · Go to, %USERPROFILE%/. · Delete...
Read more >
The Python Tools server crashed 5 times in the last 3 minutes ...
4 Answers 4 · Uninstall Python extension (if you have pylance uninstall it first).\ · Close all instances of VS Code.\ · Go...
Read more >
Python with remote session: "The isort server crashed 5 times ...
So I just set up a remote connection to a linux server in vscode, ... session: "The isort server crashed 5 times in...
Read more >
【BUG】The Python Tools server crashed 5 times in the last 3 ...
vscode启动时出现“The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted”的解决办法1.
Read more >
Fixing VS Code Extension Errors - Python - CodeProject
Server will restart. Uninstalling and reinstalling VS Code did not solve the problem. Solution. The solution is to find the extension folder of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found