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.

Interactive window picking wrong kernel on Linux

See original GitHub issue

Environment data

  • VS Code version: 1.35.1 (from ArchLinux repositories)
  • Extension version (available under the Extensions sidebar): 2019.6.22090
  • OS and version: Arch Linux uname -a:Linux otaj-ntb 5.1.15-zen1-1-zen microsoft/vscode-python#1 ZEN SMP PREEMPT Wed Jun 26 10:06:19 CEST 2019 x86_64 GNU/Linux
  • Python version (& distribution if applicable, e.g. Anaconda):
otaj@otaj-ntb: $ python
Python 3.7.3 (default, Jun 24 2019, 04:54:02) 
[GCC 9.1.0] on linux
otaj@otaj-ntb: $ python2
Python 2.7.16 (default, Mar 11 2019, 18:59:25) 
[GCC 8.2.1 20181127] on linux2
  • Type of virtual environment used: N/A
  • Relevant/affected Python packages and their versions: only vscode-python
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info microsoft/vscode-python#3977): Jedi

Expected behaviour

When running interactive window with python path set as /usr/bin/python (default python, version 3.7.3), I expect interactive window to start python jupyter server, using the same python (python3)

Actual behaviour

The extension insists on opening python2 interactive console.

All my python related settings

    "python.autoComplete.addBrackets": true,
    "python.formatting.provider": "black",
    "python.linting.pylintEnabled": false,
    "python.linting.flake8Enabled": true,
    "python.linting.banditEnabled": true,
    "python.linting.mypyEnabled": true,
    "python.formatting.blackArgs": [
        "--line-length",
        "140",
        "--skip-string-normalization"
    ],
    "python.jediEnabled": true,
    "python.dataScience.allowLiveShare": false,
    "python.dataScience.askForKernelRestart": false,
    "python.pythonPath": "/usr/bin/python"

python jupyter

Steps to reproduce:

Not really sure, whether my machine is somehow misconfigured. I don’t have another machine so I cannot test it there. But set python executable to python (which is actually python3) and have an executable python2

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python) Nothing related to interactive window

Starting Jedi Python language engine.
##########Linting Output - flake8##########
6,31,E,E226:missing whitespace around arithmetic operator
9,1,E,E265:block comment should start with '# '
##########Linting Output - mypy##########
##########Linting Output - bandit##########

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)

/usr/lib/electron/resources/electron.asar/renderer/security-warnings.js:259 Electron Deprecation Warning (nodeIntegration default change) This window has node integration enabled by default. In Electron 5.0.0, node integration will be disabled by default. To prepare for this change, set {nodeIntegration: true} in the webPreferences for this window, or ensure that this window does not rely on node integration and set {nodeIntegration: false}.
warnAboutNodeIntegrationDefault @ /usr/lib/electron/resources/electron.asar/renderer/security-warnings.js:259
logSecurityWarnings @ /usr/lib/electron/resources/electron.asar/renderer/security-warnings.js:312
loadHandler @ /usr/lib/electron/resources/electron.asar/renderer/security-warnings.js:335
load (async)
module.exports @ /usr/lib/electron/resources/electron.asar/renderer/security-warnings.js:338
(anonymous) @ /usr/lib/electron/resources/electron.asar/renderer/init.js:164
(anonymous) @ /usr/lib/electron/resources/electron.asar/renderer/init.js:178
Module._compile @ internal/modules/cjs/loader.js:693
Module._extensions..js @ internal/modules/cjs/loader.js:704
Module.load @ internal/modules/cjs/loader.js:602
tryModuleLoad @ internal/modules/cjs/loader.js:541
Module._load @ internal/modules/cjs/loader.js:533
Module.runMain @ internal/modules/cjs/loader.js:746
startup @ internal/bootstrap/node.js:282
bootstrapNodeJSCore @ internal/bootstrap/node.js:759
workbench.main.js:3313 [Extension Host] debugger listening on port 17118
workbench.main.js:238 [Extension Host] (node:3733) [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:238
$logExtensionHostMessage @ workbench.main.js:3215
_doInvokeHandler @ workbench.main.js:3293
_invokeHandler @ workbench.main.js:3293
_receiveRequest @ workbench.main.js:3292
_receiveOneMessage @ workbench.main.js:3290
_protocol.onMessage.e @ workbench.main.js:3289
fire @ workbench.main.js:77
a @ workbench.main.js:322
e @ workbench.main.js:322
fire @ workbench.main.js:77
_receiveMessage @ workbench.main.js:331
S._socketDisposables.push._socketReader.onMessage.e @ workbench.main.js:328
fire @ workbench.main.js:77
acceptChunk @ workbench.main.js:325
_register._socket.onData.e @ workbench.main.js:324
t @ workbench.main.js:333
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
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Display locator refreshing progress, Class name = p, completed in 1ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Create file systemwatcher with pattern */python
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Create file systemwatcher with pattern */*/python
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Register Intepreter Watcher, Class name = p, completed in 4ms, Arg 1: <Uri:/home/otaj/files/phd/python/rays_speed_test.py>, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Build the workspace interpreter watcher, Class name = h, completed in 6ms, Arg 1: <Uri:/home/otaj/files/phd/python/rays_speed_test.py>, Return Value: <Return value cannot be serialized for logging>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Detection of Python Interpreter for Command python3.6 and args  failed
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = settings, result = exit
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 1ms, Arg 1: <Uri:/home/otaj/files/phd/python>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Cached data exists getEnvironmentVariables, /home/otaj/files/phd/python
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = windowsRegistry, result = runNextRule
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Executing next rule from windowsRegistry
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = settings, result = exit
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = workspaceEnvs, result = runNextRule
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Executing next rule from workspaceEnvs
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Build the workspace interpreter watcher, Class name = h, completed in 4ms, Arg 1: <Uri:/home/otaj/files/phd/python/rays_speed_test.py>, Return Value: <Return value cannot be serialized for logging>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 4ms, Arg 1: <Uri:/home/otaj/files/phd/python>, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 5ms, Arg 1: <Uri:/home/otaj/files/phd/python>, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 4ms, Arg 1: <Uri:/home/otaj/files/phd/python>, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking support of .NET, Class name = c, completed in 0ms, , Return Value: true
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Cached data exists getEnvironmentVariables, /home/otaj/files/phd/python/rays_speed_test.py
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Selected Interpreter from currentPath, {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true}
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Current value for rule system is {"architecture":3,"path":"/sbin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.3 64-bit"}
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true}
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Current value for rule windowsRegistry is nothing
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true}
workbench.main.js:238 [Extension Host] Error Python Extension: 2019-06-28 17:42:57: Failed to check if file needs to be fixed { [Error: ENOENT: no such file or directory, open '/home/otaj/.config/Code/User/settings.json']  errno: -2,  code: 'ENOENT',  syscall: 'open',  path: '/home/otaj/.config/Code/User/settings.json' }
t.log @ workbench.main.js:238
$logExtensionHostMessage @ workbench.main.js:3215
_doInvokeHandler @ workbench.main.js:3293
_invokeHandler @ workbench.main.js:3293
_receiveRequest @ workbench.main.js:3292
_receiveOneMessage @ workbench.main.js:3290
_protocol.onMessage.e @ workbench.main.js:3289
fire @ workbench.main.js:77
a @ workbench.main.js:322
e @ workbench.main.js:322
fire @ workbench.main.js:77
_receiveMessage @ workbench.main.js:331
S._socketDisposables.push._socketReader.onMessage.e @ workbench.main.js:328
fire @ workbench.main.js:77
acceptChunk @ workbench.main.js:325
_register._socket.onData.e @ workbench.main.js:324
t @ workbench.main.js:333
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
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = settings, result = exit
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 1ms, Arg 1: undefined, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = windowsRegistry, result = runNextRule
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Executing next rule from windowsRegistry
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = settings, result = exit
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = workspaceEnvs, result = runNextRule
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Executing next rule from workspaceEnvs
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 0ms, Arg 1: undefined, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Shell path from user settings 'null'
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Shell path '/usr/bin/zsh'
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Shell path identified as shell 'zsh'
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Shell path from user env '/usr/bin/zsh'
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Shell identified as 'zsh'
2workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 4ms, Arg 1: undefined, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 3ms, Arg 1: undefined, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Selected Interpreter from currentPath, {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true}
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Create file systemwatcher with pattern */python
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Create file systemwatcher with pattern */*/python
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Register Intepreter Watcher, Class name = p, completed in 1ms, Arg 1: undefined, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Build the workspace interpreter watcher, Class name = h, completed in 1ms, Arg 1: undefined, Return Value: <Return value cannot be serialized for logging>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Current value for rule system is {"architecture":3,"path":"/sbin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.3 64-bit"}
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true}
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Current value for rule windowsRegistry is nothing
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true}
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Interpreters returned by CondaEnvFileService are of count 0
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Interpreters returned by PipEnvService are of count 0
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Interpreters returned by CondaEnvService are of count 0
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Interpreters returned by VirtualEnvService are of count 0
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: setGlobalInterpreter, Class name = f, completed in 80ms, Arg 1: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = currentPath, result = runNextRule
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Executing next rule from currentPath
4workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 154ms, Arg 1: <Uri:/home/otaj/files/phd/python>, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Interpreters returned by KnownPathsService are of count 25
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Interpreters returned by WorkspaceVirtualEnvService are of count 0
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Interpreters returned by CurrentPathService are of count 5
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Interpreters returned by PipEnvService are of count 0
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Interpreters returned by WorkspaceVirtualEnvService are of count 0
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: setGlobalInterpreter, Class name = f, completed in 108ms, Arg 1: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: setGlobalInterpreter, Class name = f, completed in 75ms, Arg 1: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: setGlobalInterpreter, Class name = f, completed in 70ms, Arg 1: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = cachedInterpreters, result = runNextRule
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Executing next rule from cachedInterpreters
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = currentPath, result = runNextRule
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Executing next rule from currentPath
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = cachedInterpreters, result = runNextRule
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Executing next rule from cachedInterpreters
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: true
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Hide locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: All locators have completed locating, Class name = p, completed in 0ms, , Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 185ms, Arg 1: <Uri:/home/otaj/files/phd/python>, Return Value: undefined
2workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 102ms, Arg 1: undefined, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Selected Interpreter from system, {"architecture":3,"path":"/sbin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.3 64-bit"}
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Current value for rule workspaceEnvs is nothing
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Selected Interpreter from system, {"architecture":3,"path":"/sbin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.3 64-bit"}
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: setGlobalInterpreter, Class name = f, completed in 20ms, Arg 1: {"architecture":3,"path":"/sbin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.3 64-bit"}, Arg 2: undefined, Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: setGlobalInterpreter, Class name = f, completed in 10ms, Arg 1: {"architecture":3,"path":"/sbin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.3 64-bit"}, Arg 2: undefined, Return Value: false
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = system, result = runNextRule
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Executing next rule from system
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Rule = system, result = runNextRule
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Executing next rule from system
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 209ms, Arg 1: <Uri:/home/otaj/files/phd/python>, Return Value: undefined
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: autoSelectInterpreter, Class name = f, completed in 125ms, Arg 1: undefined, Return Value: undefined
6workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:57: Cached data exists getEnvironmentVariables, /home/otaj/files/phd/python
3workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:42:58: Cached data exists getEnvironmentVariables, /home/otaj/files/phd/python/rays_speed_test.py
workbench.main.js:3957 [html]: language configuration: expected `comments.blockComment` to be an array of two strings.
_extractValidCommentRule @ workbench.main.js:3957
_handleConfig @ workbench.main.js:3960
_fileService.readFile.then.s @ workbench.main.js:3956
Promise.then (async)
_handleConfigFile @ workbench.main.js:3956
_modeService.getConfigurationFiles.forEach.t @ workbench.main.js:3956
_loadConfigurationsForMode @ workbench.main.js:3956
_extensionService.whenInstalledExtensionsRegistered.then @ workbench.main.js:3956
Promise.then (async)
_modeService.onDidCreateMode.e @ workbench.main.js:3956
fire @ workbench.main.js:77
_getOrCreateMode @ workbench.main.js:1494
triggerMode @ workbench.main.js:1494
codeBlockRenderer @ workbench.main.js:1428
t.codeBlockRenderer.f.code @ workbench.main.js:261
r.tok @ workbench.main.js:131
r.parse @ workbench.main.js:131
r.parse @ workbench.main.js:131
f @ workbench.main.js:114
g @ workbench.main.js:262
render @ workbench.main.js:1428
e.contents.filter.forEach.e @ workbench.main.js:2248
t.forEach.e @ workbench.main.js:2248
_renderMessages @ workbench.main.js:2246
_withResult @ workbench.main.js:2246
N._hoverOperation.b.HoverOperation.e @ workbench.main.js:2244
_onComplete @ workbench.main.js:773
_triggerSyncComputation @ workbench.main.js:773
_secondWaitScheduler.i.RunOnceScheduler @ workbench.main.js:772
doRun @ workbench.main.js:104
onTimeout @ workbench.main.js:104
setTimeout (async)
schedule @ workbench.main.js:103
_triggerAsyncComputation @ workbench.main.js:772
_firstWaitScheduler.i.RunOnceScheduler @ workbench.main.js:772
doRun @ workbench.main.js:104
onTimeout @ workbench.main.js:104
setTimeout (async)
schedule @ workbench.main.js:103
start @ workbench.main.js:774
startShowingAt @ workbench.main.js:2245
_onEditorMouseMove @ workbench.main.js:2255
_isHoverEnabled._toUnhook.add._editor.onMouseMove.e @ workbench.main.js:2253
fire @ workbench.main.js:77
n.onMouseMove.e @ workbench.main.js:1922
emitMouseMove @ workbench.main.js:1814
emitMouseMove @ workbench.main.js:1604
_onMouseMove @ workbench.main.js:1802
_register.r.onMouseMoveThrottled.e @ workbench.main.js:1800
c @ workbench.main.js:147
_register.e @ workbench.main.js:147
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: Loading web panel. Panel is notset
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: Loading web view...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: Web view created.
3workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: Activation Commands received undefined for shell bash
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: getActivatedEnvironmentVariables, Class name = b, completed in 2ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:3551 [Embedded Page] %cElectron Security Warning (Insecure Content-Security-Policy)
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: Cached data exists ActivatedEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: getActivatedEnvironmentVariables, Class name = b, completed in 1ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
2workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:02: Getting jupyter server options ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Request for onigasm file at /home/otaj/.vscode-oss/extensions/ms-python.python-2019.6.22090/out/client/node_modules/onigasm/lib/onigasm.wasm
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Searching for token colors ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Attempting search for colors ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Connecting to jupyter server ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Connecting to history server
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Launching history server
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Generating custom default config at /tmp/e029073c-dc10-4bce-b93a-7f4891288616/jupyter_notebook_config.py
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Cached data exists ActivatedEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: getActivatedEnvironmentVariables, Class name = b, completed in 1ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Loading colors from /home/otaj/.vscode-oss/extensions/magicstack.chromodynamics-0.0.14/Chromodynamics.color-theme.json ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Searching for token colors ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Attempting search for colors ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Loading colors from /home/otaj/.vscode-oss/extensions/magicstack.chromodynamics-0.0.14/Chromodynamics.color-theme.json ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Attempting search for colors ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Loading base colors from /home/otaj/.vscode-oss/extensions/magicstack.chromodynamics-0.0.14/Chromodynamics.color-theme.json ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Attempting search for colors ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Loading base colors from /home/otaj/.vscode-oss/extensions/magicstack.chromodynamics-0.0.14/Chromodynamics.color-theme.json ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Using colors to generate CSS ...
workbench.main.js:238 [Extension Host] Error Python Extension: 2019-06-28 17:43:03: [TypeError: e.findIndex is not a function	at y.matchTokenColor (/home/otaj/.vscode-oss/extensions/ms-python.python-2019.6.22090/out/client/extension.js:75:434395)	at y.module.exports.y.constructor.getScopeStyle (/home/otaj/.vscode-oss/extensions/ms-python.python-2019.6.22090/out/client/extension.js:75:430971)	at y.generateCss (/home/otaj/.vscode-oss/extensions/ms-python.python-2019.6.22090/out/client/extension.js:75:434614)	at y.applyThemeData (/home/otaj/.vscode-oss/extensions/ms-python.python-2019.6.22090/out/client/extension.js:75:434037)]
t.log @ workbench.main.js:238
$logExtensionHostMessage @ workbench.main.js:3215
_doInvokeHandler @ workbench.main.js:3293
_invokeHandler @ workbench.main.js:3293
_receiveRequest @ workbench.main.js:3292
_receiveOneMessage @ workbench.main.js:3290
_protocol.onMessage.e @ workbench.main.js:3289
fire @ workbench.main.js:77
a @ workbench.main.js:322
e @ workbench.main.js:322
fire @ workbench.main.js:77
_receiveMessage @ workbench.main.js:331
S._socketDisposables.push._socketReader.onMessage.e @ workbench.main.js:328
fire @ workbench.main.js:77
acceptChunk @ workbench.main.js:325
_register._socket.onData.e @ workbench.main.js:324
t @ workbench.main.js:333
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
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Using colors to generate CSS ...
workbench.main.js:238 [Extension Host] Error Python Extension: 2019-06-28 17:43:03: [TypeError: e.tokenColors.forEach is not a function	at y.generateMonacoThemeObject (/home/otaj/.vscode-oss/extensions/ms-python.python-2019.6.22090/out/client/extension.js:75:435581)	at y.applyThemeData (/home/otaj/.vscode-oss/extensions/ms-python.python-2019.6.22090/out/client/extension.js:75:434037)]
t.log @ workbench.main.js:238
$logExtensionHostMessage @ workbench.main.js:3215
_doInvokeHandler @ workbench.main.js:3293
_invokeHandler @ workbench.main.js:3293
_receiveRequest @ workbench.main.js:3292
_receiveOneMessage @ workbench.main.js:3290
_protocol.onMessage.e @ workbench.main.js:3289
fire @ workbench.main.js:77
a @ workbench.main.js:322
e @ workbench.main.js:322
fire @ workbench.main.js:77
_receiveMessage @ workbench.main.js:331
S._socketDisposables.push._socketReader.onMessage.e @ workbench.main.js:328
fire @ workbench.main.js:77
acceptChunk @ workbench.main.js:325
_register._socket.onData.e @ workbench.main.js:324
t @ workbench.main.js:333
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
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Cached data exists ActivatedEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: getActivatedEnvironmentVariables, Class name = b, completed in 0ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:03: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:3551 [Embedded Page] Uncaught (in promise) Error: Illegal theme base!
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:04: Request for tmlanguage file.
workbench.main.js:3551 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
workbench.main.js:3551 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-resource:/home/otaj/.vscode-oss/extensions/ms-python.python-2019.6.22090/out/datascience-ui/history-react/editor.worker.js' cannot be accessed from origin 'null'.
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:04: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: [I 17:43:07.276 NotebookApp] Serving notebooks from local directory: /tmp/e029073c-dc10-4bce-b93a-7f4891288616[I 17:43:07.276 NotebookApp] The Jupyter Notebook is running at:[I 17:43:07.276 NotebookApp] http://localhost:8888/?token=de3c566eb6d02e647672f54523ae1d283723abaae8830fed
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: Cached data exists ActivatedEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: getActivatedEnvironmentVariables, Class name = b, completed in 0ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: [I 17:43:07.276 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).[C 17:43:07.278 NotebookApp]         To access the notebook, open this file in a browser:        file:///home/otaj/.local/share/jupyter/runtime/nbserver-4212-open.html    Or copy and paste one of these URLs:        http://localhost:8888/?token=de3c566eb6d02e647672f54523ae1d283723abaae8830fed
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: Cached data exists ActivatedEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: getActivatedEnvironmentVariables, Class name = b, completed in 1ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: Connecting to process for history server
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: Connecting server 977e16e1-547a-4a15-99c0-62a892a3faa4
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: [I 17:43:07.698 NotebookApp] Creating new notebook in /
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: [I 17:43:07.734 NotebookApp] Kernel started: 2cbbaf9b-0d50-4729-9c17-0c9a63e318d0
workbench.main.js:238 [Extension Host] Starting WebSocket: ws://localhost:8888/api/kernels/2cbbaf9b-0d50-4729-9c17-0c9a63e318d0
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: Started session 977e16e1-547a-4a15-99c0-62a892a3faa4
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: Waiting for idle 977e16e1-547a-4a15-99c0-62a892a3faa4
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: Waiting for idle: unknown
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: [I 17:43:07.742 NotebookApp] Creating new notebook in /
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: [I 17:43:07.760 NotebookApp] Kernel started: 5c0d86cc-12fa-4c60-8ec2-f8f6a0cebd61
workbench.main.js:238 [Extension Host] Starting WebSocket: ws://localhost:8888/api/kernels/5c0d86cc-12fa-4c60-8ec2-f8f6a0cebd61
2workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:07: Waiting for idle: unknown
2workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Waiting for idle: unknown
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: [I 17:43:08.174 NotebookApp] Adapting to protocol v5.1 for kernel 2cbbaf9b-0d50-4729-9c17-0c9a63e318d0
workbench.main.js:238 [Extension Host] Kernel: connected (2cbbaf9b-0d50-4729-9c17-0c9a63e318d0)
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: [I 17:43:08.183 NotebookApp] Adapting to protocol v5.1 for kernel 5c0d86cc-12fa-4c60-8ec2-f8f6a0cebd61
workbench.main.js:238 [Extension Host] Kernel: connected (5c0d86cc-12fa-4c60-8ec2-f8f6a0cebd61)
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Performing initial setup 977e16e1-547a-4a15-99c0-62a892a3faa4
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Finished connecting 977e16e1-547a-4a15-99c0-62a892a3faa4
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Connection complete for history server
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Connected to jupyter server.
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Submitting code for ca8c1082-282e-4703-9cba-93fb9138a26e
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Waiting for jupyter server and web panel ...
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Adding sys info for ca8c1082-282e-4703-9cba-93fb9138a26e 0
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Cached data exists ActivatedEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: getActivatedEnvironmentVariables, Class name = b, completed in 0ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:08: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:09: Cached data exists ActivatedEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:09: getActivatedEnvironmentVariables, Class name = b, completed in 0ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"/usr/bin/python","version":{"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"37e7cceb6d0e24c55f8c2cf1a9b9413175aa4538a35277e5afe84dd899eaab8bcc279604e0351c777c08ff2e8b69ff2c36b0df3be590eab3d6200c8b6f7d45a2","type":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:09: Cached data exists getEnvironmentVariables, <No Resource>
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:09: Sys info for ca8c1082-282e-4703-9cba-93fb9138a26e 0 complete
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:09: Wait for sys info for ca8c1082-282e-4703-9cba-93fb9138a26e 0
workbench.main.js:238 [Extension Host] Info Python Extension: 2019-06-28 17:43:09: Finished execution for a877cc7e-e597-459e-8ae1-f4e91825d808

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rchiodocommented, Jul 2, 2019

Actually the long term goal is to include support for other languages. Not sure how we’re going to ship that yet. We might split the datascience stuff into a separate extension, but we need a bunch of the code in the python extension to find/launch jupyter.

So yes? But not sure when.

This might be a good issue to upvote: https://github.com/microsoft/vscode-python/issues/5078

0reactions
otajcommented, Jul 2, 2019

That is great to hear!

BTW, definitely out of the scope of this issue or maybe even roadmap, but is there a plan to separate data-science related stuff and python extension? Because right now, that is something that Atom definitely does better. Hydrogen is completely separated from any language-dependent extension and works the same across Haskell, Python, Julia, R, or any other kernels, whereas it would seem that in VSCode, the only place where you can run jupyter kernels is this extension and if you want such functionality with any other language, you are out of luck.

I actually enjoy working in VSCode more than in Atom lately, however, because of the lack of the said Jupyter features, I have to have a separate desktop app for that (I loathe programming in a browser)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Interactive window picking wrong kernel on Linux · Issue #3310
The extension insists on opening python2 interactive console. All my python related settings. "python.autoComplete.addBrackets": true, "python.
Read more >
What to do in case of a Linux kernel panic | Enable Sysadmin
The first thing to do after seeing a kernel panic error is not to panic ,because now you are aware of the image...
Read more >
Recover Azure Linux VM from kernel-related boot issues
This article provides solutions to an issue in which a Linux virtual machine (VM) can't boot after applying kernel changes.
Read more >
This New Linux Kernel Update Can Damage Your Laptop ...
A new Linux kernel update has been found to kill laptop displays physically, thanks to a bug found with Intel's graphics driver.
Read more >
Common Illnesses — Spyder 5 documentation
If you receive the message An error occurred while starting the kernel in the ... If using Anaconda, open a terminal (Anaconda Prompt...
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