-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel dies: Error in suppressWarnings(gregexpr("[^\\.\\w:?$@[\\]]+", ... #15697
Comments
It seems that this generally occurs when I'm deleting cells or converting cells (markdown <--> code), and copilot tries to auto-complete something right before or after I perform the deletion/transformation operation. |
Even with copilot disabled, the R kernel will die. |
Are you in the middle of some code execution when this happens?
|
Here's some verbose logs of R kernel crashes: |
I should note that I get the following warning after running
I don't want to set my R path in the VS Code settings, since I'm using different R kernels across my running iPython notebooks. For example, I don't want to hardcode my R path to:
|
Yes. execution will be terminated when a cell is deleted/transformed (same as deleting and inserting). I.e. if a cell is queued for execution or is in the middle of execution, then the kernel will be interrupted. My suggestion, try this again without using copilot and do not make changes to cells (such as deleting/moving cells). |
Thanks for the suggestion! Due to various issues with kernels restarting after losing the ssh connection with VS Code running the kernels on our SLURM HPC, we no longer use Jupyter via VS Code. We often need to run long-running jobs, so we can't have the kernel dying when we lose our ssh connection. |
@nick-youngblut I guess you are after a fix for this #3998 Closing this issue for now. |
No worries. Running Jupyter directly is working well -- at least for now. |
Applies To
What happened?
Using the following kernel:
mamba create -n ${JUPYTER_ENV_NAME} \ python=3.10 jupyterlab ipykernel nb_conda \ r-irkernel r-renv r-dplyr r-tidyr r-ggplot2 r-glue \ r-hdf5r r-seuratdisk r-seurat
Notebooks running that R kernel in VS Code will seemingly randomly die with the error:
This seems to only happen with my R kernels in which
r-seurat
is installed.I'm running VS Code remotely on a SLURM cluster running Ubuntu 22.04.3.
VS Code Version
1.89.1
Jupyter Extension Version
v2024.4.0
Jupyter logs
The text was updated successfully, but these errors were encountered: