VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:20:54.427Z)
Extension version (available under the Extensions sidebar): 2019.1.0
OS and version: Windows 10 64 bit 1803
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.2
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: telegram.ext
Actual behaviour
High CPU usage.
When hovering over code, it says "loading" and it stays there forever.
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
no output
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)
workbench.main.js:sourcemap:3366 [Extension Host] debugger listening on port 43164
workbench.main.js:sourcemap:3364 Extension Host
workbench.main.js:sourcemap:3364 Debugger listening on ws://127.0.0.1:43164/b0dd814d-728c-4782-846d-508a8c56f82a
For help, see: https://nodejs.org/en/docs/inspector
workbench.main.js:sourcemap:1535 INFO no standard startup: not the explorer viewlet
workbench.main.js:sourcemap:287 [Extension Host] (node:10208) [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 @ workbench.main.js:sourcemap:287
workbench.main.js:sourcemap:287 [Extension Host] Congratulations, your extension "terminal" is now active!
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Create file systemwatcher with pattern *\python.exe
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Create file systemwatcher with pattern *\*\python.exe
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Register Intepreter Watcher, Class name = f, Arg 1: <Uri:c:\Users\phg\OneDrive\phgarciabot.py>, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Build the workspace interpreter watcher, Class name = h, Arg 1: <Uri:c:\Users\phg\OneDrive\phgarciabot.py>, Return Value: <Return value cannot be serialized for logging>
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Rule = settings, result = exit
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Rule = settings, result = exit
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Rule = workspaceEnvs, result = runNextRule
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Executing next rule from workspaceEnvs
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detection of Python Interpreter for Command python3.7 and args failed
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detection of Python Interpreter for Command python3.6 and args failed
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detection of Python Interpreter for Command python3 and args failed
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detection of Python Interpreter for Command python2 and args failed
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detection of Python Interpreter for Command py and args -3.7 failed
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detection of Python Interpreter for Command py and args -3.6 failed
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detection of Python Interpreter for Command py and args -3 failed
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Detection of Python Interpreter for Command py and args -2 failed
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Selected Interpreter from windowsRegistry, {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","companyDisplayName":"Anaconda, Inc.","type":"Unknown","cachedEntry":true}
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Selected Interpreter from currentPath, {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","type":"Unknown","cachedEntry":true}
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Current value for rule system is {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","companyDisplayName":"Anaconda, Inc.","type":"Conda","cachedEntry":true,"envName":"base","envPath":"C:\\Users\\phg\\Miniconda3","displayName":"Python 3.7.2 64-bit ('base': conda)"}
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Current value for rule currentPath is {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","type":"Unknown","cachedEntry":true}
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Current value for rule windowsRegistry is {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","companyDisplayName":"Anaconda, Inc.","type":"Unknown","cachedEntry":true}
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","companyDisplayName":"Anaconda, Inc.","type":"Unknown","cachedEntry":true}
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.1.80"
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Interpreters returned by PipEnvService are of count 0
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Interpreters returned by WorkspaceVirtualEnvService are of count 0
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.1.80"
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Interpreters returned by VirtualEnvService are of count 0
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","companyDisplayName":"Anaconda, Inc.","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","companyDisplayName":"Anaconda, Inc.","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Rule = windowsRegistry, result = runNextRule
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Executing next rule from windowsRegistry
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Rule = currentPath, result = runNextRule
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Executing next rule from currentPath
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Rule = cachedInterpreters, result = runNextRule
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Executing next rule from cachedInterpreters
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Selected Interpreter from system, {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","companyDisplayName":"Anaconda, Inc.","type":"Conda","cachedEntry":true,"envName":"base","envPath":"C:\\Users\\phg\\Miniconda3","displayName":"Python 3.7.2 64-bit ('base': conda)"}
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Interpreters returned by KnownPathsService are of count 1
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"C:\\Users\\phg\\Miniconda3\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Users\\phg\\Miniconda3","fileHash":"c240d32d41374e68f557d8135330c6c6d0196366113ee549a7e94cfa9c2ca03d8d983bd323ada338f04d773f23907a9019edeaa3920b7063bce6237591219267","companyDisplayName":"Anaconda, Inc.","type":"Conda","cachedEntry":true,"envName":"base","envPath":"C:\\Users\\phg\\Miniconda3","displayName":"Python 3.7.2 64-bit ('base': conda)"}, Arg 2: undefined, Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Rule = system, result = runNextRule
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Executing next rule from system
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: undefined, Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Interpreters returned by CurrentPathService are of count 2
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Failed to get interpreter information for '(value not set)\python.exe' Error: spawn (value not set)\python.exe ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:229:19)
at onErrorNT (internal/child_process.js:406:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
t.log @ workbench.main.js:sourcemap:287
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Interpreters returned by WindowsRegistryService are of count 2
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.1.80"
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Starting Language Server, Class name = r, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, c:\Users\phg\OneDrive\phgarciabot.py
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Interpreters returned by CondaEnvFileService are of count 2
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Current value for rule workspaceEnvs is nothing
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Interpreters returned by CondaEnvService are of count 3
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: true
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: Hide locator refreshing progress, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:287 [Extension Host] Python Extension: All locators have completed locating, Class name = p, , Return Value: undefined
workbench.main.js:sourcemap:3364 Extension Host
workbench.main.js:sourcemap:3364 Debugger attached.
workbench.main.js:sourcemap:3364 Extension Host
workbench.main.js:sourcemap:3364 Debugger listening on ws://127.0.0.1:43164/b0dd814d-728c-4782-846d-508a8c56f82a
For help, see: https://nodejs.org/en/docs/inspector
Environment data
Actual behaviour
High CPU usage. When hovering over code, it says "loading" and it stays there forever.
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)