posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.79k stars 85 forks source link

R or Python crash creates noisy, non-actionable popups #1556

Closed jmcphers closed 6 months ago

jmcphers commented 1 year ago

To reproduce, start Positron and R, then execute the command:

rlang::node_car(1L)

R crashes, which is expected, and automatically restarts. However, the user also sees these two popups:

image

These are noisy and unhelpful, and "go to output" sends the user to a debug log that (while useful for Positron developers) is also unhelpful.

The same problem exists for Python:

import ctypes
p = ctypes.pointer(ctypes.c_char.from_address(5))
p[0] = b'x'
image

These popups come from the R and Python LSPs. We should suppress them in the case of a crash; the only notification the user should see is the one we generate ourselves:

image
jthomasmock commented 11 months ago

Also ran into this on:

Positron Version: 2023.11.0 (Universal) build 1327 Code - OSS Version: 1.84.0 Commit: 1c068dc57a25fab48068c64920ffea44deec1ae4 Date: 2023-11-22T03:09:40.914Z Electron: 25.9.2 ElectronBuildId: undefined Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin arm64 23.1.0

Full dump of R runtime:

``` 2023-11-26 10:33:05.548 [info] [Positron] Connecting to R 4.2.0 kernel (pid 30504) 2023-11-26 10:33:05.548 [info] [Positron] Streaming log file: /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-6Sxwyk/kernel.log 2023-11-26 10:33:05.548 [info] [Positron] Control socket created (count = 1) 2023-11-26 10:33:05.548 [info] [Positron] Shell socket created (count = 2) 2023-11-26 10:33:05.548 [info] [Positron] Stdin socket created (count = 3) 2023-11-26 10:33:05.548 [info] [Positron] I/O socket created (count = 4) 2023-11-26 10:33:05.548 [info] [Positron] Heartbeat socket created (count = 5) 2023-11-26 10:33:05.548 [info] [Positron] Control socket connecting to tcp://127.0.0.1:64857... 2023-11-26 10:33:05.548 [info] [Positron] Shell socket connecting to tcp://127.0.0.1:50989... 2023-11-26 10:33:05.548 [info] [Positron] Stdin socket connecting to tcp://127.0.0.1:53803... 2023-11-26 10:33:05.548 [info] [Positron] I/O socket connecting to tcp://127.0.0.1:60256... 2023-11-26 10:33:05.548 [info] [Positron] Heartbeat socket connecting to tcp://127.0.0.1:53286... 2023-11-26 10:33:05.548 [info] [R] *** Log started at Sun Nov 26 10:33:05 CST 2023 2023-11-26 10:33:05.548 [info] [R] *** Command line: 2023-11-26 10:33:05.548 [info] [R] /Applications/Positron.app/Contents/Resources/app/extensions/positron-r/dist/bin/ark --connection_file /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-6Sxwyk/connection.json --log /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-6Sxwyk/kernel.log --startup-file /Applications/Positron.app/Contents/Resources/app/extensions/positron-r/resources/scripts/startup.R -- --interactive --no-restore-data [Positron] Stdin socket connected to tcp://127.0.0.1:53803 [Positron] I/O socket connected to tcp://127.0.0.1:60256 [Positron] Heartbeat socket connected to tcp://127.0.0.1:53286 [Positron] Shell socket connected to tcp://127.0.0.1:50989 [Positron] Control socket connected to tcp://127.0.0.1:64857 [Positron] Receieved initial heartbeat: heartbeat [Positron] R kernel status changed: starting => ready [Positron] Starting heartbeat check at 30 second intervals... [Positron] SEND heartbeat with timeout of 30 seconds [Positron] SEND kernel_info_request to Shell: {"buffers":[],"content":{},"header":{"msg_id":"914fc410-1c8e-400b-ac06-01b2b812598c","msg_type":"kernel_info_request","version":"5.0","date":"2023-11-26T16:33:07.056Z","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND kernel_info_request: OK [Positron] Creating 'positron.frontEnd' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.frontEnd","comm_id":"positron-frontEnd-r-0-e841fee0","data":{}},"header":{"msg_id":"0fb1f646-35df-47dd-abc5-c81a4f3138fe","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:07.057Z","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] Creating 'positron.help' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.help","comm_id":"positron-help-r-1-bb7d0eae","data":{}},"header":{"msg_id":"83ed80a7-3d7c-4612-8838-5c832a7a3b8a","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:07.060Z","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] Creating 'positron.variables' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.variables","comm_id":"positron-variables-r-2-57bb6b85","data":{}},"header":{"msg_id":"e1138ed1-b150-47fc-b9a3-ce30b5537b11","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:07.060Z","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] Starting Positron LSP server on port 59536 [Positron] Starting LSP server positron-lsp-r-0-50457aa8 for 127.0.0.1:59536 [Positron] Creating 'positron.lsp' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.lsp","comm_id":"positron-lsp-r-0-50457aa8","data":{"client_address":"127.0.0.1:59536"}},"header":{"msg_id":"6c825113-5403-4e69-9084-a86183499cb7","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:07.061Z","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] Starting DAP server positron-dap-r-1-2248bfc1 for 127.0.0.1:49941 [Positron] Creating 'positron.dap' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.dap","comm_id":"positron-dap-r-1-2248bfc1","data":{"client_address":"127.0.0.1:49941"}},"header":{"msg_id":"7109518a-814e-4d63-8e89-d370ce06007e","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:07.067Z","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] R kernel status changed: ready => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"31f0a1b2-916f-4971-9c2c-ca3343d41cba","session":"0c36464b-28e8-467b-8d1c-3fc34cf3c81d","username":"kernel","date":"2023-11-26T16:33:07.058392+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"914fc410-1c8e-400b-ac06-01b2b812598c","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock","date":"2023-11-26T16:33:07.056Z","msg_type":"kernel_info_request","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] SEND shutdown_request to Control: {"buffers":[],"content":{"restart":true},"header":{"msg_id":"0a70a831-a35f-48d3-b777-9514ac95f5c8","msg_type":"shutdown_request","version":"5.0","date":"2023-11-26T16:33:07.235Z","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND shutdown_request: OK [Positron] RECV status/busy from iopub: {"header":{"msg_id":"8c34c082-b7ca-4c20-bbe6-ae9912cc0c80","session":"0c36464b-28e8-467b-8d1c-3fc34cf3c81d","username":"kernel","date":"2023-11-26T16:33:07.237010+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"0a70a831-a35f-48d3-b777-9514ac95f5c8","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock","date":"2023-11-26T16:33:07.235Z","msg_type":"shutdown_request","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] RECV status/idle from iopub: {"header":{"msg_id":"48f9c6a5-2ffa-41ef-92a0-422d2b47ca8c","session":"0c36464b-28e8-467b-8d1c-3fc34cf3c81d","username":"kernel","date":"2023-11-26T16:33:07.237513+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"0a70a831-a35f-48d3-b777-9514ac95f5c8","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock","date":"2023-11-26T16:33:07.235Z","msg_type":"shutdown_request","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] RECV kernel_info_reply from shell: {"header":{"msg_id":"0208319b-ed88-42ec-a46a-69e04fcae3c7","session":"0c36464b-28e8-467b-8d1c-3fc34cf3c81d","username":"kernel","date":"2023-11-26T16:33:07.917454+00:00","msg_type":"kernel_info_reply","version":"5.3"},"parent_header":{"msg_id":"914fc410-1c8e-400b-ac06-01b2b812598c","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock","date":"2023-11-26T16:33:07.056Z","msg_type":"kernel_info_request","version":"5.0"},"metadata":{},"content":{"banner":"\nR version 4.2.0 (2022-04-22) -- \"Vigorous Calisthenics\"\nCopyright (C) 2022 The R Foundation for Statistical Computing\nPlatform: aarch64-apple-darwin20 (64-bit)\n\nR is free software and comes with ABSOLUTELY NO WARRANTY.\nYou are welcome to redistribute it under certain conditions.\nType 'license()' or 'licence()' for distribution details.\n\n Natural language support but running in an English locale\n\nR is a collaborative project with many contributors.\nType 'contributors()' for more information and\n'citation()' on how to cite R or R packages in publications.\n\nType 'demo()' for some demos, 'help()' for on-line help, or\n'help.start()' for an HTML browser interface to help.\nType 'q()' to quit R.\n\n\f \n ---------------------------------\n [Today is 2023-11-26]\n Using R 4.2.0 \n Be humble, hungry and kind. \n Be so good they can't ignore you.\n ---------------------------------","debugger":false,"help_links":[],"language_info":{"codemirror_mode":"","file_extension":".R","mimetype":"text/r","name":"R","nbconvert_exporter":"","positron":{"continuation_prompt":"+ ","input_prompt":"> "},"pygments_lexer":"","version":"R version 4.2.0 (2022-04-22)"},"protocol_version":"5.3","status":"ok"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"b5997bc7-d90c-46b3-9af1-c29d8e8e6705","session":"0c36464b-28e8-467b-8d1c-3fc34cf3c81d","username":"kernel","date":"2023-11-26T16:33:07.917539+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"914fc410-1c8e-400b-ac06-01b2b812598c","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock","date":"2023-11-26T16:33:07.056Z","msg_type":"kernel_info_request","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"0b3f5bff-13eb-41b6-b4a4-e976029feb42","session":"0c36464b-28e8-467b-8d1c-3fc34cf3c81d","username":"kernel","date":"2023-11-26T16:33:07.917599+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"0fb1f646-35df-47dd-abc5-c81a4f3138fe","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock","date":"2023-11-26T16:33:07.057Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] RECV stream from iopub: {"header":{"msg_id":"f65d90a4-3b96-4d52-80ed-d25ec04ec101","session":"0c36464b-28e8-467b-8d1c-3fc34cf3c81d","username":"kernel","date":"2023-11-26T16:33:07.918060+00:00","msg_type":"stream","version":"5.3"},"parent_header":{"msg_id":"0fb1f646-35df-47dd-abc5-c81a4f3138fe","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock","date":"2023-11-26T16:33:07.057Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"name":"stdout","text":"\n"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"200fb1a5-747f-4737-a2a5-1fa79c6f6097","session":"0c36464b-28e8-467b-8d1c-3fc34cf3c81d","username":"kernel","date":"2023-11-26T16:33:07.918082+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"0fb1f646-35df-47dd-abc5-c81a4f3138fe","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock","date":"2023-11-26T16:33:07.057Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"e8a5b4d2-cb63-4452-bcfc-7ee12edfbc4b","session":"0c36464b-28e8-467b-8d1c-3fc34cf3c81d","username":"kernel","date":"2023-11-26T16:33:07.918096+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"83ed80a7-3d7c-4612-8838-5c832a7a3b8a","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock","date":"2023-11-26T16:33:07.060Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] RECV comm_msg/frontEnd/event/working_directory from iopub: {"header":{"msg_id":"a092b26e-434c-4cc0-b37c-85f2b4b0501b","session":"0c36464b-28e8-467b-8d1c-3fc34cf3c81d","username":"kernel","date":"2023-11-26T16:33:07.919548+00:00","msg_type":"comm_msg","version":"5.3"},"parent_header":null,"metadata":{},"content":{"comm_id":"positron-frontEnd-r-0-e841fee0","data":{"data":{"directory":"~/"},"msg_type":"event","name":"working_directory"}},"buffers":[]} [Positron] SEND comm_info_request to Shell: {"buffers":[],"content":{"target_name":"positron.plot"},"header":{"msg_id":"792cdb90-b568-4b14-a911-88db82ee6031","msg_type":"comm_info_request","version":"5.0","date":"2023-11-26T16:33:07.920Z","session":"9922b24436feed3a96c3ca8c8658fad9","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_info_request: OK [Positron] Control socket disconnected from tcp://127.0.0.1:64857 [Positron] Shell socket disconnected from tcp://127.0.0.1:50989 [Positron] Heartbeat socket disconnected from tcp://127.0.0.1:53286 [Positron] I/O socket disconnected from tcp://127.0.0.1:60256 [Positron] Stdin socket disconnected from tcp://127.0.0.1:53803 [Positron] All 5 sockets disconnected; kernel exited [Positron] R kernel status changed: busy => exited [Positron] R kernel status changed: exited => initializing [Positron] R kernel status changed: initializing => starting [Positron] Starting R 4.2.0 kernel: /Applications/Positron.app/Contents/Resources/app/extensions/positron-r/dist/bin/ark --connection_file /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-T0gltK/connection.json --log /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-T0gltK/kernel.log --startup-file /Applications/Positron.app/Contents/Resources/app/extensions/positron-r/resources/scripts/startup.R -- --interactive --no-restore-data... [Positron] Environment: {"RUST_BACKTRACE":"1","RUST_LOG":"warn","R_HOME":"/Library/Frameworks/R.framework/Resources","POSITRON_DYLD_FALLBACK_LIBRARY_PATH":"/Library/Frameworks/R.framework/Resources/lib"} [Positron] Writing session state to workspace storage: '0be7b550d268aab7fd6d59497c4e4725' => {"connectionFile":"/var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-T0gltK/connection.json","logFile":"/var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-T0gltK/kernel.log","sessionId":"0b316f10ce6df5719c23e6cd34f800eb","processId":30558} [Positron] Connecting to R 4.2.0 kernel (pid 30558) [Positron] Streaming log file: /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-T0gltK/kernel.log [Positron] Control socket created (count = 1) [Positron] Shell socket created (count = 2) [Positron] Stdin socket created (count = 3) [Positron] I/O socket created (count = 4) [Positron] Heartbeat socket created (count = 5) [Positron] Control socket connecting to tcp://127.0.0.1:61848... [Positron] Shell socket connecting to tcp://127.0.0.1:64437... [Positron] Stdin socket connecting to tcp://127.0.0.1:49262... [Positron] I/O socket connecting to tcp://127.0.0.1:46078... [Positron] Heartbeat socket connecting to tcp://127.0.0.1:45863... [Positron] Control socket connected to tcp://127.0.0.1:61848 [Positron] Heartbeat socket connected to tcp://127.0.0.1:45863 [Positron] Stdin socket connected to tcp://127.0.0.1:49262 [Positron] I/O socket connected to tcp://127.0.0.1:46078 [Positron] Shell socket connected to tcp://127.0.0.1:64437 [Positron] Receieved initial heartbeat: heartbeat [Positron] R kernel status changed: starting => ready [Positron] Starting heartbeat check at 30 second intervals... [Positron] SEND heartbeat with timeout of 30 seconds [Positron] Creating 'positron.frontEnd' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.frontEnd","comm_id":"positron-frontEnd-r-3-9bf9297a","data":{}},"header":{"msg_id":"72117345-e728-4c1b-bced-a3ffa363a505","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:08.856Z","session":"0b316f10ce6df5719c23e6cd34f800eb","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] R kernel status changed: ready => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"897902b7-8a05-490a-8078-9ed54d6d6fa2","session":"ab9506d4-5c53-4885-8b45-a581d756c1bd","username":"kernel","date":"2023-11-26T16:33:08.856610+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"72117345-e728-4c1b-bced-a3ffa363a505","session":"0b316f10ce6df5719c23e6cd34f800eb","username":"thomasmock","date":"2023-11-26T16:33:08.856Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"ae5d06b0-0197-437d-89d0-41671da3e896","session":"ab9506d4-5c53-4885-8b45-a581d756c1bd","username":"kernel","date":"2023-11-26T16:33:08.856664+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"72117345-e728-4c1b-bced-a3ffa363a505","session":"0b316f10ce6df5719c23e6cd34f800eb","username":"thomasmock","date":"2023-11-26T16:33:08.856Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] RECV comm_msg/frontEnd/event/working_directory from iopub: {"header":{"msg_id":"9a6a3f36-50f9-4adb-8f19-fa3a0b230f19","session":"ab9506d4-5c53-4885-8b45-a581d756c1bd","username":"kernel","date":"2023-11-26T16:33:08.856814+00:00","msg_type":"comm_msg","version":"5.3"},"parent_header":null,"metadata":{},"content":{"comm_id":"positron-frontEnd-r-3-9bf9297a","data":{"data":{"directory":"~/"},"msg_type":"event","name":"working_directory"}},"buffers":[]} [Positron] Creating 'positron.help' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.help","comm_id":"positron-help-r-4-7c25d08b","data":{}},"header":{"msg_id":"4f660a16-3c1f-46d3-9eac-33e8cabd19a0","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:08.857Z","session":"0b316f10ce6df5719c23e6cd34f800eb","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] Creating 'positron.variables' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.variables","comm_id":"positron-variables-r-5-91a0382f","data":{}},"header":{"msg_id":"d0ead8e8-4f8d-4a5e-9473-432cca10edcd","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:08.857Z","session":"0b316f10ce6df5719c23e6cd34f800eb","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"b33a6584-385e-48b8-b263-81fc8ec06434","session":"ab9506d4-5c53-4885-8b45-a581d756c1bd","username":"kernel","date":"2023-11-26T16:33:08.857569+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"4f660a16-3c1f-46d3-9eac-33e8cabd19a0","session":"0b316f10ce6df5719c23e6cd34f800eb","username":"thomasmock","date":"2023-11-26T16:33:08.857Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [R] *** Log started at Sun Nov 26 10:33:08 CST 2023 [R] *** Command line: [R] /Applications/Positron.app/Contents/Resources/app/extensions/positron-r/dist/bin/ark --connection_file /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-T0gltK/connection.json --log /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-T0gltK/kernel.log --startup-file /Applications/Positron.app/Contents/Resources/app/extensions/positron-r/resources/scripts/startup.R -- --interactive --no-restore-data [Positron] Shell socket disconnected from tcp://127.0.0.1:64437 [Positron] I/O socket disconnected from tcp://127.0.0.1:46078 [Positron] Stdin socket disconnected from tcp://127.0.0.1:49262 [Positron] Control socket disconnected from tcp://127.0.0.1:61848 [Positron] Heartbeat socket disconnected from tcp://127.0.0.1:45863 [Positron] All 5 sockets disconnected; kernel exited [R] [R] 0: std::backtrace::Backtrace::create [R] 1: ark::r_task::r_task [R] 2: ark::kernel::Kernel::establish_event_handler [R] 3: ark::shell::listen [R] 4: std::sys_common::backtrace::__rust_begin_short_backtrace [R] 5: core::ops::function::FnOnce::call_once{{vtable.shim}} [R] 6: std::sys::unix::thread::Thread::new::thread_start [R] 7: __pthread_joiner_wake [R] [R] 2023-11-26T16:33:13.867798000Z [ark-unknown] ERROR crates/ark/src/r_task.rs:104: Timeout while running task. [R] Backtrace of calling thread: [R] [R] 0: std::backtrace::Backtrace::create [R] 1: ark::r_task::r_task [R] 2: ark::help::r_help::RHelp::start [R] 3: ::handle_comm_open::{{closure}} [R] 4: futures_executor::local_pool::block_on [R] 5: amalthea::socket::shell::Shell::process_message [R] 6: amalthea::socket::shell::Shell::listen [R] 7: amalthea::kernel::Kernel::shell_thread [R] 8: std::sys_common::backtrace::__rust_begin_short_backtrace [R] 9: core::ops::function::FnOnce::call_once{{vtable.shim}} [R] 10: std::sys::unix::thread::Thread::new::thread_start [R] 11: __pthread_joiner_wake [R] [R] [Positron] R kernel status changed: busy => exited [Positron] R kernel status changed: exited => initializing [Positron] R kernel status changed: initializing => starting [Positron] Starting R 4.2.0 kernel: /Applications/Positron.app/Contents/Resources/app/extensions/positron-r/dist/bin/ark --connection_file /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-pvi88Q/connection.json --log /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-pvi88Q/kernel.log --startup-file /Applications/Positron.app/Contents/Resources/app/extensions/positron-r/resources/scripts/startup.R -- --interactive --no-restore-data... [Positron] Environment: {"RUST_BACKTRACE":"1","RUST_LOG":"warn","R_HOME":"/Library/Frameworks/R.framework/Resources","POSITRON_DYLD_FALLBACK_LIBRARY_PATH":"/Library/Frameworks/R.framework/Resources/lib"} [Positron] Writing session state to workspace storage: '0be7b550d268aab7fd6d59497c4e4725' => {"connectionFile":"/var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-pvi88Q/connection.json","logFile":"/var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-pvi88Q/kernel.log","sessionId":"97acf80dae40e1a30d291c6a9836fa9e","processId":30579} [Positron] Connecting to R 4.2.0 kernel (pid 30579) [Positron] Streaming log file: /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-pvi88Q/kernel.log [Positron] Control socket created (count = 1) [Positron] Shell socket created (count = 2) [Positron] Stdin socket created (count = 3) [Positron] I/O socket created (count = 4) [Positron] Heartbeat socket created (count = 5) [Positron] Control socket connecting to tcp://127.0.0.1:55237... [Positron] Shell socket connecting to tcp://127.0.0.1:53971... [Positron] Stdin socket connecting to tcp://127.0.0.1:44900... [Positron] I/O socket connecting to tcp://127.0.0.1:47728... [Positron] Heartbeat socket connecting to tcp://127.0.0.1:50553... [Positron] I/O socket connected to tcp://127.0.0.1:47728 [Positron] Control socket connected to tcp://127.0.0.1:55237 [Positron] Shell socket connected to tcp://127.0.0.1:53971 [Positron] Stdin socket connected to tcp://127.0.0.1:44900 [Positron] Heartbeat socket connected to tcp://127.0.0.1:50553 [Positron] Receieved initial heartbeat: heartbeat [Positron] R kernel status changed: starting => ready [Positron] Starting heartbeat check at 30 second intervals... [Positron] SEND heartbeat with timeout of 30 seconds [Positron] SEND kernel_info_request to Shell: {"buffers":[],"content":{},"header":{"msg_id":"e8aad002-87a3-4256-b6d2-a89df48a9f77","msg_type":"kernel_info_request","version":"5.0","date":"2023-11-26T16:33:14.558Z","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND kernel_info_request: OK [Positron] Creating 'positron.frontEnd' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.frontEnd","comm_id":"positron-frontEnd-r-6-519f68be","data":{}},"header":{"msg_id":"1d7cca5d-0e80-4d0d-a73b-56e275c6a0c0","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:14.558Z","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] R kernel status changed: ready => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"b0952e10-738d-4373-876e-21d6c7b57104","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.558418+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"e8aad002-87a3-4256-b6d2-a89df48a9f77","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.558Z","msg_type":"kernel_info_request","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] Creating 'positron.help' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.help","comm_id":"positron-help-r-7-b44c0444","data":{}},"header":{"msg_id":"b6a24d0c-9fd8-4137-8fe5-03fd7fc49f3c","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:14.559Z","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] Creating 'positron.variables' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.variables","comm_id":"positron-variables-r-8-67d61a77","data":{}},"header":{"msg_id":"4d76d510-419e-4a1e-a207-c3a28941f960","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:14.559Z","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] RECV kernel_info_reply from shell: {"header":{"msg_id":"049da8fc-ce1f-4e9e-b8d7-fa6d7407c7e6","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.789155+00:00","msg_type":"kernel_info_reply","version":"5.3"},"parent_header":{"msg_id":"e8aad002-87a3-4256-b6d2-a89df48a9f77","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.558Z","msg_type":"kernel_info_request","version":"5.0"},"metadata":{},"content":{"banner":"\nR version 4.2.0 (2022-04-22) -- \"Vigorous Calisthenics\"\nCopyright (C) 2022 The R Foundation for Statistical Computing\nPlatform: aarch64-apple-darwin20 (64-bit)\n\nR is free software and comes with ABSOLUTELY NO WARRANTY.\nYou are welcome to redistribute it under certain conditions.\nType 'license()' or 'licence()' for distribution details.\n\n Natural language support but running in an English locale\n\nR is a collaborative project with many contributors.\nType 'contributors()' for more information and\n'citation()' on how to cite R or R packages in publications.\n\nType 'demo()' for some demos, 'help()' for on-line help, or\n'help.start()' for an HTML browser interface to help.\nType 'q()' to quit R.\n\n\f \n ---------------------------------\n [Today is 2023-11-26]\n Using R 4.2.0 \n Be humble, hungry and kind. \n Be so good they can't ignore you.\n ---------------------------------","debugger":false,"help_links":[],"language_info":{"codemirror_mode":"","file_extension":".R","mimetype":"text/r","name":"R","nbconvert_exporter":"","positron":{"continuation_prompt":"+ ","input_prompt":"> "},"pygments_lexer":"","version":"R version 4.2.0 (2022-04-22)"},"protocol_version":"5.3","status":"ok"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"18c9806f-7508-4329-86aa-90909d7761ef","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.789229+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"e8aad002-87a3-4256-b6d2-a89df48a9f77","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.558Z","msg_type":"kernel_info_request","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"b5242a61-81ef-4f08-9a1a-b2893a17fa51","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.789268+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"1d7cca5d-0e80-4d0d-a73b-56e275c6a0c0","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.558Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"fa70f0c6-7258-448e-bb31-813ae2aa21ac","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.789283+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"1d7cca5d-0e80-4d0d-a73b-56e275c6a0c0","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.558Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"842ee239-d83b-4c88-9ab1-c7d979548575","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.789297+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"b6a24d0c-9fd8-4137-8fe5-03fd7fc49f3c","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.559Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] RECV comm_msg/frontEnd/event/working_directory from iopub: {"header":{"msg_id":"47671261-0e98-44da-87f0-4fe43c36581f","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.789362+00:00","msg_type":"comm_msg","version":"5.3"},"parent_header":null,"metadata":{},"content":{"comm_id":"positron-frontEnd-r-6-519f68be","data":{"data":{"directory":"~/"},"msg_type":"event","name":"working_directory"}},"buffers":[]} [Positron] SEND comm_info_request to Shell: {"buffers":[],"content":{"target_name":"positron.plot"},"header":{"msg_id":"a53e286d-5097-43b7-84b9-2ac0b35cf937","msg_type":"comm_info_request","version":"5.0","date":"2023-11-26T16:33:14.791Z","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_info_request: OK [Positron] RECV comm_msg/frontEnd/event/busy from iopub: {"header":{"msg_id":"23c7b302-5dde-4573-9db0-3f20cad54e58","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.921914+00:00","msg_type":"comm_msg","version":"5.3"},"parent_header":null,"metadata":{},"content":{"comm_id":"positron-frontEnd-r-6-519f68be","data":{"data":{"busy":false},"msg_type":"event","name":"busy"}},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"7a47aa5e-2f10-4964-bd9a-150a8f27f34e","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.921974+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"b6a24d0c-9fd8-4137-8fe5-03fd7fc49f3c","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.559Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"c24d035e-36ff-4f5b-8408-905b7ffc6efb","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.921986+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"4d76d510-419e-4a1e-a207-c3a28941f960","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.559Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"74bec06a-9010-4e12-936c-1990c89a25a8","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.922056+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"4d76d510-419e-4a1e-a207-c3a28941f960","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.559Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"e7af7188-d17e-4732-803c-03b0febd7c43","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.922089+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"a53e286d-5097-43b7-84b9-2ac0b35cf937","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.791Z","msg_type":"comm_info_request","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"acda3931-0057-40c7-86dd-18585569c174","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.922122+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"a53e286d-5097-43b7-84b9-2ac0b35cf937","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.791Z","msg_type":"comm_info_request","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] RECV comm_msg/positron-variables-r-8-67d61a77/list from iopub: {"header":{"msg_id":"2227d109-d31e-4d7e-ae70-c50dba5cf143","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.922653+00:00","msg_type":"comm_msg","version":"5.3"},"parent_header":null,"metadata":{},"content":{"comm_id":"positron-variables-r-8-67d61a77","data":{"length":0,"msg_type":"list","variables":[],"version":1}},"buffers":[]} [Positron] RECV comm_info_reply from shell: {"header":{"msg_id":"5f1a6966-1be6-4587-ab97-884d2c8568d3","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:14.922063+00:00","msg_type":"comm_info_reply","version":"5.3"},"parent_header":{"msg_id":"a53e286d-5097-43b7-84b9-2ac0b35cf937","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:14.791Z","msg_type":"comm_info_request","version":"5.0"},"metadata":{},"content":{"comms":{},"status":"ok"},"buffers":[]} [R] *** Log started at Sun Nov 26 10:33:14 CST 2023 [R] *** Command line: [R] /Applications/Positron.app/Contents/Resources/app/extensions/positron-r/dist/bin/ark --connection_file /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-pvi88Q/connection.json --log /var/folders/dr/jx6dh4ss7cqc111rf64bxqw40000gn/T/kernel-pvi88Q/kernel.log --startup-file /Applications/Positron.app/Contents/Resources/app/extensions/positron-r/resources/scripts/startup.R -- --interactive --no-restore-data [Positron] SEND comm_close to Shell: {"buffers":[],"content":{"comm_id":"positron-lsp-r-0-50457aa8","data":{}},"header":{"msg_id":"45aae280-b114-45b7-9465-54bf311057a7","msg_type":"comm_close","version":"5.0","date":"2023-11-26T16:33:27.067Z","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] Timeout while connecting to comm positron-lsp-r-0-50457aa8 [Positron] SEND comm_close: OK [Positron] Info: error while creating positron.lsp client for R: Error: Comm positron-lsp-r-0-50457aa8 closed before connecting [Positron] Removing "positron.lsp" client positron-lsp-r-0-50457aa8 for R [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"34217503-9d40-4bd4-a2be-355eeb5065db","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.068413+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"45aae280-b114-45b7-9465-54bf311057a7","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:27.067Z","msg_type":"comm_close","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"06c007c3-5e28-4bf3-9385-135ea0519a9d","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.068450+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"45aae280-b114-45b7-9465-54bf311057a7","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:27.067Z","msg_type":"comm_close","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] Starting Positron LSP server on port 61979 [Positron] Starting LSP server positron-lsp-r-2-e0a24641 for 127.0.0.1:61979 [Positron] Creating 'positron.lsp' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.lsp","comm_id":"positron-lsp-r-2-e0a24641","data":{"client_address":"127.0.0.1:61979"}},"header":{"msg_id":"c2f11beb-f804-4054-a127-48a7a690f8ea","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:27.070Z","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] Starting DAP server positron-dap-r-3-c7957112 for 127.0.0.1:44263 [Positron] Creating 'positron.dap' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.dap","comm_id":"positron-dap-r-3-c7957112","data":{"client_address":"127.0.0.1:44263"}},"header":{"msg_id":"1e9e9b47-30e9-46d4-8218-2ada3c61455a","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:27.071Z","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"2fb8b4a8-bc73-49c6-bf8e-7c876941e588","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.071203+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"c2f11beb-f804-4054-a127-48a7a690f8ea","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:27.070Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"404cac74-a8b8-427a-bafd-f3babba4792d","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.071872+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"c2f11beb-f804-4054-a127-48a7a690f8ea","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:27.070Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] RECV comm_msg/LSP/server_started from iopub: {"header":{"msg_id":"0266b9a8-ed83-4f4e-a4f4-30b52a6f0992","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.071908+00:00","msg_type":"comm_msg","version":"5.3"},"parent_header":null,"metadata":{},"content":{"comm_id":"positron-lsp-r-2-e0a24641","data":{"content":{},"msg_type":"server_started"}},"buffers":[]} [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"85b27974-b2cc-422d-b0a0-f2f8838a9dd2","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.071918+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"1e9e9b47-30e9-46d4-8218-2ada3c61455a","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:27.071Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"706900d0-863e-45ec-beb2-2a4aead49208","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.072342+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"1e9e9b47-30e9-46d4-8218-2ada3c61455a","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:27.071Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] RECV comm_msg/DAP/server_started from iopub: {"header":{"msg_id":"d2869e2a-6c7b-4a62-bc5e-9bd19fe85b1f","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.072355+00:00","msg_type":"comm_msg","version":"5.3"},"parent_header":null,"metadata":{},"content":{"comm_id":"positron-dap-r-3-c7957112","data":{"content":{},"msg_type":"server_started"}},"buffers":[]} [Positron] Unknown DAP command: server_started [Positron] Starting DAP server positron-dap-r-4-19eeeee1 for 127.0.0.1:56691 [Positron] Creating 'positron.dap' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.dap","comm_id":"positron-dap-r-4-19eeeee1","data":{"client_address":"127.0.0.1:56691"}},"header":{"msg_id":"d472d6dd-9e28-4ae5-9471-e1a7f3db7ac8","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:27.078Z","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] Starting Positron LSP server on port 64700 [Positron] Starting LSP server positron-lsp-r-5-71d4aa7b for 127.0.0.1:64700 [Positron] Creating 'positron.lsp' client for R [Positron] SEND comm_open to Shell: {"buffers":[],"content":{"target_name":"positron.lsp","comm_id":"positron-lsp-r-5-71d4aa7b","data":{"client_address":"127.0.0.1:64700"}},"header":{"msg_id":"bd84e9dd-d858-4160-924f-38f9dcea83f5","msg_type":"comm_open","version":"5.0","date":"2023-11-26T16:33:27.078Z","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock"},"metadata":{},"parent_header":{}} [Positron] SEND comm_open: OK [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"0b327f32-ad3a-40f1-a59b-fe79d69f5a70","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.078402+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"d472d6dd-9e28-4ae5-9471-e1a7f3db7ac8","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:27.078Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"7a64262e-2c45-4c8d-b5bf-17a7f623bccb","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.078525+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"d472d6dd-9e28-4ae5-9471-e1a7f3db7ac8","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:27.078Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] RECV comm_msg/DAP/server_started from iopub: {"header":{"msg_id":"ae40a8f8-cd72-4492-82f7-5c6926d2e6d2","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.078552+00:00","msg_type":"comm_msg","version":"5.3"},"parent_header":null,"metadata":{},"content":{"comm_id":"positron-dap-r-4-19eeeee1","data":{"content":{},"msg_type":"server_started"}},"buffers":[]} [Positron] Unknown DAP command: server_started [Positron] R kernel status changed: idle => busy [Positron] RECV status/busy from iopub: {"header":{"msg_id":"7384cbda-da8b-4b44-8828-add94561e385","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.078579+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"bd84e9dd-d858-4160-924f-38f9dcea83f5","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:27.078Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"busy"},"buffers":[]} [Positron] R kernel status changed: busy => idle [Positron] RECV status/idle from iopub: {"header":{"msg_id":"fe557091-e477-46b6-bea8-81851f8e283c","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.078869+00:00","msg_type":"status","version":"5.3"},"parent_header":{"msg_id":"bd84e9dd-d858-4160-924f-38f9dcea83f5","session":"97acf80dae40e1a30d291c6a9836fa9e","username":"thomasmock","date":"2023-11-26T16:33:27.078Z","msg_type":"comm_open","version":"5.0"},"metadata":{},"content":{"execution_state":"idle"},"buffers":[]} [Positron] RECV comm_msg/LSP/server_started from iopub: {"header":{"msg_id":"4d44a71d-bed3-40fa-bef3-478571bad1af","session":"60582ef3-1116-4d63-bea2-d920522ee99c","username":"kernel","date":"2023-11-26T16:33:27.078882+00:00","msg_type":"comm_msg","version":"5.3"},"parent_header":null,"metadata":{},"content":{"comm_id":"positron-lsp-r-5-71d4aa7b","data":{"content":{},"msg_type":"server_started"}},"buffers":[]} [R] 2023-11-26T16:33:27.068412000Z [ark-unknown] WARN crates/amalthea/src/comm/comm_manager.rs:188: Received close message for unknown comm channel positron-lsp-r-0-50457aa8 [Positron] SEND heartbeat with timeout of 30 seconds [Positron] SEND heartbeat with timeout of 30 seconds ```
juliasilge commented 6 months ago

In Positron 2024.04.0 (Universal) build 1561 when I crash R, I do not see many noisy, non-actionable popups but instead one reasonable and helpful popup:

https://github.com/posit-dev/positron/assets/12505835/03bc0a06-13e0-4e25-b9d3-e31a1716fcda

I tested the same behavior in Python and it is also fixed there. 👍