Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter notebook: Timed out waiting to get a heartbeat from kernel process. #1683

Closed
Nightenom opened this issue Oct 8, 2020 · 4 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@Nightenom
Copy link

Environment data

  • VS Code version: 1.49.2
  • Extension version (available under the Extensions sidebar): 2020.9.114305
  • OS and version: Linux x64 4.19.0-11-amd64, Debian 10, KDE Plasma 5.14.5.1-1
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): none
  • Relevant/affected Python packages and their versions: see below
  • Relevant/affected Python-related VS Code extensions and their versions: none, I guess
  • Value of the python.languageServer setting: Microsoft

jupyter --version dump:
jupyter core : 4.6.3
jupyter-notebook : not installed
qtconsole : not installed
ipython : 7.18.1
ipykernel : 5.3.4
jupyter client : 6.1.7
jupyter lab : not installed
nbconvert : not installed
ipywidgets : not installed
nbformat : not installed
traitlets : 5.0.4

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]

Expected behaviour

Jupyter notebook can be runned

Actual behaviour

Jupyter notebook does nothing, start/debug buttons do nothing, notebook itself gets rendered

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. Opening any jupyter notebook, even creating a new one

Logs


Info 2020-10-08 14:52:00: Executing cell NotebookImport#1
Info 2020-10-08 14:52:00: Waiting for jupyter server and web panel ...
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: <Uri:/media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb>, Return Value: []
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 2ms, has a truthy return value, Arg 1: <Uri:/media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb>, Return Value: []
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 2ms, has a truthy return value, Arg 1: <Uri:/media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb>, Arg 2: undefined, Return Value: []
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: <Uri:/media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb>, Return Value: []
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: <Uri:/media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb>, Return Value: []
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: <Uri:/media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb>, Return Value: [{"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/usr/bin/python3.7","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"52f703009d25e495473e2983c99f1bff17a637bd7f6bb5f3970bf0ef12da1331eabadc4b7dd30221ae85e49269aacc01f837299d0bc00aa96673d7f8a35562d3","envType":"Unknown"},{"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/bin/python3.7","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"52f703009d25e495473e2983c99f1bff17a637bd7f6bb5f3970bf0ef12da1331eabadc4b7dd30221ae85e49269aacc01f837299d0bc00aa96673d7f8a35562d3","envType":"Unknown"},{"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/usr/bin/python3.7","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"52f703009d25e495473e2983c99f1bff17a637bd7f6bb5f3970bf0ef12da1331eabadc4b7dd30221ae85e49269aacc01f837299d0bc00aa96673d7f8a35562d3","envType":"Unknown"},{"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/bin/python3.7","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"52f703009d25e495473e2983c99f1bff17a637bd7f6bb5f3970bf0ef12da1331eabadc4b7dd30221ae85e49269aacc01f837299d0bc00aa96673d7f8a35562d3","envType":"Unknown"}]
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: <Uri:/media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb>, Return Value: [{"architecture":3,"path":"/usr/bin/python3.7","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"52f703009d25e495473e2983c99f1bff17a637bd7f6bb5f3970bf0ef12da1331eabadc4b7dd30221ae85e49269aacc01f837299d0bc00aa96673d7f8a35562d3","envType":"Unknown"},{"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"}]
Info 2020-10-08 14:52:00: Cached data exists getEnvironmentVariables, /media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb
Info 2020-10-08 14:52:00: Get Interpreters, Class name = b, completed in 7ms, has a truthy return value, Arg 1: <Uri:/media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb>, Arg 2: {"onSuggestion":true}, Return Value: [{"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"}]
Info 2020-10-08 14:52:00: Cached data exists getEnvironmentVariables, <No Resource>
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 0ms, has a truthy return value, Arg 1: undefined, Return Value: []
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: undefined, Return Value: []
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: undefined, Return Value: []
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: undefined, Return Value: []
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: undefined, Return Value: []
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: undefined, Return Value: [{"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/usr/bin/python3.7","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"52f703009d25e495473e2983c99f1bff17a637bd7f6bb5f3970bf0ef12da1331eabadc4b7dd30221ae85e49269aacc01f837299d0bc00aa96673d7f8a35562d3","envType":"Unknown"},{"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/bin/python3.7","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"52f703009d25e495473e2983c99f1bff17a637bd7f6bb5f3970bf0ef12da1331eabadc4b7dd30221ae85e49269aacc01f837299d0bc00aa96673d7f8a35562d3","envType":"Unknown"},{"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/usr/bin/python3.7","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"52f703009d25e495473e2983c99f1bff17a637bd7f6bb5f3970bf0ef12da1331eabadc4b7dd30221ae85e49269aacc01f837299d0bc00aa96673d7f8a35562d3","envType":"Unknown"},{"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/bin/python3.7","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"52f703009d25e495473e2983c99f1bff17a637bd7f6bb5f3970bf0ef12da1331eabadc4b7dd30221ae85e49269aacc01f837299d0bc00aa96673d7f8a35562d3","envType":"Unknown"}]
Info 2020-10-08 14:52:00: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: undefined, Return Value: [{"architecture":3,"path":"/usr/bin/python3.7","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"52f703009d25e495473e2983c99f1bff17a637bd7f6bb5f3970bf0ef12da1331eabadc4b7dd30221ae85e49269aacc01f837299d0bc00aa96673d7f8a35562d3","envType":"Unknown"},{"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"}]
Info 2020-10-08 14:52:00: Get Interpreters, Class name = b, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: undefined, Return Value: [{"architecture":3,"path":"/usr/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"},{"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown"}]
Info 2020-10-08 14:52:00: Using current interpreter for kernel python3, Python 3
Info 2020-10-08 14:52:00: getActivatedEnvironmentVariables, Class name = E, completed in 0ms, has a falsy return value, Arg 1: undefined, Arg 2: {"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
Info 2020-10-08 14:52:00: Cached data exists getEnvironmentVariables, <No Resource>
Info 2020-10-08 14:52:00: > /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2020-10-08 14:52:00: > /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2020-10-08 14:52:01: Cached data exists getEnvironmentVariables, /media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb
Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): Execute rpc method start_prewarmed_kernel in DS Daemon
Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): Execute rpc method start_prewarmed_kernel from /bin/python3
Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): Start pre-warmed Kernel in DS Kernel Launcher Daemon 5198 with args ['ipykernel_launcher', '--ip=127.0.0.1', '--stdin=9008', '--control=9006', '--hb=9005', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"80a4ee46-ad8f-4fbb-935e-6f9037df5981"', '--shell=9007', '--transport="tcp"', '--iopub=9009', '--f=/media/schimpet/progs/apps/linux64/vscode/data/tmp/tmp-5013eEoTuUP6fPmH.json']
Info 2020-10-08 14:52:01: getActivatedEnvironmentVariables, Class name = E, completed in 0ms, has a falsy return value, Arg 1: undefined, Arg 2: {"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
Info 2020-10-08 14:52:01: Cached data exists getEnvironmentVariables, <No Resource>
Info 2020-10-08 14:52:01: > /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2020-10-08 14:52:01: > /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2020-10-08 14:52:01: KernelProcess output: Content-Length: 141
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: Traceback (most recent call last):\n", "pid": 5197}}
Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr: Traceback (most recent call last):

Info 2020-10-08 14:52:01: KernelProcess output: Content-Length: 117
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "Traceback (most recent call last):\n"}}Content-Length: 289
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/vscode_datascience_helpers/../pyvsc-run-isolated.py\", line 24, in <module>\n", "pid": 5197}}Content-Length: 265
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/vscode_datascience_helpers/../pyvsc-run-isolated.py\", line 24, in <module>\n"}}Content-Length: 156
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     runpy.run_path(module, run_name=\"__main__\")\n", "pid": 5197}}Content-Length: 132
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    runpy.run_path(module, run_name=\"__main__\")\n"}}Content-Length: 168
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/usr/lib/python3.7/runpy.py\", line 263, in run_path\n", "pid": 5197}}Content-Length: 144
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/usr/lib/python3.7/runpy.py\", line 263, in run_path\n"}}Content-Length: 148
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     pkg_name=pkg_name, script_name=fname)\n", "pid": 5197}}Content-Length: 124
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    pkg_name=pkg_name, script_name=fname)\n"}}Content-Length: 175
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/usr/lib/python3.7/runpy.py\", line 96, in _run_module_code\n", "pid": 5197}}Content-Length: 151
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/usr/lib/python3.7/runpy.py\", line 96, in _run_module_code\n"}}Content-Length: 153
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     mod_name, mod_spec, pkg_name, script_name)\n", "pid": 5197}}Content-Length: 129
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    mod_name, mod_spec, pkg_name, script_name)\n"}}Content-Length: 168
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/usr/lib/python3.7/runpy.py\", line 85, in _run_code\n", "pid": 5197}}Content-Length: 144
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/usr/lib/python3.7/runpy.py\", line 85, in _run_code\n"}}Content-Length: 134
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     exec(code, run_globals)\n", "pid": 5197}}Content-Length: 110
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    exec(code, run_globals)\n"}}Content-Length: 290
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/vscode_datascience_helpers/kernel_prewarm_starter.py\", line 31, in <module>\n", "pid": 5197}}Content-Length: 266
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/vscode_datascience_helpers/kernel_prewarm_starter.py\", line 31, in <module>\n"}}Content-Length: 175
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     runpy.run_module(module, run_name=\"__main__\", alter_sys=False)\n", "pid": 5197}}Content-Length: 151
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    runpy.run_module(module, run_name=\"__main__\", alter_sys=False)\n"}}Content-Length: 170
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/usr/lib/python3.7/runpy.py\", line 208, in run_module\n", "pid": 5197}}Content-Length: 146
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/usr/lib/python3.7/runpy.py\", line 208, in run_module\n"}}Content-Length: 171
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     return _run_code(code, {}, init_globals, run_name, mod_spec)\n", "pid": 5197}}Content-Length: 147
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    return _run_code(code, {}, init_globals, run_name, mod_spec)\n"}}
Error 2020-10-08 14:52:01: Kernel died [r [Error]: Traceback (most recent call last):

	at t._next (/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:54:664931)
	at t.__tryOrUnsub (/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:24:5463)
	at t.next (/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:24:4632)
	at t._next (/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:24:3736)
	at t.next (/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:24:3407)
	at t.next (/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:24:8976)
	at /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:9:60009
	at /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:47:362324
	at /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:47:362542
	at Immediate._onImmediate (/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:47:364107)
	at processImmediate (internal/timers.js:439:21)
	at process.topLevelDomainCallback (domain.js:130:23)] 
Info 2020-10-08 14:52:01: KernelProcess output: Content-Length: 168
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/usr/lib/python3.7/runpy.py\", line 85, in _run_code\n", "pid": 5197}}Content-Length: 144
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/usr/lib/python3.7/runpy.py\", line 85, in _run_code\n"}}Content-Length: 134
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     exec(code, run_globals)\n", "pid": 5197}}Content-Length: 110
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    exec(code, run_globals)\n"}}Content-Length: 206
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/home/fel/.local/lib/python3.7/site-packages/ipykernel_launcher.py\", line 16, in <module>\n", "pid": 5197}}Content-Length: 182
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/home/fel/.local/lib/python3.7/site-packages/ipykernel_launcher.py\", line 16, in <module>\n"}}Content-Length: 136
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     app.launch_new_instance()\n", "pid": 5197}}Content-Length: 112
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    app.launch_new_instance()\n"}}Content-Length: 224
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/home/fel/.local/lib/python3.7/site-packages/traitlets/config/application.py\", line 836, in launch_instance\n", "pid": 5197}}Content-Length: 200
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/home/fel/.local/lib/python3.7/site-packages/traitlets/config/application.py\", line 836, in launch_instance\n"}}Content-Length: 131
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     app.initialize(argv)\n", "pid": 5197}}Content-Length: 107
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    app.initialize(argv)\n"}}Content-Length: 213
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/home/fel/.local/lib/python3.7/site-packages/traitlets/config/application.py\", line 86, in inner\n", "pid": 5197}}Content-Length: 189
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/home/fel/.local/lib/python3.7/site-packages/traitlets/config/application.py\", line 86, in inner\n"}}Content-Length: 146
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     return method(app, *args, **kwargs)\n", "pid": 5197}}Content-Length: 122
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    return method(app, *args, **kwargs)\n"}}Content-Length: 210
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/home/fel/.local/lib/python3.7/site-packages/ipykernel/kernelapp.py\", line 570, in initialize\n", "pid": 5197}}Content-Length: 186
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/home/fel/.local/lib/python3.7/site-packages/ipykernel/kernelapp.py\", line 570, in initialize\n"}}Content-Length: 139
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     self.write_connection_file()\n", "pid": 5197}}Content-Length: 115
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    self.write_connection_file()\n"}}Content-Length: 221
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/home/fel/.local/lib/python3.7/site-packages/ipykernel/kernelapp.py\", line 232, in write_connection_file\n", "pid": 5197}}Content-Length: 197
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/home/fel/.local/lib/python3.7/site-packages/ipykernel/kernelapp.py\", line 232, in write_connection_file\n"}}Content-Length: 170
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     iopub_port=self.iopub_port, control_port=self.control_port)\n", "pid": 5197}}Content-Length: 146
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    iopub_port=self.iopub_port, control_port=self.control_port)\n"}}Content-Length: 224
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/home/fel/.local/lib/python3.7/site-packages/jupyter_client/connect.py\", line 138, in write_connection_file\n", "pid": 5197}}Content-Length: 200
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/home/fel/.local/lib/python3.7/site-packages/jupyter_client/connect.py\", line 138, in write_connection_file\n"}}Content-Length: 141
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     with secure_write(fname) as f:\n", "pid": 5197}}Content-Length: 117
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    with secure_write(fname) as f:\n"}}Content-Length: 174
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/usr/lib/python3.7/contextlib.py\", line 112, in __enter__\n", "pid": 5197}}Content-Length: 150
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/usr/lib/python3.7/contextlib.py\", line 112, in __enter__\n"}}Content-Length: 132
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     return next(self.gen)\n", "pid": 5197}}Content-Length: 108
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    return next(self.gen)\n"}}Content-Length: 211
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   File \"/home/fel/.local/lib/python3.7/site-packages/jupyter_core/paths.py\", line 447, in secure_write\n", "pid": 5197}}Content-Length: 187
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  File \"/home/fel/.local/lib/python3.7/site-packages/jupyter_core/paths.py\", line 447, in secure_write\n"}}Content-Length: 159
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:     .format(file=fname, permissions=oct(file_mode)))\n", "pid": 5197}}Content-Length: 135
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "    .format(file=fname, permissions=oct(file_mode)))\n"}}Content-Length: 280
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: RuntimeError: Permissions assignment failed for secure file: '/media/schimpet/progs/apps/linux64/vscode/data/tmp/tmp-5013eEoTuUP6fPmH.json'. Got '0o677' instead of '0o0600'.\n", "pid": 5197}}Content-Length: 256
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "RuntimeError: Permissions assignment failed for secure file: '/media/schimpet/progs/apps/linux64/vscode/data/tmp/tmp-5013eEoTuUP6fPmH.json'. Got '0o677' instead of '0o0600'.\n"}}
Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/vscode_datascience_helpers/../pyvsc-run-isolated.py", line 24, in <module>

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     runpy.run_path(module, run_name="__main__")

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/usr/lib/python3.7/runpy.py", line 263, in run_path

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     pkg_name=pkg_name, script_name=fname)

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/usr/lib/python3.7/runpy.py", line 96, in _run_module_code

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     mod_name, mod_spec, pkg_name, script_name)

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     exec(code, run_globals)

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/vscode_datascience_helpers/kernel_prewarm_starter.py", line 31, in <module>

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     runpy.run_module(module, run_name="__main__", alter_sys=False)

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/usr/lib/python3.7/runpy.py", line 208, in run_module

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     return _run_code(code, {}, init_globals, run_name, mod_spec)

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     exec(code, run_globals)

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/home/fel/.local/lib/python3.7/site-packages/ipykernel_launcher.py", line 16, in <module>

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     app.launch_new_instance()

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/home/fel/.local/lib/python3.7/site-packages/traitlets/config/application.py", line 836, in launch_instance

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     app.initialize(argv)

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/home/fel/.local/lib/python3.7/site-packages/traitlets/config/application.py", line 86, in inner

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     return method(app, *args, **kwargs)

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/home/fel/.local/lib/python3.7/site-packages/ipykernel/kernelapp.py", line 570, in initialize

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     self.write_connection_file()

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/home/fel/.local/lib/python3.7/site-packages/ipykernel/kernelapp.py", line 232, in write_connection_file

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     iopub_port=self.iopub_port, control_port=self.control_port)

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/home/fel/.local/lib/python3.7/site-packages/jupyter_client/connect.py", line 138, in write_connection_file

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     with secure_write(fname) as f:

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     return next(self.gen)

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:   File "/home/fel/.local/lib/python3.7/site-packages/jupyter_core/paths.py", line 447, in secure_write

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr:     .format(file=fname, permissions=oct(file_mode)))

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr: RuntimeError: Permissions assignment failed for secure file: '/media/schimpet/progs/apps/linux64/vscode/data/tmp/tmp-5013eEoTuUP6fPmH.json'. Got '0o677' instead of '0o0600'.

Info 2020-10-08 14:52:01: KernelProcess output: Content-Length: 127
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "WARNING", "msg": "Kernel has exited with exit code 1, ", "pid": 5197}}Content-Length: 85
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "kernel_died", "params": {"exit_code": 1, "reason": ""}}
Warn 2020-10-08 14:52:01: Python Daemon (pid: 5197): Kernel has exited with exit code 1, 
Info 2020-10-08 14:52:01: getActivatedEnvironmentVariables, Class name = E, completed in 0ms, has a falsy return value, Arg 1: <Uri:/media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb>, Arg 2: {"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
Info 2020-10-08 14:52:01: Cached data exists getEnvironmentVariables, /media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb
Info 2020-10-08 14:52:01: getActivatedEnvironmentVariables, Class name = E, completed in 2ms, has a falsy return value, Arg 1: <Uri:/media/schimpet/progs/data/fel/rpz/assignment_bayes_template/bayes.ipynb>, Arg 2: {"architecture":3,"path":"/bin/python3","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.3-final","major":3,"minor":7,"patch":3,"prerelease":["final"],"build":[],"version":"3.7.3-final"},"sysPrefix":"/usr","fileHash":"d0dd8db27112d478663fb40a4dcbbab34b7f93571453e5f98381f616a5b2e02c631b2a0d7d5fc7ef1b8165b88e1db75547d3ca29025d9d77966075be85c4ff51","envType":"Unknown","displayName":"Python 3.7.3 64-bit"}, Arg 3: true
Info 2020-10-08 14:52:01: > /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2020-10-08 14:52:01: > /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /bin/python3 /media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2020-10-08 14:52:01: Python Daemon (pid: 5241): Execute rpc method prewarm_kernel in DS Daemon
Info 2020-10-08 14:52:01: Python Daemon (pid: 5241): Execute rpc method prewarm_kernel from /bin/python3
Info 2020-10-08 14:52:01: Python Daemon (pid: 5241): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
Info 2020-10-08 14:52:01: Python Daemon (pid: 5241): Exec in DS Kernel Launcher Daemon (observable) ['/bin/python3', '/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/vscode_datascience_helpers/../pyvsc-run-isolated.py', '/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/pythonFiles/vscode_datascience_helpers/kernel_prewarm_starter.py']
Info 2020-10-08 14:52:01: Python Daemon (pid: 5241): Exec in DS Kernel Launcher Daemon (observable)
Info 2020-10-08 14:52:01: Python Daemon (pid: 5241): Kernel launched, with PID 5242
Warn 2020-10-08 14:52:01: Python Daemon (pid: 5241): Waiting for Kernel to die 5242
Info 2020-10-08 14:52:01: Python Daemon (pid: 5241): Kernel launched, with PID as a daemon 5242
Error 2020-10-08 14:52:31: Timed out waiting to get a heartbeat from kernel process.
Error 2020-10-08 14:52:31: Failed to connect raw kernel session: Error: Timed out waiting to get a heartbeat from kernel process.
Info 2020-10-08 14:52:31: Shutdown session -- complete
Info 2020-10-08 14:52:31: Exception executing cell NotebookImport#1:  [Error: Timed out waiting to get a heartbeat from kernel process.
	at f.waitForHeartbeat (/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:56:574362)]
Info 2020-10-08 14:52:31: Finished executing cell NotebookImport#1
Error 2020-10-08 14:52:31: DataScience Error [Error: Timed out waiting to get a heartbeat from kernel process.
	at f.waitForHeartbeat (/media/schimpet/progs/apps/data/vscode/data/extensions/ms-python.python-2020.9.114305/out/client/extension.js:56:574362)]
Info 2020-10-08 14:52:31: KernelProcess output: Content-Length: 131
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Execute rpc method kill_kernel in DS Daemon", "pid": 5197}}
Info 2020-10-08 14:52:31: Python Daemon (pid: 5197): Execute rpc method kill_kernel in DS Daemon
Info 2020-10-08 14:52:31: KernelProcess output: Content-Length: 136
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Execute rpc method kill_kernel from /bin/python3", "pid": 5197}}Content-Length: 128
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "Kill kernel in DS Kernel Launcher Daemon", "pid": 5197}}Content-Length: 43
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "id": 3, "result": null}
Info 2020-10-08 14:52:31: Python Daemon (pid: 5197): Execute rpc method kill_kernel from /bin/python3
Info 2020-10-08 14:52:31: Python Daemon (pid: 5197): Kill kernel in DS Kernel Launcher Daemon
Info 2020-10-08 14:52:31: KernelProcess Exit Exit - null
   
   
@DonJayamanne
Copy link
Contributor

Thanks for reporting this issue.
Based on the logs, it looks like Jupyter is falling over with the following error:

Info 2020-10-08 14:52:01: Python Daemon (pid: 5197): write to stderr: RuntimeError: Permissions assignment failed for secure file: '/media/schimpet/progs/apps/linux64/vscode/data/tmp/tmp-5013eEoTuUP6fPmH.json'. Got '0o677' instead of '0o0600'.

Please could you provide the following information:

  • Python interpreter selected for the workspace (bottom left)
  • python -m pip list to get a list of packages installed

@Nightenom
Copy link
Author

Nightenom commented Oct 11, 2020

Python interpreter selected for the workspace (bottom left)

Python 3.7.3 64-bit, located at /bin/python3 or /usr/bin/python3, both locations are causing the problem

python -m pip list to get a list of packages installed

appdirs               1.4.4
argon2-cffi           20.1.0
asn1crypto            0.24.0
astroid               2.1.0
async-generator       1.10
atomicwrites          1.1.5
attrs                 18.2.0
autopep8              1.4.3
backcall              0.2.0
beautifulsoup4        4.7.1
black                 20.8b1
bleach                3.2.1
certifi               2018.8.24
cffi                  1.14.3
chardet               3.0.4
click                 7.1.2
cryptography          2.6.1
cycler                0.10.0
decorator             4.3.0
defusedxml            0.6.0
distro                1.3.0
entrypoints           0.3
html5lib              1.0.1
httplib2              0.11.3
idna                  2.6
importlib-metadata    2.0.0
ipykernel             5.3.4
ipython               7.18.1
ipython-genutils      0.2.0
isort                 4.3.4
jedi                  0.17.2
Jinja2                2.11.2
jsonschema            3.2.0
jupyter-client        6.1.7
jupyter-core          4.6.3
jupyterlab-pygments   0.1.2
keyring               17.1.1
keyrings.alt          3.1.1
kiwisolver            1.0.1
lazy-object-proxy     1.3.1
logilab-common        1.4.2
lxml                  4.3.2
MarkupSafe            1.1.1
matplotlib            3.0.2
mccabe                0.6.1
mistune               0.8.4
more-itertools        4.2.0
mypy-extensions       0.4.3
nbclient              0.5.0
nbconvert             6.0.7
nbformat              5.0.7
nest-asyncio          1.4.1
notebook              6.1.4
numexpr               2.6.9
numpy                 1.16.2
olefile               0.46
packaging             20.4
pandas                0.23.3+dfsg
pandocfilters         1.4.2
parso                 0.7.1
pathspec              0.8.0
patsy                 0.5.0+dev
pep8                  1.7.1
pexpect               4.8.0
pickleshare           0.7.5
Pillow                5.4.1
pip                   20.2.3
pluggy                0.8.0
prometheus-client     0.8.0
prompt-toolkit        3.0.7
ptyprocess            0.6.0
py                    1.7.0
pycodestyle           2.6.0
pycparser             2.20
pycrypto              2.6.1
pycurl                7.43.0.2
Pygments              2.7.1
PyGObject             3.30.4
pylint                2.2.2
pyparsing             2.2.0
pyrsistent            0.17.3
PySimpleSOAP          1.16.2
pytest                3.10.1
python-apt            1.8.4.1
python-dateutil       2.7.3
python-debian         0.1.35
python-debianbts      2.8.2
python-networkmanager 2.1
pytz                  2019.1
pyxdg                 0.25
pyzmq                 19.0.2
regex                 2020.9.27
reportbug             7.5.3-deb10u1
requests              2.21.0
scipy                 1.1.0
seaborn               0.9.0
SecretStorage         2.3.1
Send2Trash            1.5.0
setuptools            40.8.0
simplegeneric         0.8.1
six                   1.12.0
soupsieve             1.8
tables                3.4.4
terminado             0.9.1
testpath              0.4.4
toml                  0.10.1
tornado               6.0.4
traitlets             5.0.4
typed-ast             1.4.1
typing-extensions     3.7.4.3
urllib3               1.24.1
virtualenv            15.1.0
wcwidth               0.2.5
webencodings          0.5.1
wheel                 0.32.3
wrapt                 1.10.11
zipp                  3.3.0

Note: I don't have installed python2 at all except (dpkg -l | grep python2):

ii  libpython2.7:amd64                            2.7.16-2+deb10u1                    amd64
ii  libpython2.7-minimal:amd64                    2.7.16-2+deb10u1                    amd64
ii  libpython2.7-stdlib:amd64                     2.7.16-2+deb10u1                    amd64

@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 13, 2020
@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug info needed info-needed Issue requires more information from poster and removed temp-parking labels Nov 13, 2020
@Nightenom
Copy link
Author

Are you missing any info on this?
The issue still persists in recent updates

@DonJayamanne
Copy link
Contributor

Closing as a dup of #1644

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants