Closed jgutman closed 2 days ago
Do you see these for other languages, or just R? I have seen these as well, but only for R. I haven't debugged them, but based on the fact that they are happening inside vscode-jsonrpc
, I think this is arising from the LSP. We do try to stop the LSP before the kernel is shut down:
but this error looks an awful lot like something is getting unplugged before being turned off. I wonder if we need to ask the kernel to close the connection from its side before we pull the plug on the client side?
You're right -- it only seems to happen when an R interpreter is shut down
We've changed a lot since this issue was opened, including using a whole new kernel supervisor. I no longer can reproduce these errors in any logs.
Can you all confirm you also don't see this error at the current time?
Positron Version(s) : 2024.12.0-88
OS Version : OSX
I can no longer reproduce this error on shutdown of R.
Link(s) to TestRail test cases run or created:
Positron Version: 2023.08.0 build 173
Steps to Reproduce:
Start up a new Positron session, no workspace. I am detected as an RStudio user, so my R interpreter is automatically started, with the message
INFO Language runtime d6ea515ec747ac1c67c7239097e5d5b9 (language: R name: R (System) version: 4.3) automatically starting. Source: An extension requested the runtime to be started immediately.
User decides to start Python instead, selects Python interpreter from drop down menu. Console switches to Python, and I get the message
Both interpreters have the green dot indicating they are running in the drop down.
Shut down the R interpreter. This doesn't appear to cause any user-facing issues, but I see the following errors from the extension host