kcserver starting then abrutly exiting #14025
Replies: 2 comments 3 replies
-
|
Thanks for the thorough report and diagnostics, Jake! This is really useful. Here is what I have pieced together from your logs. kcserver is exiting within about a second of launching, and it is not leaving anything behind in either log file. 😱 That tells us it is failing very early, before it can open its own log. The reason you are seeing empty logs is a gap on our side. The Windows launch wrapper only captures the server's standard output, not its error output, so the actual error message is getting discarded. We are going to fix the wrapper so these errors surface, but in the meantime you can capture the error directly. Open a Command Prompt ( Whatever it prints (a panic message, a missing DLL, an access-denied error?) is the real cause. Could you paste that output here? If A couple of things to try while you are at it:
Thanks for bearing with us while we get to the bottom of this. |
Beta Was this translation helpful? Give feedback.
-
|
For reasons unknown to me I actually can't open cmd.exe - when I ttry to a window open and immediately closes (my computer has been like this for 2 years at least and I have never been able to figure out why it happens or what caused it to behave this way one day). I can however open Powershell, so assuming that's functionally the same here is what I see: PS C:\Users\Mandelbrat> c:\Positron\resources\app\extensions\positron-supervisor\resources\kallichore\kcserver.exe --log-level trace --log-file %TEMP%\kcserver-test.log --connection-file %TEMP%\kcserver-test.json --transport named-pipe I cannot find a When I change to TCP I still get the error but it only seems to start up and stop once instead of twice: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Opening a new discussion based on my comment on another discussion. Requests from @juliasilge
I have kernalSupervisor show terminal set to true and the kernal supervisor logs on trace.
The server process is exiting without leaving any output behind, which is part of what makes this interesting. To capture more, set these two in your settings and then restart to run through the problem again:
Here's the Kernel Supervisor output:
I'm not seeing any Kallichore terminal though. I'm assuming that'd show up as an option in the terminal window? Or is it maybe these pop-ups that I get?
Is your H: drive (where Positron is installed) a local disk, a mapped network drive, or removable storage? The H: drive is just another local disk I have that I was trying the install on. I moved it to my C drive and see the same thing.
What security / protection / antivirus is running on this machine? I have Windows defender running b ut I've whitelisted kcserver and the whole Positron folder


Here's the rest of my startup diagnostics# Positron Runtime Startup Diagnostics
System Information
Workspace-Affiliated Runtimes
Active Sessions
Time to First Runtime Ready
Startup Phase Progression
Positron Runtime Performance Marks
Individual Session Startup Times
Interpreter Settings
Startup Behavior
interpreters.startupBehavior: autointerpreters.restartOnCrash: truePython
python.defaultInterpreterPath: pythonpython.interpreters.include: []python.interpreters.exclude: []python.interpreters.override: []python.environmentProviders.enable: {"Venv":true,"Conda":true,"uv":true}python.locator: nativeR
positron.r.interpreters.default: (not set)positron.r.customBinaries: []positron.r.customRootFolders: []positron.r.interpreters.exclude: []positron.r.interpreters.override: []positron.r.interpreters.condaDiscovery: falsepositron.r.interpreters.pixiDiscovery: falseSession Launch Parameters
Discovered Runtimes
Discovery Cache
This-session counters
Per-bucket state
Discovery Root Signatures
positron.positron-r / r
| Path | Exists | mtime |
| -------------------------------------------- | ------ | ------------------------ |
| C:\Program Files\R | yes | 2026-04-17T23:32:14.822Z |
| C:\Users\Mandelbrat\AppData\Local\Programs\R | no | - |
| /usr/bin/R | no | - |
| /usr/local/bin/R | no | - |
| /opt/local/bin/R | no | - |
| /opt/homebrew/bin/R | no | - |
ms-python.python / python
| Path | Exists | mtime |
| ------------------------------------------------------- | ------ | ------------------------ |
| C:\Users\Mandelbrat.pyenv\pyenv-win\versions | no | - |
| /usr/bin | no | - |
| /usr/local/bin | no | - |
| /opt/homebrew/bin | no | - |
| /opt/local/bin | no | - |
| /opt/python | no | - |
| C:\Users\Mandelbrat.pyenv\versions | no | - |
| C:\Users\Mandelbrat\anaconda3\envs | no | - |
| C:\Users\Mandelbrat\miniconda3\envs | no | - |
| C:\Users\Mandelbrat\anaconda\envs | no | - |
| C:\Users\Mandelbrat\miniconda\envs | no | - |
| C:\Users\Mandelbrat.conda\envs | no | - |
| C:\Users\Mandelbrat\AppData\Roaming\uv\python | no | - |
| C:\Users\Mandelbrat\AppData\Local\hatch\env\virtual | no | - |
| C:\Users\Mandelbrat\AppData\Local\Programs\Python | yes | 2025-06-26T14:37:40.144Z |
| C:\Users\Mandelbrat\AppData\Local\Microsoft\WindowsApps | yes | 2026-06-01T22:42:11.265Z |
| C:\Program Files\Python | no | - |
| H:\Positron | yes | 2026-06-01T23:18:28.196Z |
Extension Host Status
Output Channels
Beta Was this translation helpful? Give feedback.
All reactions