Skip to content

Instantly share code, notes, and snippets.

@bartlomieju
Created December 9, 2021 16:21
Show Gist options
  • Save bartlomieju/716cd415bab8d5a4ec3bc499743a82d9 to your computer and use it in GitHub Desktop.
Save bartlomieju/716cd415bab8d5a4ec3bc499743a82d9 to your computer and use it in GitHub Desktop.
jupyter notebook
[I 2021-12-09 17:20:32.804 LabApp] JupyterLab extension loaded from /usr/local/Cellar/jupyterlab/3.2.4/libexec/lib/python3.9/site-packages/jupyterlab
[I 2021-12-09 17:20:32.804 LabApp] JupyterLab application directory is /usr/local/Cellar/jupyterlab/3.2.4/libexec/share/jupyter/lab
[I 17:20:32.813 NotebookApp] Serving notebooks from local directory: /Users/biwanczuk/dev/ideno
[I 17:20:32.813 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 17:20:32.813 NotebookApp] http://localhost:8888/?token=6a1b4c6d4743e5dff339982ec80ac39e758c0dd3b7e7cded
[I 17:20:32.813 NotebookApp] or http://127.0.0.1:8888/?token=6a1b4c6d4743e5dff339982ec80ac39e758c0dd3b7e7cded
[I 17:20:32.813 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 17:20:32.823 NotebookApp]
To access the notebook, open this file in a browser:
file:///Users/biwanczuk/Library/Jupyter/runtime/nbserver-44153-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=6a1b4c6d4743e5dff339982ec80ac39e758c0dd3b7e7cded
or http://127.0.0.1:8888/?token=6a1b4c6d4743e5dff339982ec80ac39e758c0dd3b7e7cded
[I 17:20:39.022 NotebookApp] Creating new notebook in
[W 17:20:40.312 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20211209172031 (::1) 9.660000ms referer=http://localhost:8888/notebooks/Untitled3.ipynb?kernel_name=deno
[I 17:20:40.316 NotebookApp] Kernel started: e343d3ea-5978-4a89-b8a2-f27febf20e7f, name: deno
parsing options
options {
cmd: "kernel",
connfile: "/Users/biwanczuk/Library/Jupyter/runtime/kernel-e343d3ea-5978-4a89-b8a2-f27febf20e7f.json"
}
constructing IDeno kernel...
initializing IDeno kernel...
connectionFile {
"shell_port": 58664,
"iopub_port": 58665,
"stdin_port": 58666,
"control_port": 58668,
"hb_port": 58667,
"ip": "127.0.0.1",
"key": "d8e1916e-6963d9b27026b23b79a3c1ed",
"transport": "tcp",
"signature_scheme": "hmac-sha256",
"kernel_name": "deno"
}
connectionSpec {
shell_port: 58664,
iopub_port: 58665,
stdin_port: 58666,
control_port: 58668,
hb_port: 58667,
ip: "127.0.0.1",
key: "d8e1916e-6963d9b27026b23b79a3c1ed",
transport: "tcp",
signature_scheme: "hmac-sha256",
kernel_name: "deno"
}
Starting script at: file:///Users/biwanczuk/dev/ideno/src/shell/child.ts
task queue empty, waiting for task...
'shell' received: [<IDS|MSG>,86cf9e2a43e2b5d55cf9be4a6e072ae8501ac36efca23b446691b1176d55fd5e,{"msg_id": "be8daebed770471c86a8f432607bc91d_44153_0", "msg_type": "kernel_info_request", "username": "biwanczuk", "session": "be8daebed770471c86a8f432607bc91d", "date": "2021-12-09T16:20:40.327805Z", "version": "5.3"},{},{},{}]
received data 60,73,68,83,124,77,83,71,62
received data 56,54,99,102,57,101,50,97,52,51,101,50,98,53,100,53,53,99,102,57,98,101,52,97,54,101,48,55,50,97,101,56,53,48,49,97,99,51,54,101,102,99,97,50,51,98,52,52,54,54,57,49,98,49,49,55,54,100,53,53,102,100,53,101
received data 123,34,109,115,103,95,105,100,34,58,32,34,98,101,56,100,97,101,98,101,100,55,55,48,52,55,49,99,56,54,97,56,102,52,51,50,54,48,55,98,99,57,49,100,95,52,52,49,53,51,95,48,34,44,32,34,109,115,103,95,116,121,112,101,34,58,32,34,107,101,114,110,101,108,95,105,110,102,111,95,114,101,113,117,101,115,116,34,44,32,34,117,115,101,114,110,97,109,101,34,58,32,34,98,105,119,97,110,99,122,117,107,34,44,32,34,115,101,115,115,105,111,110,34,58,32,34,98,101,56,100,97,101,98,101,100,55,55,48,52,55,49,99,56,54,97,56,102,52,51,50,54,48,55,98,99,57,49,100,34,44,32,34,100,97,116,101,34,58,32,34,50,48,50,49,45,49,50,45,48,57,84,49,54,58,50,48,58,52,48,46,51,50,55,56,48,53,90,34,44,32,34,118,101,114,115,105,111,110,34,58,32,34,53,46,51,34,125
received data 123,125
received data 123,125
received data 123,125
*** MSG DATA NOT VALIDATED ***
error: Uncaught (in promise) Error: HMAC was invalid on received packet
if (m.calcHmac(hmacKey) !== hmacSig) throw new Error("HMAC was invalid on received packet");
^
at Function.from (file:///Users/biwanczuk/dev/ideno/src/comm/message.ts:238:52)
at ShellComm.recv (file:///Users/biwanczuk/dev/ideno/src/comm/comm.ts:125:29)
at ShellComm.routerInit (file:///Users/biwanczuk/dev/ideno/src/comm/comm.ts:109:24)
at async ShellComm.init (file:///Users/biwanczuk/dev/ideno/src/comm/comm.ts:75:17)
at async Promise.all (index 0)
at async Promise.all (index 0)
at async Kernel.init (file:///Users/biwanczuk/dev/ideno/src/kernel.ts:117:9)
at async file:///Users/biwanczuk/dev/ideno/ideno.ts:12:5
[I 17:20:43.304 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
parsing options
options {
cmd: "kernel",
connfile: "/Users/biwanczuk/Library/Jupyter/runtime/kernel-e343d3ea-5978-4a89-b8a2-f27febf20e7f.json"
}
constructing IDeno kernel...
initializing IDeno kernel...
connectionFile {
"shell_port": 58664,
"iopub_port": 58665,
"stdin_port": 58666,
"control_port": 58668,
"hb_port": 58667,
"ip": "127.0.0.1",
"key": "d8e1916e-6963d9b27026b23b79a3c1ed",
"transport": "tcp",
"signature_scheme": "hmac-sha256",
"kernel_name": "deno"
}
connectionSpec {
shell_port: 58664,
iopub_port: 58665,
stdin_port: 58666,
control_port: 58668,
hb_port: 58667,
ip: "127.0.0.1",
key: "d8e1916e-6963d9b27026b23b79a3c1ed",
transport: "tcp",
signature_scheme: "hmac-sha256",
kernel_name: "deno"
}
Starting script at: file:///Users/biwanczuk/dev/ideno/src/shell/child.ts
task queue empty, waiting for task...
REPL got message: IpcMessage { data: { type: "ready", ready: true }, type: "ready" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment