Unable to start kernel - Waiting for Jupiter Session to be Idle (Kernel fails to start as completions request crahes without sending a response back)

Applies To

[X] Notebooks (.ipynb files)
[X] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
First of all - thank you so much for making this extension!
Expected: I run docker container tensorflow/tensorflow:2.6.0-gpu-jupyter on my server that has a GPU, since I am connecting from a M1 Mac. I have used this for weeks without issue. I would connect to the server with IP + token and the system would just work.
Actually:

I restarted my docker container yesterday on the server and opened VSCode. I think the plug-in as able to connect to my server, but when I try to run any cells, it just says Connecting to kernel: Python 3: Waiting for Jupiter Session to be idle. This message stays up for hours even.
In the top right, where I would select the kernel also, I always thought it would say (Remote) next to the kernel name, so I'm not sure if now my system and the server's kernels are getting confused?
I logged into the jupyter URL via browser and was able to see Notebook running so it's like commands are being sent but not received. I wonder if the ZeroMQ error is related as mentioned at the top of the Jupyter Logs output.

Anyways, I pasted the Jupyter extension logs below. To help explain the logs better and put a few character returns in for easier reading.

Everything up to and including 09:50:32: This is me just starting up VSCode
09:51:08 - This is me connecting to the server by specifying the URI + token
09:51:52 - This is mean trying to execute a cell.

VS Code Version
Version: 1.64.2 (Universal) Commit: f80445acd5a3dadef24aa209168452a3d97cc326 Date: 2022-02-09T22:00:58.347Z Electron: 13.5.2 Chromium: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Darwin arm64 20.6.0
Jupyter Extension Version
v2022.1.1201831736
Jupyter logs
Visual Studio Code (1.64.2, undefined, desktop)
Jupyter Extension Version: 2022.1.1201831736.
Python Extension Version: 2022.0.1814523869.
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Error 09:50:32: Exception while attempting zmq : [Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=89 uv=1 armv=8 libc=glibc node=14.16.0 electron=13.5.2
    loaded from: /Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/node_modules/zeromq

    at Function.load.path (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/node_modules/node-gyp-build/index.js:59:9)
    at load (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/node_modules/node-gyp-build/index.js:21:30)
    at Object.<anonymous> (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/node_modules/zeromq/lib/native.js:6:43)
    at Module.u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1313)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
    at Module.load (internal/modules/cjs/loader.js:982:32)
    at Module._load (internal/modules/cjs/loader.js:823:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:32271)
    at Function.p._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:28855)
    at Function.v._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:107:60382)
    at Module.require (internal/modules/cjs/loader.js:1006:19)
    at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
    at Object.<anonymous> (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/node_modules/zeromq/lib/index.js:3:16)
    at Module.u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1313)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
    at Module.load (internal/modules/cjs/loader.js:982:32)
    at Module._load (internal/modules/cjs/loader.js:823:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:32271)
    at Function.p._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:112:28855)
    at Function.v._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:107:60382)
    at Module.require (internal/modules/cjs/loader.js:1006:19)
    at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:699)
    at Object.<anonymous> (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/extension.js:51:195125)
    at n (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/extension.js:1:186)
    at d.zmqSupported (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/extension.js:113:223967)
    at d.isSupportedForLocalLaunch (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/extension.js:113:223758)
    at d.get isSupported [as isSupported] (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/extension.js:113:223668)
    at t.registerTypes (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/extension.js:66:1057793)
    at /Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/extension.js:66:275217
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async /Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/extension.js:51:785307
    at async t.activate (/Users/topcat/.vscode/extensions/ms-toolsai.jupyter-2022.1.1201831736/out/client/extension.js:51:784986)
    at async Promise.all (index 0)]
Info 09:50:32: Checking for server existence.
Info 09:50:32: Checking for server usability.
Info 09:50:32: Starting notebook server.
Info 09:50:32: Connecting to server
Info 09:50:32: Connecting to process server
Info 09:50:32: Connecting server kernel http://<IP_ADDRESS>:8888/
Connecting to Jupyter server at http://<IP_ADDRESS>:8888/
Info 09:50:32: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"finenow","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 09:50:32: Connection complete server
Info 09:50:32: Server started.
Info 09:50:32: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"finenow","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 09:50:32: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 09:50:33: Disposing session manager
Info 09:50:33: SessionManager - dispose contents manager
Info 09:50:33: ShutdownSessionAndConnection - dispose session manager
Info 09:50:33: Finished disposing jupyter session manager
Info 09:50:33: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"finenow","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 09:50:33: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"finenow","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 09:50:33: Disposing session manager
Info 09:50:33: SessionManager - dispose contents manager
Info 09:50:33: ShutdownSessionAndConnection - dispose session manager
Info 09:50:33: Finished disposing jupyter session manager
Info 09:50:33: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"finenow","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 09:50:33: Disposing session manager
Info 09:50:33: SessionManager - dispose contents manager
Info 09:50:33: ShutdownSessionAndConnection - dispose session manager
Info 09:50:33: Finished disposing jupyter session manager
Info 09:50:33: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"finenow","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 09:50:33: Disposing session manager
Info 09:50:33: SessionManager - dispose contents manager
Info 09:50:33: ShutdownSessionAndConnection - dispose session manager
Info 09:50:33: Finished disposing jupyter session manager
Info 09:50:33: Find preferred kernel for ~/Documents/Code/processor/Classification copy.ipynb with metadata {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"}} & preferred interpreter
Info 09:50:33: Preferred Remote kernel for ~/Documents/Code/processor/Classification copy.ipynb is 29edf0b4-7eb9-4b0f-bb4b-9154a6a8cda0
Info 09:50:33: PreferredConnection: 29edf0b4-7eb9-4b0f-bb4b-9154a6a8cda0 found for NotebookDocument: ~/Documents/Code/processor/Classification copy.ipynb
Info 09:50:33: TargetController found ID: 29edf0b4-7eb9-4b0f-bb4b-9154a6a8cda0 for document ~/Documents/Code/processor/Classification copy.ipynb
Info 09:50:33: Setting controller affinity for ~/Documents/Code/processor/Classification copy.ipynb 29edf0b4-7eb9-4b0f-bb4b-9154a6a8cda0
Info 09:50:33: Disposing session manager
Info 09:50:33: SessionManager - dispose contents manager
Info 09:50:33: ShutdownSessionAndConnection - dispose session manager
Info 09:50:33: Finished disposing jupyter session manager
Info 09:50:33: Find preferred kernel for ~/Documents/Code/processor/Classification.ipynb with metadata {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"}} & preferred interpreter
Info 09:50:33: Preferred Remote kernel for ~/Documents/Code/processor/Classification.ipynb is 46b01be8-6f93-4cca-a637-5454eab31f94
Info 09:50:33: PreferredConnection: http://<IP_ADDRESS>:8888/..python3./usr/bin/python3..-m#ipykernel_launcher found for NotebookDocument: ~/Documents/Code/processor/Classification.ipynb
Info 09:50:33: TargetController found ID: http://<IP_ADDRESS>:8888/..python3./usr/bin/python3..-m#ipykernel_launcher for document ~/Documents/Code/processor/Classification.ipynb
Info 09:50:33: Setting controller affinity for ~/Documents/Code/processor/Classification.ipynb http://<IP_ADDRESS>:8888/..python3./usr/bin/python3..-m#ipykernel_launcher
Info 09:50:33: Interrupt requested & no kernel.
Info 09:50:33: Setting setActiveController for ~/Documents/Code/processor/Classification copy.ipynb
Info 09:50:33: Setting setActiveController for ~/Documents/Code/processor/Classification.ipynb
Info 09:50:33: KernelProvider switched kernel to id = http://<IP_ADDRESS>:8888/..python3./usr/bin/python3..-m#ipykernel_launcher
Info 09:50:33: KernelProvider switched kernel to id = http://<IP_ADDRESS>:8888/..python3./usr/bin/python3..-m#ipykernel_launcher
Info 09:50:33: Creating controller for jupyter-notebook with interpreter /opt/homebrew/bin/python3
Info 09:50:33: Getting activation commands for /opt/homebrew/bin/python3 are not cached. May take a while.
Info 09:50:33: Creating controller for jupyter-notebook with interpreter /opt/homebrew/bin/python3
Info 09:50:33: Process Execution: > /opt/homebrew/bin/python3 -c "import jupyter"
> /opt/homebrew/bin/python3 -c "import jupyter"
Info 09:50:33: Process Execution: > /opt/homebrew/bin/python3 -c "import notebook"
> /opt/homebrew/bin/python3 -c "import notebook"
Info 09:50:33: Process Execution: > /opt/homebrew/bin/python3 -m pip list
> /opt/homebrew/bin/python3 -m pip list
Info 09:50:33: Registering dummy command feature

Info 09:51:08: Checking for server existence.
Info 09:51:08: Checking for server usability.
Info 09:51:08: Starting notebook server.
Info 09:51:08: Server started.
Info 09:51:08: Creating server with settings : {"baseUrl":"http://<IP_ADDRESS>:8888/","appUrl":"","wsUrl":"ws://<IP_ADDRESS>:8888/","token":"finenow","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 09:51:08: Disposing session manager
Info 09:51:08: SessionManager - dispose contents manager
Info 09:51:08: ShutdownSessionAndConnection - dispose session manager
Info 09:51:08: Finished disposing jupyter session manager

Info 09:51:52: Execute Cells request 1
Info 09:51:52: Execute Cell 1 ~/Documents/Code/processor/Classification copy.ipynb
Info 09:51:52: Starting Notebook in kernel.ts id = http://<IP_ADDRESS>:8888/..python3./usr/bin/python3..-m#ipykernel_launcher
Info 09:51:52: Starting a new session for kernel id = http://<IP_ADDRESS>:8888/..python3./usr/bin/python3..-m#ipykernel_launcher, name = python3
http://<IP_ADDRESS>:8888/: Kernel started: f21a39fc-3615-4760-b661-1237b0a842d1
Info 09:51:52: Waiting for idle on (kernel): f21a39fc-3615-4760-b661-1237b0a842d1 -> unknown
Info 09:51:53: Finished waiting for idle on (kernel): f21a39fc-3615-4760-b661-1237b0a842d1 -> idle
Info 09:51:53: Started session for kernel http://<IP_ADDRESS>:8888/..python3./usr/bin/python3..-m#ipykernel_launcher
Info 09:51:53: Waiting for idle (session) kernel http://<IP_ADDRESS>:8888/..python3./usr/bin/python3..-m#ipykernel_launcher
Info 09:51:53: Waiting for idle on (kernel): f21a39fc-3615-4760-b661-1237b0a842d1 -> idle
Info 09:51:53: Finished waiting for idle on (kernel): f21a39fc-3615-4760-b661-1237b0a842d1 -> idle
Info 09:51:53: Finished connecting kernel http://<IP_ADDRESS>:8888/..python3./usr/bin/python3..-m#ipykernel_launcher
http://<IP_ADDRESS>:8888/: Creating new notebook
Info 09:51:53: Updating preferred kernel for remote notebook f21a39fc-3615-4760-b661-1237b0a842d1
Info 09:51:53: Storing Preferred remote kernel for ~/Documents/Code/processor/Classification copy.ipynb is f21a39fc-3615-4760-b661-1237b0a842d1

Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Remote

Thanks for filing this issue.
This could happen if the remote kernel is already busy running something. Are you able to confirm the kernel is not busy?

Can you connect to the kernel from classic Jupyter notebook or Jupyter Lab.

We're looking into being able to connect to kernels that are still busy running (executing code).

I happen to have the same issue on Windows. I cannot connect to the kernel after updating the vscode yesterday. And vscode keeps showing "Connecting to kernel: Python ...: waiting for Jupyter Session to be idle."
FYI, I can access the same kernel thru the Jupyther hub.

@panxnan @jcn2185
I've published a new version of the extesnion, however its a pre-release. Please open the extension panel and ensure you select to install the pre-release version. THe version you need is 2022.2.1010210340
Please let me know how this goes

I can report the same issue on OSX.

@panxnan @jcn2185 @JorisDeRidder
I'm sorry about this issue and trying to get to the bottom of this.
I've published a new version of the extension, however its a pre-release. Please open the extension panel and ensure you select to install the pre-release version. The version you need is 2022.2.1010212280
Please let me know how this goes, if it doesn't work then:

Please enable verbose logging as follows

Open the settings screen and enable verbose loggingas follows

Reload VS Code
Replicate the issue
Copy the output from the Jupyter output panel & paste all of the contents here (into the issue)
Also please provide a screenshot of the issue (message)

The Jupyter output panel indeed lists an error caused by Jedi (see below). Although it will affect the autocompletion, I'm not sure it also causes the eternal "Waiting for Jupyter session to be idle". The output log explicitly mentions that it set the status to idle.

In any case, I don't see how to downgrade jedi without rendering the entire conda environment inconsistent.
Info 02:29:41: Raw session started and connected
Started kernel base (Python 3.8.5)
Info 02:29:41: Finished connecting b49994a0-8c6e-4094-97a7-d0c46607a7af
Verbose 02:29:41: Started running kernel initialization
Verbose 02:29:41: Requesting completions, Class name = M (started execution),
Verbose 02:29:41: Waiting for completions request to complete
Verbose 02:29:41: IKernel Status change to busy
Verbose 02:29:42: KernelProcess error: [IPKernelApp] ERROR | Exception in message handler:
Traceback (most recent call last):
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/ipykernel/kernelbase.py", line 268, in dispatch_shell
    yield gen.maybe_future(handler(stream, idents, msg))
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/tornado/gen.py", line 735, in run
    value = future.result()
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/tornado/gen.py", line 209, in wrapper
    yielded = next(result)
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/ipykernel/kernelbase.py", line 583, in complete_request
    matches = yield gen.maybe_future(self.do_complete(code, cursor_pos))
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/ipykernel/ipkernel.py", line 360, in do_complete
    return self._experimental_do_complete(code, cursor_pos)
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/ipykernel/ipkernel.py", line 385, in _experimental_do_complete
    completions = list(_rectify_completions(code, raw_completions))
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/IPython/core/completer.py", line 484, in rectify_completions
    completions = list(completions)
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/IPython/core/completer.py", line 1818, in completions
    for c in self._completions(text, offset, _timeout=self.jedi_compute_type_timeout/1000):
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/IPython/core/completer.py", line 1861, in _completions
    matched_text, matches, matches_origin, jedi_matches = self._complete(
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/IPython/core/completer.py", line 2029, in _complete
    completions = self._jedi_matches(
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/IPython/core/completer.py", line 1373, in _jedi_matches
    interpreter = jedi.Interpreter(
  File "/Users/xxxx/anaconda3/lib/python3.8/site-packages/jedi/api/__init__.py", line 725, in __init__
    super().__init__(code, environment=environment,
TypeError: __init__() got an unexpected keyword argument 'column'

Verbose 02:29:42: IKernel Status change to idle
Verbose 02:29:42: VSCodeNotebookController::handleExecution, Class name = C (started execution)
Info 02:29:42: Execute Cells request 2
Info 02:29:42: Execute Cell 2 ~/mynotebook.ipynb
Verbose 02:29:42: Getting env activation commands, Class name = r (started execution), Arg 1: "~/mynotebook.ipynb", Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Getting activation commands for /Users/xxxx/anaconda3/bin/python
Verbose 02:29:42: Getting activation commands for /Users/xxxx/anaconda3/bin/python are cached.
Verbose 02:29:42: Getting env activation commands, Class name = r, completed in 0ms, has a truthy return value, Arg 1: "~/mynotebook.ipynb", Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Getting activated env variables from Python, Class name = r, completed in 2844ms, has a truthy return value, Arg 1: "~/mynotebook.ipynb", Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Got env vars with python ~/anaconda3/bin/python in 2844ms
Verbose 02:29:42: Getting env activation commands, Class name = r (started execution), Arg 1: "~/mynotebook.ipynb", Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Getting activation commands for /Users/xxxx/anaconda3/bin/python
Verbose 02:29:42: Getting activation commands for /Users/xxxx/anaconda3/bin/python are cached.
Verbose 02:29:42: Getting env activation commands, Class name = r, completed in 1ms, has a truthy return value, Arg 1: "~/mynotebook.ipynb", Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Getting activated env variables from Python, Class name = r, completed in 2851ms, has a truthy return value, Arg 1: "~/mynotebook.ipynb", Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Got env vars with python ~/anaconda3/bin/python in 2853ms
Verbose 02:29:42: Getting env activation commands, Class name = r (started execution), Arg 1: undefined, Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Getting activation commands for /Users/xxxx/anaconda3/bin/python
Verbose 02:29:42: Getting activation commands for /Users/xxxx/anaconda3/bin/python are cached.
Verbose 02:29:42: Getting env activation commands, Class name = r, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Getting activated env variables from Python, Class name = r, completed in 2918ms, has a truthy return value, Arg 1: undefined, Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Got env vars with python ~/anaconda3/bin/python in 2918ms
Verbose 02:29:42: Getting env activation commands, Class name = r (started execution), Arg 1: "~/mynotebook.ipynb", Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Getting activation commands for /Users/xxxx/anaconda3/bin/python
Verbose 02:29:42: Getting activation commands for /Users/xxxx/anaconda3/bin/python are cached.
Verbose 02:29:42: Getting env activation commands, Class name = r, completed in 0ms, has a truthy return value, Arg 1: "~/mynotebook.ipynb", Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Getting activated env variables from Python, Class name = r, completed in 2869ms, has a truthy return value, Arg 1: "~/mynotebook.ipynb", Arg 2: "~/anaconda3/bin/python"
Verbose 02:29:42: Got env vars with python ~/anaconda3/bin/python in 2870ms

@JorisDeRidder
I've got a fix for this https://github.com/microsoft/vscode-jupyter/pull/9043, hopefully that will resolve this issue
I'll push a pre-release ASAP with this fix. Will let you know when thats ready

@JorisDeRidder please install the latest pre-release version of the jupyter extension and it should work.
when you go into the  extension panel ensure you install pre-release version.

I'm having the same error on Ubuntu 20.04. I've set the jupyter extension version to pre-release but the error persists and code keeps telling me that I need to install ipykernel(it's already installed, manually through pip and selecting the code prompt).
Code version is 1.65.0, installed through snap and python version is 3.8.10 64 bit
Full log
Visual Studio Code (1.65.0, undefined, desktop)
Jupyter Extension Version: 2022.3.1000642447.
Python Extension Version: 2022.3.10631003.
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Error 13:12:07: Exception while attempting zmq : [Error: /snap/core/current/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/node_modules/zeromq/prebuilds/linux-x64/electron.napi.glibc.node)
	at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1846)
	at Object.Module._extensions..node (internal/modules/cjs/loader.js:1185:18)
	at Object.func [as .node] (electron/js2c/asar_bundle.js:5:1846)
	at Module.load (internal/modules/cjs/loader.js:982:32)
	at Module._load (internal/modules/cjs/loader.js:823:14)
	at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
	at Function.n._load (/snap/code/89/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:32148)
	at Function._._load (/snap/code/89/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:28737)
	at Function.g._load (/snap/code/89/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:60372)
	at Module.require (internal/modules/cjs/loader.js:1006:19)
	at h (/snap/code/89/usr/share/code/resources/app/out/vs/loader.js:4:699)
	at load (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/node_modules/node-gyp-build/index.js:1:605)
	at Object.<anonymous> (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/node_modules/zeromq/lib/native.js:1:198)
	at Module.u._compile (/snap/code/89/usr/share/code/resources/app/out/vs/loader.js:4:1313)
	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
	at Module.load (internal/modules/cjs/loader.js:982:32)
	at Module._load (internal/modules/cjs/loader.js:823:14)
	at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
	at Function.n._load (/snap/code/89/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:32148)
	at Function._._load (/snap/code/89/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:28737)
	at Function.g._load (/snap/code/89/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:60372)
	at Module.require (internal/modules/cjs/loader.js:1006:19)
	at h (/snap/code/89/usr/share/code/resources/app/out/vs/loader.js:4:699)
	at Object.<anonymous> (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/node_modules/zeromq/lib/index.js:1:144)
	at Module.u._compile (/snap/code/89/usr/share/code/resources/app/out/vs/loader.js:4:1313)
	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
	at Module.load (internal/modules/cjs/loader.js:982:32)
	at Module._load (internal/modules/cjs/loader.js:823:14)
	at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
	at Function.n._load (/snap/code/89/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:32148)
	at Function._._load (/snap/code/89/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:28737)
	at Function.g._load (/snap/code/89/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:60372)
	at Module.require (internal/modules/cjs/loader.js:1006:19)
	at h (/snap/code/89/usr/share/code/resources/app/out/vs/loader.js:4:699)
	at Object.92747 (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:3877048)
	at __webpack_require__ (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:4544716)
	at u.zmqSupported (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:971603)
	at u.isSupportedForLocalLaunch (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:971346)
	at u.get isSupported [as isSupported] (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:971256)
	at t.registerTypes (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:982489)
	at /home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:1068952
	at processTicksAndRejections (internal/process/task_queues.js:93:5)
	at async /home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:4546291
	at async e.activate (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:4545968)
	at async Promise.all (index 1)]
Info 13:12:07: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 13:12:07: Getting activation commands for /bin/python are not cached. May take a while.
Info 13:12:07: Getting activation commands for /bin/python3 are not cached. May take a while.
Info 13:12:07: Process Execution: > /bin/python -m pip list
> /bin/python -m pip list
Info 13:12:07: Process Execution: > /bin/python -c "import pip"
> /bin/python -c "import pip"
Info 13:12:08: Process Execution: > /bin/python3 -c "import jupyter"
> /bin/python3 -c "import jupyter"
Info 13:12:08: Process Execution: > /bin/python3 -c "import notebook"
> /bin/python3 -c "import notebook"
Info 13:12:08: Process Execution: > /bin/python3 -m jupyter kernelspec --version
> /bin/python3 -m jupyter kernelspec --version
Info 13:12:15: Creating controller for interactive with interpreter /bin/python3
Info 13:12:15: Starting interactive window with controller ID ms-toolsai.jupyter/.jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1./bin/python3./bin/python3.-m#ipykernel_launcher (Interactive)
Info 13:12:15: Setting setActiveController for vscode-interactive:Interactive-1.interactive
Info 13:12:15: Creating controller for interactive with interpreter /bin/python3
Info 13:12:15: TargetController found ID: .jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1./bin/python3./bin/python3.-m#ipykernel_launcher (Interactive) for document vscode-interactive:Interactive-1.interactive
Info 13:12:15: Setting controller affinity for vscode-interactive:Interactive-1.interactive .jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1./bin/python3./bin/python3.-m#ipykernel_launcher (Interactive)
Info 13:12:15: Process Execution: > /bin/python3 -m pip list
> /bin/python3 -m pip list
Info 13:12:15: Starting Notebook in kernel.ts id = .jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1./bin/python3./bin/python3.-m#ipykernel_launcher
Info 13:12:15: Checking for server existence.
Info 13:12:15: Checking for server usability.
Info 13:12:15: Starting notebook server.
Info 13:12:15: Connecting to server
Info 13:12:15: Launching server
Info 13:12:15: Starting Notebook
Info 13:12:16: Generating custom default config at /tmp/d5fc0c71-4f7a-462a-ab0d-1cce46cb11bb/jupyter_notebook_config.py
Info 13:12:16: Starting Jupyter Notebook
Starting Jupyter from /bin/python3 with command line --no-browser --notebook-dir="/home/kubo/git/TCC/src/oil_detection" --config=/tmp/d5fc0c71-4f7a-462a-ab0d-1cce46cb11bb/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 13:12:16: Creating daemon pool for /bin/python3 with env variables count 110
Info 13:12:16: Process Execution: > /bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 13944
> /bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 13944
Info 13:12:16: Process Execution: > /bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 13944
> /bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 13944
Info 13:12:16: Process Execution: > /bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 13944
> /bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 13944
Info 13:12:16: Registering dummy command feature
Info 13:12:16: Process Execution: > /bin/python3 (daemon) -m jupyter notebook --no-browser --notebook-dir="/home/kubo/git/TCC/src/oil_detection" --config=/tmp/d5fc0c71-4f7a-462a-ab0d-1cce46cb11bb/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
> /bin/python3 (daemon) -m jupyter notebook --no-browser --notebook-dir="/home/kubo/git/TCC/src/oil_detection" --config=/tmp/d5fc0c71-4f7a-462a-ab0d-1cce46cb11bb/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 13:12:16: Waiting for Jupyter Notebook
/home/kubo/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/home/kubo/git/TCC/src/oil_detection' instead of '"/home/kubo/git/TCC/src/oil_detection"' if you require traitlets >=5.
  warn(
Info 13:12:16: /home/kubo/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/home/kubo/git/TCC/src/oil_detection' instead of '"/home/kubo/git/TCC/src/oil_detection"' if you require traitlets >=5.
  warn(

[I 13:12:16.840 NotebookApp] Serving notebooks from local directory: /home/kubo/git/TCC/src/oil_detection
Info 13:12:16: /home/kubo/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/home/kubo/git/TCC/src/oil_detection' instead of '"/home/kubo/git/TCC/src/oil_detection"' if you require traitlets >=5.
  warn(
[I 13:12:16.840 NotebookApp] Serving notebooks from local directory: /home/kubo/git/TCC/src/oil_detection

[I 13:12:16.840 NotebookApp] Jupyter Notebook 6.4.8 is running at:
Info 13:12:16: /home/kubo/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/home/kubo/git/TCC/src/oil_detection' instead of '"/home/kubo/git/TCC/src/oil_detection"' if you require traitlets >=5.
  warn(
[I 13:12:16.840 NotebookApp] Serving notebooks from local directory: /home/kubo/git/TCC/src/oil_detection
[I 13:12:16.840 NotebookApp] Jupyter Notebook 6.4.8 is running at:

[I 13:12:16.840 NotebookApp] http://localhost:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b
Info 13:12:16: /home/kubo/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/home/kubo/git/TCC/src/oil_detection' instead of '"/home/kubo/git/TCC/src/oil_detection"' if you require traitlets >=5.
  warn(
[I 13:12:16.840 NotebookApp] Serving notebooks from local directory: /home/kubo/git/TCC/src/oil_detection
[I 13:12:16.840 NotebookApp] Jupyter Notebook 6.4.8 is running at:
[I 13:12:16.840 NotebookApp] http://localhost:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b

Info 13:12:16: Process Execution: > /bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> /bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 13:12:16.841 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b
Info 13:12:16: /home/kubo/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/home/kubo/git/TCC/src/oil_detection' instead of '"/home/kubo/git/TCC/src/oil_detection"' if you require traitlets >=5.
  warn(
[I 13:12:16.840 NotebookApp] Serving notebooks from local directory: /home/kubo/git/TCC/src/oil_detection
[I 13:12:16.840 NotebookApp] Jupyter Notebook 6.4.8 is running at:
[I 13:12:16.840 NotebookApp] http://localhost:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b
[I 13:12:16.841 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b

Info 13:12:16: Process Execution: > /bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> /bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 13:12:16.841 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Info 13:12:16: /home/kubo/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/home/kubo/git/TCC/src/oil_detection' instead of '"/home/kubo/git/TCC/src/oil_detection"' if you require traitlets >=5.
  warn(
[I 13:12:16.840 NotebookApp] Serving notebooks from local directory: /home/kubo/git/TCC/src/oil_detection
[I 13:12:16.840 NotebookApp] Jupyter Notebook 6.4.8 is running at:
[I 13:12:16.840 NotebookApp] http://localhost:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b
[I 13:12:16.841 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b
[I 13:12:16.841 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

[C 13:12:16.848 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///home/kubo/.local/share/jupyter/runtime/nbserver-14111-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b
     or http://<IP_ADDRESS>:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b
Info 13:12:16: /home/kubo/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '/home/kubo/git/TCC/src/oil_detection' instead of '"/home/kubo/git/TCC/src/oil_detection"' if you require traitlets >=5.
  warn(
[I 13:12:16.840 NotebookApp] Serving notebooks from local directory: /home/kubo/git/TCC/src/oil_detection
[I 13:12:16.840 NotebookApp] Jupyter Notebook 6.4.8 is running at:
[I 13:12:16.840 NotebookApp] http://localhost:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b
[I 13:12:16.841 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b
[I 13:12:16.841 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 13:12:16.848 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///home/kubo/.local/share/jupyter/runtime/nbserver-14111-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b
     or http://<IP_ADDRESS>:8888/?token=8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b

Info 13:12:17: Connecting to process server
Info 13:12:17: Connecting server kernel http://localhost:8888/
Info 13:12:17: Creating server with settings : {"baseUrl":"http://localhost:8888/","appUrl":"","wsUrl":"ws://localhost:8888/","token":"8bdad84f5734ca4325a72f253e25e792bc555a75b4372e7b","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 13:12:17: Connection complete server
Info 13:12:17: Server started.
Info 13:12:17: Process Execution: > /bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> /bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 13:12:17: Process Execution: > /bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> /bin/python3 (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 13:12:17.362 NotebookApp] Creating new notebook in
Info 13:12:17: installMissingDependencies /bin/python3
Info 13:12:17: Process Execution: > /bin/python3 -c "import ipykernel"
> /bin/python3 -c "import ipykernel"
Info 13:12:17: Spec argv[0] updated from '/bin/python3' to '/bin/python3'
Info 13:12:17: Starting a new session for kernel id = .jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1./bin/python3./bin/python3.-m#ipykernel_launcher, name = python3810jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1
[I 13:12:17.823 NotebookApp] Kernel started: 231aa6f4-d8c3-4b77-acc6-142c86c76980, name: python3810jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1
Info 13:12:17: Waiting for idle on (kernel): 231aa6f4-d8c3-4b77-acc6-142c86c76980 -> unknown
[W 13:12:17.843 NotebookApp] delete /haralick.py-jvsc-103c6927-01fe-4ab5-b2ec-eb7f369deeae.ipynb
[I 13:12:20.815 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
[I 13:12:23.839 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
[I 13:12:26.863 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
[I 13:12:29.887 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
[I 13:12:32.907 NotebookApp] KernelRestarter: restarting kernel (5/5), new random ports
[W 13:12:35.928 NotebookApp] KernelRestarter: restart failed
[W 13:12:35.928 NotebookApp] Kernel 231aa6f4-d8c3-4b77-acc6-142c86c76980 died, removing from map.
Error 13:13:17: Failed to change kernel [TypeError: Cannot read property 'statusChanged' of null
	at C.waitForIdleOnSession (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:270786)
	at async C.createNewKernelSession (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:607995)
	at async C.connect (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:606831)
	at async m.startNew (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:615184)
	at async a (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:739990)
	at async w.createNotebookInstance (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:740138)
	at async w.createNotebook (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:741081)]
Error 13:13:17: failed to create INotebook in kernel, UI Disabled = false [c [Error]: Kernel Python 3.8.10 64-bit is not usable. Check the Jupyter output tab for more information.
	at C.createNewKernelSession (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:608198)
	at async C.connect (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:606831)
	at async m.startNew (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:615184)
	at async a (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:739990)
	at async w.createNotebookInstance (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:740138)
	at async w.createNotebook (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:741081)] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: undefined,
      interpreterPath: '/bin/python3',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'python3810jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1',
      argv: [Array],
      language: 'python',
      path: 'python',
      display_name: 'Python 3.8.10 64-bit',
      metadata: [Object],
      env: {},
      interrupt_mode: undefined
    },
    interpreter: {
      sysPrefix: '/usr',
      envType: 'Global',
      envName: '',
      envPath: '',
      path: '/bin/python3',
      architecture: 3,
      sysVersion: '3.8.10 (default, Nov 26 2021, 20:14:08) \n[GCC 9.3.0]',
      version: [Object],
      displayName: 'Python 3.8.10 64-bit',
      detailedDisplayName: 'Python 3.8.10 64-bit'
    },
    id: '.jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1./bin/python3./bin/python3.-m#ipykernel_launcher'
  }
}
Warn 13:13:17: Kernel Error [c [Error]: Kernel Python 3.8.10 64-bit is not usable. Check the Jupyter output tab for more information.
	at C.createNewKernelSession (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:608198)
	at async C.connect (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:606831)
	at async m.startNew (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:615184)
	at async a (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:739990)
	at async w.createNotebookInstance (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:740138)
	at async w.createNotebook (/home/kubo/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000642447/out/client/extension.js:2:741081)] {
  category: 'invalidkernel',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: undefined,
      interpreterPath: '/bin/python3',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'python3810jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1',
      argv: [Array],
      language: 'python',
      path: 'python',
      display_name: 'Python 3.8.10 64-bit',
      metadata: [Object],
      env: {},
      interrupt_mode: undefined
    },
    interpreter: {
      sysPrefix: '/usr',
      envType: 'Global',
      envName: '',
      envPath: '',
      path: '/bin/python3',
      architecture: 3,
      sysVersion: '3.8.10 (default, Nov 26 2021, 20:14:08) \n[GCC 9.3.0]',
      version: [Object],
      displayName: 'Python 3.8.10 64-bit',
      detailedDisplayName: 'Python 3.8.10 64-bit'
    },
    id: '.jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1./bin/python3./bin/python3.-m#ipykernel_launcher'
  }
}
[W 13:13:17.853 NotebookApp] Timeout waiting for kernel_info reply from 231aa6f4-d8c3-4b77-acc6-142c86c76980
[E 13:13:17.855 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 231aa6f4-d8c3-4b77-acc6-142c86c76980)
Info 13:13:17: Process Execution: > /bin/python3 -c "import ipykernel"
> /bin/python3 -c "import ipykernel"
Info 13:13:18: installMissingDependencies /bin/python3
Info 13:13:18: Process Execution: > /bin/python3 -c "import ipykernel"
> /bin/python3 -c "import ipykernel"
Info 13:13:18: Process Execution: > /bin/python3 -c "import pip"
> /bin/python3 -c "import pip"
Info 13:13:21: Got result from python installer for ipykernel, result = 2

Alright so this one surprised me..
I was using "cell magic", meaning: #%%, to run jupyter notebook in VSCode. And I ran into the same issue as OP.
The error disappeared when I renamed my file, from "inspect.py" to "tmp.py".

Same here on Ubuntu 20.04.
Visual Studio Code (1.65.2, undefined, desktop)
Jupyter Extension Version: 2022.3.1000762011.
Python Extension Version: 2022.2.1924087327.
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Error 19:16:48: Exception while attempting zmq : [Error: /snap/core/current/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/node_modules/zeromq/prebuilds/linux-x64/electron.napi.glibc.node)
	at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1846)
	at Object.Module._extensions..node (internal/modules/cjs/loader.js:1185:18)
	at Object.func [as .node] (electron/js2c/asar_bundle.js:5:1846)
	at Module.load (internal/modules/cjs/loader.js:982:32)
	at Module._load (internal/modules/cjs/loader.js:823:14)
	at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
	at Function.n._load (/snap/code/91/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:32148)
	at Function._._load (/snap/code/91/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:28737)
	at Function.g._load (/snap/code/91/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:60372)
	at Module.require (internal/modules/cjs/loader.js:1006:19)
	at h (/snap/code/91/usr/share/code/resources/app/out/vs/loader.js:4:699)
	at load (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/node_modules/node-gyp-build/index.js:1:605)
	at Object.<anonymous> (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/node_modules/zeromq/lib/native.js:1:198)
	at Module.u._compile (/snap/code/91/usr/share/code/resources/app/out/vs/loader.js:4:1313)
	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
	at Module.load (internal/modules/cjs/loader.js:982:32)
	at Module._load (internal/modules/cjs/loader.js:823:14)
	at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
	at Function.n._load (/snap/code/91/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:32148)
	at Function._._load (/snap/code/91/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:28737)
	at Function.g._load (/snap/code/91/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:60372)
	at Module.require (internal/modules/cjs/loader.js:1006:19)
	at h (/snap/code/91/usr/share/code/resources/app/out/vs/loader.js:4:699)
	at Object.<anonymous> (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/node_modules/zeromq/lib/index.js:1:144)
	at Module.u._compile (/snap/code/91/usr/share/code/resources/app/out/vs/loader.js:4:1313)
	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
	at Module.load (internal/modules/cjs/loader.js:982:32)
	at Module._load (internal/modules/cjs/loader.js:823:14)
	at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
	at Function.n._load (/snap/code/91/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:32148)
	at Function._._load (/snap/code/91/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:104:28737)
	at Function.g._load (/snap/code/91/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:60372)
	at Module.require (internal/modules/cjs/loader.js:1006:19)
	at h (/snap/code/91/usr/share/code/resources/app/out/vs/loader.js:4:699)
	at Object.92747 (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:3938458)
	at __webpack_require__ (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:4606171)
	at u.zmqSupported (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:1026035)
	at u.isSupportedForLocalLaunch (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:1025778)
	at u.get isSupported [as isSupported] (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:1025688)
	at t.registerTypes (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:334624)
	at /home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:419953
	at processTicksAndRejections (internal/process/task_queues.js:93:5)
	at async /home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:4607746
	at async e.activate (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:4607423)]
Info 19:16:48: Old kernelspecs (created by Jupyter extension) stored in directory /home/ke/.local/share/jupyter/kernels/__old_vscode_kernelspecs
Info 19:16:48: Preferred kernel connection found in cache .jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher
Info 19:16:48: PreferredConnection: .jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher found for NotebookDocument: ~/git/rrgproj2/plots.ipynb
Info 19:16:48: Early registration of controller for Kernel connection .jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher
Info 19:16:48: TargetController found ID: .jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher for document ~/git/rrgproj2/plots.ipynb
Info 19:16:48: Setting controller affinity for ~/git/rrgproj2/plots.ipynb .jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher
Info 19:16:48: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 19:16:48: Interrupt requested & no kernel.
Info 19:16:48: Setting setActiveController for ~/git/rrgproj2/plots.ipynb
Info 19:16:48: KernelProvider switched kernel to id = .jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher
Info 19:16:48: Starting Notebook in kernel.ts id = .jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher
Info 19:16:48: Checking for server existence.
Info 19:16:48: Checking for server usability.
Info 19:16:48: Creating controller for jupyter-notebook with interpreter ~/.pyenv/versions/3.8.6/bin/python
Info 19:16:48: Getting activation commands for /home/ke/.pyenv/versions/3.8.6/bin/python are not cached. May take a while.
Info 19:16:48: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -m pip list
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -m pip list
Info 19:16:49: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -c "import jupyter"
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -c "import jupyter"
Info 19:16:49: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -c "import notebook"
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -c "import notebook"
Info 19:16:49: Process Execution: > ~/.pyenv/versions/3.8.6/bin/python -m pip list
> ~/.pyenv/versions/3.8.6/bin/python -m pip list
Info 19:16:49: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -m jupyter kernelspec --version
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -m jupyter kernelspec --version
Info 19:16:49: Registering dummy command feature
Info 19:16:49: Old KernelSpec '/home/ke/.local/share/jupyter/kernels/python3810jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca/kernel.json' deleted and backup stored in /home/ke/.local/share/jupyter/kernels/__old_vscode_kernelspecs
Info 19:16:49: Registering dummy command feature
Info 19:16:49: Starting notebook server.
Info 19:16:49: Connecting to server
Info 19:16:49: Launching server
Info 19:16:49: Starting Notebook
Info 19:16:49: Generating custom default config at /tmp/f06bb650-283d-40f2-a747-ba56a4e836c0/jupyter_notebook_config.py
Info 19:16:49: Starting Jupyter Notebook
Starting Jupyter from ~/git/rrgproj2/.direnv/python-3.8.10/bin/python with command line --no-browser --notebook-dir="/home/ke/git/rrgproj2" --KernelManager.autorestart=False --config=/tmp/f06bb650-283d-40f2-a747-ba56a4e836c0/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 19:16:49: Creating daemon pool for ~/git/rrgproj2/.direnv/python-3.8.10/bin/python with env variables count 95
Info 19:16:49: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 7658
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 7658
Info 19:16:49: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 7658
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 7658
Info 19:16:49: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 7658
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v --ppid 7658
Info 19:16:50: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/home/ke/git/rrgproj2" --KernelManager.autorestart=False --config=/tmp/f06bb650-283d-40f2-a747-ba56a4e836c0/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python (daemon) -m jupyter notebook --no-browser --notebook-dir="/home/ke/git/rrgproj2" --KernelManager.autorestart=False --config=/tmp/f06bb650-283d-40f2-a747-ba56a4e836c0/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
Info 19:16:50: Waiting for Jupyter Notebook
/home/ke/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/home/ke/git/rrgproj2' instead of '"/home/ke/git/rrgproj2"' – or use CUnicode.
  warn(
Info 19:16:50: /home/ke/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/home/ke/git/rrgproj2' instead of '"/home/ke/git/rrgproj2"' – or use CUnicode.
  warn(

[I 19:16:51.015 NotebookApp] Serving notebooks from local directory: /home/ke/git/rrgproj2
Info 19:16:51: /home/ke/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/home/ke/git/rrgproj2' instead of '"/home/ke/git/rrgproj2"' – or use CUnicode.
  warn(
[I 19:16:51.015 NotebookApp] Serving notebooks from local directory: /home/ke/git/rrgproj2

[I 19:16:51.015 NotebookApp] Jupyter Notebook 6.4.0 is running at:
Info 19:16:51: /home/ke/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/home/ke/git/rrgproj2' instead of '"/home/ke/git/rrgproj2"' – or use CUnicode.
  warn(
[I 19:16:51.015 NotebookApp] Serving notebooks from local directory: /home/ke/git/rrgproj2
[I 19:16:51.015 NotebookApp] Jupyter Notebook 6.4.0 is running at:

[I 19:16:51.016 NotebookApp] http://localhost:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36
Info 19:16:51: /home/ke/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/home/ke/git/rrgproj2' instead of '"/home/ke/git/rrgproj2"' – or use CUnicode.
  warn(
[I 19:16:51.015 NotebookApp] Serving notebooks from local directory: /home/ke/git/rrgproj2
[I 19:16:51.015 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 19:16:51.016 NotebookApp] http://localhost:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36

Info 19:16:51: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 19:16:51.016 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36
Info 19:16:51: /home/ke/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/home/ke/git/rrgproj2' instead of '"/home/ke/git/rrgproj2"' – or use CUnicode.
  warn(
[I 19:16:51.015 NotebookApp] Serving notebooks from local directory: /home/ke/git/rrgproj2
[I 19:16:51.015 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 19:16:51.016 NotebookApp] http://localhost:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36
[I 19:16:51.016 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36

Info 19:16:51: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py
[I 19:16:51.016 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Info 19:16:51: /home/ke/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/home/ke/git/rrgproj2' instead of '"/home/ke/git/rrgproj2"' – or use CUnicode.
  warn(
[I 19:16:51.015 NotebookApp] Serving notebooks from local directory: /home/ke/git/rrgproj2
[I 19:16:51.015 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 19:16:51.016 NotebookApp] http://localhost:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36
[I 19:16:51.016 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36
[I 19:16:51.016 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

[C 19:16:51.021 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///home/ke/.local/share/jupyter/runtime/nbserver-7790-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36
     or http://<IP_ADDRESS>:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36
Info 19:16:51: /home/ke/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use '/home/ke/git/rrgproj2' instead of '"/home/ke/git/rrgproj2"' – or use CUnicode.
  warn(
[I 19:16:51.015 NotebookApp] Serving notebooks from local directory: /home/ke/git/rrgproj2
[I 19:16:51.015 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 19:16:51.016 NotebookApp] http://localhost:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36
[I 19:16:51.016 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36
[I 19:16:51.016 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 19:16:51.021 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///home/ke/.local/share/jupyter/runtime/nbserver-7790-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36
     or http://<IP_ADDRESS>:8888/?token=232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36

Info 19:16:51: Connecting to process server
Info 19:16:51: Connecting server kernel http://localhost:8888/
Info 19:16:51: Creating server with settings : {"baseUrl":"http://localhost:8888/","appUrl":"","wsUrl":"ws://localhost:8888/","token":"232ba6a778b1bf0b18f2318ce61d9a153554a7d3142e1d36","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 19:16:51: Connection complete server
Info 19:16:51: Server started.
[I 19:16:51.422 NotebookApp] Creating new notebook in
Info 19:16:51: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 19:16:51: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python (daemon) ~/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/pythonFiles/vscode_datascience_helpers/getServerInfo.py
Info 19:16:51: installMissingDependencies ~/git/rrgproj2/.direnv/python-3.8.10/bin/python
Info 19:16:51: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -c "import ipykernel"
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -c "import ipykernel"
Info 19:16:52: Spec argv[0] updated from '/home/ke/git/rrgproj2/.direnv/python-3.8.10/bin/python' to '~/git/rrgproj2/.direnv/python-3.8.10/bin/python'
Info 19:16:52: Adding env Variable PYTHONNOUSERSITE to ~/git/rrgproj2/.direnv/python-3.8.10/bin/python
Info 19:16:52: Starting a new session for kernel id = .jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher, name = python3810jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca
[I 19:16:52.194 NotebookApp] Kernel started: a1a890aa-611e-4a46-986a-41f23a56efbb, name: python3810jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca
Info 19:16:52: Waiting for idle on (kernel): a1a890aa-611e-4a46-986a-41f23a56efbb -> unknown
[W 19:16:52.221 NotebookApp] delete /plots-jvsc-7eb049a9-da08-4449-88cd-70507ab728d0.ipynb
Info 19:16:59: Execute Cells request 0
Info 19:16:59: Execute Cell 0 ~/git/rrgproj2/plots.ipynb
Info 19:17:52: Finished waiting for idle on (kernel): a1a890aa-611e-4a46-986a-41f23a56efbb -> unknown
Error 19:17:52: Shutting down after failing to wait for idle on (kernel): a1a890aa-611e-4a46-986a-41f23a56efbb -> unknown
Error 19:17:52: Failed to change kernel, re-throwing [a [Error]: The Jupyter notebook server failed to launch in time
	at S.waitForIdleOnSession (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:681752)
	at async S.createNewKernelSession (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:908159)
	at async S.connect (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:906995)
	at async m.startNew (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:915347)
	at async s (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:878813)
	at async w.createNotebookInstance (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:878961)
	at async w.createNotebook (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:879904)] {
  category: 'timeout',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/temp/jupyter/kernels/python3810jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca/kernel.json',
      interpreterPath: '/home/ke/git/rrgproj2/.direnv/python-3.8.10/bin/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'python3810jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca',
      argv: [Array],
      language: 'python',
      path: 'python',
      display_name: "Python 3.8.10 ('python-3.8.10': virtualenv)",
      metadata: [Object],
      env: {}
    },
    interpreter: {
      sysPrefix: '/usr',
      envType: 'VirtualEnv',
      envName: 'python-3.8.10',
      envPath: '/home/ke/git/rrgproj2/.direnv/python-3.8.10',
      path: '/home/ke/git/rrgproj2/.direnv/python-3.8.10/bin/python',
      architecture: 3,
      sysVersion: '3.8.10 (default, Nov 26 2021, 20:14:08) \n[GCC 9.3.0]',
      version: [Object],
      displayName: "Python 3.8.10 ('python-3.8.10': virtualenv)",
      detailedDisplayName: "Python 3.8.10 ('python-3.8.10': virtualenv)"
    },
    id: '.jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher'
  }
}
Error 19:17:52: failed to create INotebook in kernel, UI Disabled = false [a [Error]: The Jupyter notebook server failed to launch in time
	at S.waitForIdleOnSession (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:681752)
	at async S.createNewKernelSession (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:908159)
	at async S.connect (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:906995)
	at async m.startNew (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:915347)
	at async s (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:878813)
	at async w.createNotebookInstance (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:878961)
	at async w.createNotebook (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:879904)] {
  category: 'timeout',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/temp/jupyter/kernels/python3810jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca/kernel.json',
      interpreterPath: '/home/ke/git/rrgproj2/.direnv/python-3.8.10/bin/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'python3810jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca',
      argv: [Array],
      language: 'python',
      path: 'python',
      display_name: "Python 3.8.10 ('python-3.8.10': virtualenv)",
      metadata: [Object],
      env: {}
    },
    interpreter: {
      sysPrefix: '/usr',
      envType: 'VirtualEnv',
      envName: 'python-3.8.10',
      envPath: '/home/ke/git/rrgproj2/.direnv/python-3.8.10',
      path: '/home/ke/git/rrgproj2/.direnv/python-3.8.10/bin/python',
      architecture: 3,
      sysVersion: '3.8.10 (default, Nov 26 2021, 20:14:08) \n[GCC 9.3.0]',
      version: [Object],
      displayName: "Python 3.8.10 ('python-3.8.10': virtualenv)",
      detailedDisplayName: "Python 3.8.10 ('python-3.8.10': virtualenv)"
    },
    id: '.jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher'
  }
}
Warn 19:17:52: Kernel Error [a [Error]: The Jupyter notebook server failed to launch in time
	at S.waitForIdleOnSession (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:681752)
	at async S.createNewKernelSession (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:908159)
	at async S.connect (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:906995)
	at async m.startNew (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:915347)
	at async s (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:878813)
	at async w.createNotebookInstance (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:878961)
	at async w.createNotebook (/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/out/client/extension.js:2:879904)] {
  category: 'timeout',
  kernelConnectionMetadata: {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: {
      specFile: '/home/ke/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000762011/temp/jupyter/kernels/python3810jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca/kernel.json',
      interpreterPath: '/home/ke/git/rrgproj2/.direnv/python-3.8.10/bin/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExt',
      name: 'python3810jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca',
      argv: [Array],
      language: 'python',
      path: 'python',
      display_name: "Python 3.8.10 ('python-3.8.10': virtualenv)",
      metadata: [Object],
      env: {}
    },
    interpreter: {
      sysPrefix: '/usr',
      envType: 'VirtualEnv',
      envName: 'python-3.8.10',
      envPath: '/home/ke/git/rrgproj2/.direnv/python-3.8.10',
      path: '/home/ke/git/rrgproj2/.direnv/python-3.8.10/bin/python',
      architecture: 3,
      sysVersion: '3.8.10 (default, Nov 26 2021, 20:14:08) \n[GCC 9.3.0]',
      version: [Object],
      displayName: "Python 3.8.10 ('python-3.8.10': virtualenv)",
      detailedDisplayName: "Python 3.8.10 ('python-3.8.10': virtualenv)"
    },
    id: '.jvsc74a57bd0c9e91b9ce96685a34a75636a54295a7a79a3fff47041238081befe9b685c55ca./home/ke/git/rrgproj2/.direnv/python-3.8.10/python./home/ke/git/rrgproj2/.direnv/python-3.8.10/python.-m#ipykernel_launcher'
  }
}
[W 19:17:52.226 NotebookApp] Timeout waiting for kernel_info reply from a1a890aa-611e-4a46-986a-41f23a56efbb
[I 19:17:52.251 NotebookApp] Kernel shutdown: a1a890aa-611e-4a46-986a-41f23a56efbb
Info 19:17:52: Process Execution: > ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -c "import ipykernel"
> ~/git/rrgproj2/.direnv/python-3.8.10/bin/python -c "import ipykernel"
Info 19:17:52: Dispose kernel file:///home/ke/git/rrgproj2/plots.ipynb
[W 19:17:52.740 NotebookApp] Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x7f535112e160>
[W 19:17:52.740 NotebookApp] Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x7f535112e160>

Also just ran into this again on OS X.

Yes, please create a new issue.

Yes, please create a new issue.

is it fixed?

@crystalchengyafeng Please file an issue and ping me and i'll look into it. this issue has been fixed.


Two same namespace is created

I believe namespace is identical and unique, i have created two namespace name_980 , it has accepted and transaction is confirmed..  in transaction they are confirmed but in the namespace it is not listed twice..
@yilmazbahadir  please check this address key - TB3KWQJRW7QIW3IVFCPIE6L4CYGTG44NGU3BOOQ

As far as I can see they are not identical => "name_980" != "name_990"

please scroll little down and check the namespace transaction

Okay, checked with the PK provided. I think, this is the expected behaviour, the owner account of the namespace can send the tx with the same name again but a different account cannot use the same name(it gives the error attached)

ok, thanks for the clarification.closing the issue


Other Mods
Yes
Victoria 3 Version
1.5.4
Dead Money Version
No response
What's the problem?
Look, a whale:

What are you expecting to happen?
No response
Steps to Reproduce
1. Open all tabs
2. Say Beetlejuice three times
3. Profit

Relevant log output
No response

Other Mods
Yes
Victoria 3 Version
1.5.4
Dead Money Version
No response
What's the problem?
Look, a whale:

What are you expecting to happen?
No response
Steps to Reproduce
1. Open all tabs
2. Say Beetlejuice three times
3. Profit

Relevant log output
No response

What?


Add sym/cmp for MAX1698

Symbol:

Component:

Devices will follow later.
Fixes #1.

All suggestions applied.


Code samples?

This is a great document if you want to see pictures of the plugins that MS built for its partners, but as someone trying to develop a plugin themselves the referenced .sketch file isn't useful as it requires a proprietary app to open.
If you're so opinionated, Why not supply some boilerplate HTML, CSS some recommended selector values and a means for detecting whether the app is running inside of Outlook for IOS/Android and toggling styles?  I guess I'll have to research that myself.
You're clearly using material design for Android inputs, but you don't reference the library.  Is the average reader supposed to be able to look at your picture of 'example of icons' for Android and then be able to search for the icons based off the visualization provided?  Am I supposed to know from visual inspection exactly what the different font-families being used between Android and IOS are?  My job is to write code that does stuff that ships, not parse documentation to find every potential 'gotcha' and then research the omissions, figure out the new rejection reason.
While this page says it's guidelines, certain things are being enforced as rules.  Couldn't you guys add your own CSS if you specified the classes we should use rather than passing the burden on the developer to keep up with every UX convention across devices with not much more to rely on than screenshots.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: aef2c9cc-3f5b-b2b1-dd84-08a910a74c64
Version Independent ID: df0d841a-6e7b-bb95-99b8-dae7fc950f35
Content: Outlook add-in design
Content Source: docs/add-ins/outlook-addin-design.md
Service: unspecified
Product: outlook
GitHub Login: @jasonjoh
Microsoft Alias: jasonjoh

@chairmanmow Framework7 does this and provides CSS to make your add-ins look native on iOS or Android. It's not a Microsoft product, but it might be helpful in your case.


[#593] - added illustrations for onboarding

This code review checklist is intended to serve as a starting point for the author and reviewer, although it may not be appropriate for all types of changes (e.g. fixing a spelling typo in documentation).  For more in-depth discussion of how we think about code review, please see Code Review Guidelines.
Author

[x] Self-review: Did you review your own code in GitHub's web interface? Code often looks different when reviewing the diff in a browser, making it easier to spot potential bugs.
[ ] Automated tests: Did you add appropriate automated tests for any code changes?
[ ] Manual tests: Did you update the manual tests as appropriate? While we aim for automated testing of the application, some aspects require manual testing. If you had to manually test something during development of this pull request, write those steps down.
[ ] Code coverage: Did you check the code coverage report for the automated tests?  While we are not looking for perfect coverage, the tool can point out potential cases that have been missed. Code coverage can be generated with: ./gradlew check for Kotlin modules and ./gradlew connectedCheck -PIS_ANDROID_INSTRUMENTATION_TEST_COVERAGE_ENABLED=true for Android modules.
[ ] Documentation: Did you update documentation as appropriate? (e.g README.md, etc.)
[x] Run the app: Did you run the app and try the changes?
[ ] Screenshots: Did you provide before and after UI screenshots in the description of this pull request?  This is only applicable for changes that modify the UI.
[ ] Rebase and squash: Did you pull in the latest changes from the main branch and squash your commits before assigning a reviewer? Having your code up to date and squashed will make it easier for others to review. Use best judgement when squashing commits, as some changes (such as refactoring) might be easier to review as a separate commit.

Reviewer

[x] Checklist review: Did you go through the code with the Code Review Guidelines checklist?
[x] Ad hoc review: Did you perform an ad hoc review?  In addition to a first pass using the code review guidelines, do a second pass using your best judgement and experience which may identify additional questions or comments. Research shows that code review is most effective when done in multiple passes, where reviewers look for different things through each pass.
[ ] Automated tests: Did you review the automated tests?
[ ] Manual tests: Did you review the manual tests?
[ ] How is code coverage affected? We encourage you to compare coverage before and after changes and when possible, leaving it in a better place.
[ ] Documentation: Did you review Docs, README.md, and Architecture.md as appropriate?
[ ] Run the app: Did you run the app and try the changes? While the CI server runs the app to look for build failures or crashes, humans running the app are more likely to notice unexpected log messages, UI inconsistencies, or bad output data. Perform this step last, after verifying the code changes are safe to run locally.

Adding the scroll is great, thanks for doing that. It really helps make the app work better across devices that we might not test against.
In addition to the scroll, I think we need to adjust the size of the images based on screen size. We'll have to figure out the best way to do that in Compose that's also somewhat multiplatform aware.
On a Pixel 2 sized device, our onboarding is over scrolling pretty badly.  and Pixel 2 screen size is a reasonable size for us to support.

i agree, i think we should also add background to the footer so that the content under the next button is invisible, also the top bar should not be there for the prod build that would also help with the available space, as for the image size...do you think that adding weight to layout components would help ?

Adding the scroll is great, thanks for doing that. It really helps make the app work better across devices that we might not test against.
In addition to the scroll, I think we need to adjust the size of the images based on screen size. We'll have to figure out the best way to do that in Compose that's also somewhat multiplatform aware.
On a Pixel 2 sized device, our onboarding is over scrolling pretty badly.  and Pixel 2 screen size is a reasonable size for us to support.

i agree, i think we should also add background to the footer so that the content under the next button is invisible, also the top bar should not be there for the prod build that would also help with the available space, as for the image size...do you think that adding weight to layout components would help ?

For the top bar, I've also wondered whether we might be better served with single more standard Android top bar (it starts to become helpful when you see the overflow menu on the last screen).  If the design called for a bar with a standard Android back button, title, and then a skip button E.g. <- Zcash        Skip then that would improve the screen height.
So it seems like we might want to create three followup issues:

Figure out the top bar on Android's onboarding
Figure out design for background behind the bottom buttons
Figure out image scaling e.g. https://developer.android.com/jetpack/compose/layouts/adaptive

Do you want to file those followup issue?  Then we can merge this and keep moving forward.

https://developer.android.com/jetpack/compose/layouts/adaptive

I've created followup issues, so i think we are ready to merge


No module named 'mongo_connector.compat' error after upgrade to major version 3.0.0

I have a docker service configuring mongoconnector between elasticsearch5 and mongo, with a Dockerfile like so:
FROM python:latest
RUN pip install 'mongo-connector[elastic5]'
RUN pip install 'elastic2-doc-manager[elastic5]'
RUN pip install 'dnspython'

COPY ./docker-entrypoint.sh .

CMD ["/bin/bash", "docker-entrypoint.sh"];

After the recent new release of mongoconnector 3.0.0 on pypi, mongoconnector fails to start with the error No module named 'mongo_connector.compat'. I was able to fix my issue by changing RUN pip install 'mongo-connector[elastic5]' to RUN pip install 'mongo-connector[elastic5]==2.5.1', but I would like to know how to fix this issue so that we will be able to move to the next major version release.
Full trace:
2018-10-30 19:02:24Traceback (most recent call last):
2018-10-30 19:02:24 File "/usr/local/bin/mongo-connector", line 11, in <module>
2018-10-30 19:02:24 sys.exit(main())
2018-10-30 19:02:24 File "/usr/local/lib/python3.7/site-packages/mongo_connector/util.py", line 107, in wrapped
2018-10-30 19:02:24 func(*args, **kwargs)
2018-10-30 19:02:24 File "/usr/local/lib/python3.7/site-packages/mongo_connector/connector.py", line 1395, in main
2018-10-30 19:02:24 conf.parse_args()
2018-10-30 19:02:24 File "/usr/local/lib/python3.7/site-packages/mongo_connector/config.py", line 125, in parse_args
2018-10-30 19:02:24 option, dict((k, values.get(k)) for k in option.cli_names)
2018-10-30 19:02:24 File "/usr/local/lib/python3.7/site-packages/mongo_connector/connector.py", line 1108, in apply_doc_managers
2018-10-30 19:02:24 DocManager = import_dm_by_name(dm["docManager"])
2018-10-30 19:02:24 File "/usr/local/lib/python3.7/site-packages/mongo_connector/connector.py", line 1075, in import_dm_by_name
2018-10-30 19:02:24 return import_dm_by_path(full_name)
2018-10-30 19:02:24 File "/usr/local/lib/python3.7/site-packages/mongo_connector/connector.py", line 1095, in import_dm_by_path
2018-10-30 19:02:24 "vailable doc managers. ImportError:\n%s" % (package, exc)
2018-10-30 19:02:24mongo_connector.errors.InvalidConfiguration: Could not import mongo_connector.doc_managers.elastic2_doc_manager. It could be that this doc manager has been moved out of this project and is maintained elsewhere. Make sure that you have the doc manager installed alongside mongo-connector. Check the README for a list of available doc managers. ImportError:
2018-10-30 19:02:24No module named 'mongo_connector.compat'

Oh. I hadn’t considered that the doc managers might be using mongoconnector as a library. Either that module needs to be restored or those doc managers need a release also. I’ll get that fixed. In the meantime, workaround is to use mongo_connector<3.

mongo_connector 3.0.1 is releasing which should fix the issue.

Confirmed, that fixes it! Thanks so much.


Enable showing stacktraces locals

Hi! I added a config variable to be able to see the locals inside the stacktraces.
The motivation for this was to be able to find duplicated queries by having more context. In my case this helped debugging django-rest-framework query duplication, see the pic below.

I had no clue why the queries were being duplicated, but with local()s I'm able now to see that it's in a Matchexception model and when trying to get the feetype attribute. After this, it was an easy fix.
I added the configuration as disabled by default because it is too verbose for most cases, but it is very useful for when issues are getting difficult to spot, enable it one time, fix the issue and disable it again.

I like the idea, though I think it might be worth to format the dict in the template. Otherwise as you mentioned, it will likely be noisy and difficult to read. What do you think?

I agree. Sent a commit to improve it.
In order to not try to parse locals() to avoid break anything, I opted to use the standard pprint and style it a little better with some css. Also refactored to take a 'template string' out into its own template. This is the best I could do

@matthiask What's your opinion of this idea?

@tim-schilling This would surely have helped me at times too. I always revert to print() debugging in this case, but builtin support for this would be nice.

Hi @tim-schilling I added your commits, fixed an issue and added some tests (not sure if they are enough). Let me know what you think

Merged with https://github.com/jazzband/django-debug-toolbar/commit/fd50ce3f76d78b2d79c226dced155c2d9fb87aa9

Thank you! Can't wait to see it live :)


I want to transfer my bot to other user's Microsoft Account

I have developed a bot using botframwork node SDK. This bot is not published yet, but I want to transfer the Microsoft developer portal access to other developer, who can manage stuff behalf of me. How to achieve this. Please help me out asap.

could successfully add the owners.!


feat: Cache accessed source files

We used to store the entire source code that was used to build an AST as a field within every node of the AST. This was a hack so that we can render the source line from an AST node when an error occurs. With our new diagnostics system, we should do better than that!
With this PR, we cache the source of every file accessed by the compiler in a new SourceMap class. Then, we can look up the source associated with a span when rendering a diagnostic.
Note that we can't rely on Pythons linecache since we also need to keep track of cells in jupyter notebooks as individual "files".

Codecov Report
Attention: Patch coverage is 91.48936% with 4 lines in your changes missing coverage. Please review.

Project coverage is 90.22%. Comparing base (d671bb5) to head (40e8cf2).

Files with missing lines
Patch %
Lines

guppylang/definition/function.py
75.00%
2 Missing :warning:

guppylang/span.py
83.33%
2 Missing :warning:

Additional details and impacted files
@@                 Coverage Diff                  @@
##           feat/diagnostics     #551      +/-   ##
====================================================
+ Coverage             89.90%   90.22%   +0.32%
====================================================
  Files                    61       61
  Lines                  6347     6376      +29
====================================================
+ Hits                   5706     5753      +47
+ Misses                  641      623      -18

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I think the various parse methods that take and never use a SourceMap are various constructs that don't track their source location yet?

Yes, exactly!


Fix $__dateFilter macro name in README.md

Description
Fix $__dateFilter macro name in README.md

Thanks for catching that!


Change API for direction and hidden attributes. Make buttons work in vertical.

Connected to #3

This change is

For me arrow down is always visible, even if the last item is focused:

Expected: arrow down is hidden when the last item is focused.

what browser?

Review status: 0 of 5 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

if not specified, then it's the default one :) Chrome/Linux

Review status: 0 of 5 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

@limonte fixed

Review status: 0 of 18 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

For me arrow down is always visible, even if the last item is focused:

Fixed now :+1:

Review status: 0 of 18 files reviewed at latest revision, 2 unresolved discussions.

vaadin-nav.html, line 148 at r2 (raw file):

        }

        _incrementScroll(pixels) {

increment is a confusing word, increment means increasing or addition but pixels could be both positive and negative. Just _scroll() will be better.

vaadin-nav.html, line 170 at r2 (raw file):

          this.$.backButton.style.transform = 'translateZ(0)';
          this.$.forwardButton.style.transform = 'translate3d(0, 0, 0)';
          this.$.forwardButton.style.transform = 'translateZ(0)';

I don't like that from the very beginning the component contains browser-specific hacks. Not a blocker.

Comments from Reviewable

Review status: 0 of 20 files reviewed at latest revision, 1 unresolved discussion.

vaadin-nav.html, line 148 at r2 (raw file):
Previously, limonte (Limon Monte) wrote…
increment is a confusing word, increment means increasing or addition but pixels could be both positive and negative. Just _scroll() will be better.

Done.

vaadin-nav.html, line 170 at r2 (raw file):
Previously, limonte (Limon Monte) wrote…
I don't like that from the very beginning the component contains browser-specific hacks. Not a blocker.

Me neither, but didn't get a better option so far. Maybe @platosha or @tomivirkki  ?

Comments from Reviewable

Review status: 0 of 20 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

vaadin-nav.html, line 170 at r2 (raw file):
Previously, manolo (Manuel Carrasco Moñino) wrote…
Me neither, but didn't get a better option so far. Maybe @platosha or @tomivirkki  ?

Is it the same issue as https://github.com/vaadin/vaadin-text-field/blob/master/vaadin-text-field.html#L406 ?
Rather use the same approach. Forcing button transforms programmatically makes it harder to theme them.

vaadin-nav.html, line 76 at r3 (raw file):

      :host([vertical]) [part="back-button"]::after {
        content: '▲';

These icons aren't very consistent. How about:
[part="back-button"]::after,
[part=“forward-button"]::after {
  content: '';
  border: 6px solid transparent;
  font-size: 0;
}

:host([vertical]) [part="forward-button"]::after {
  border-top-color: #444;
}

...

Comments from Reviewable

Review status: 0 of 21 files reviewed at latest revision, 3 unresolved discussions.

vaadin-nav.html, line 170 at r2 (raw file):
Previously, tomivirkki (Tomi Virkki) wrote…
Is it the same issue as https://github.com/vaadin/vaadin-text-field/blob/master/vaadin-text-field.html#L406 ?
Rather use the same approach. Forcing button transforms programmatically makes it harder to theme them.

Done.

vaadin-nav.html, line 76 at r3 (raw file):
Previously, tomivirkki (Tomi Virkki) wrote…
These icons aren't very consistent. How about:
[part="back-button"]::after,
[part=“forward-button"]::after {
  content: '';
  border: 6px solid transparent;
  font-size: 0;
}

:host([vertical]) [part="forward-button"]::after {
  border-top-color: #444;
}

...

All styling here is just to make the component work, and demonstrate that we can set icons by CSS.
@jouni is working on styling. I think it's better to make all definitive changes in a separated PR.

Comments from Reviewable

Review status: 0 of 21 files reviewed at latest revision, 4 unresolved discussions, some commit checks broke.

wct.conf.js, line 5 at r4 (raw file):

module.exports = {
  plugins: {
    'random-output': true

Why do you need random-output? It's useful only for big components with a lot of tests like grid.

Comments from Reviewable

Review status: 0 of 22 files reviewed at latest revision, 4 unresolved discussions.

wct.conf.js, line 5 at r4 (raw file):
Previously, limonte (Limon Monte) wrote…
Why do you need random-output? It's useful only for big components with a lot of tests like grid.

I'm trying to make tests pass, there are timeouts in iphone repeated in several builds

Comments from Reviewable

Review status: 0 of 20 files reviewed at latest revision, 4 unresolved discussions.

wct.conf.js, line 5 at r4 (raw file):
Previously, manolo (Manuel Carrasco Moñino) wrote…
I'm trying to make tests pass, there are timeouts in iphone repeated in several builds

Removed, testing in separated temporary branch.

Comments from Reviewable

Reviewed 2 of 4 files at r1, 2 of 16 files at r2, 7 of 12 files at r3, 12 of 12 files at r5.
Review status: all files reviewed at latest revision, 5 unresolved discussions.

vaadin-nav.html, line 141 at r5 (raw file):

        ready() {
          super.ready();
          window.addEventListener('resize', () => this._updateOverflow());

Polymer.IronResizableBehavior should not be extended in case we are going back to use resize event listener instead of listener to iron-resize

Comments from Reviewable

vaadin-nav.html, line 76 at r3 (raw file):
Previously, manolo (Manuel Carrasco Moñino) wrote…
All styling here is just to make the component work, and demonstrate that we can set icons by CSS.
@jouni is working on styling. I think it's better to make all definitive changes in a separated PR.

Ok, got it

Comments from Reviewable

Review status: 21 of 22 files reviewed at latest revision, 3 unresolved discussions.

vaadin-nav.html, line 141 at r5 (raw file):
Previously, YuriyVaadin (Yuriy Yevstihnyeyev) wrote…
Polymer.IronResizableBehavior should not be extended in case we are going back to use resize event listener instead of listener to iron-resize

Ups, merging mistake. Done

Comments from Reviewable

Reviewed 2 of 3 files at r6.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

Reviewed 2 of 4 files at r1, 2 of 16 files at r2, 6 of 12 files at r3, 1 of 12 files at r5, 1 of 3 files at r6, 9 of 9 files at r7.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Reviewed 2 of 4 files at r1, 2 of 16 files at r2, 6 of 12 files at r3, 1 of 12 files at r5, 1 of 3 files at r6, 9 of 9 files at r7.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable