Skip to content
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

Notebook/kernel stops after executing a cell ending with a commented line #4789

Closed
apcamargo opened this issue Sep 24, 2024 · 3 comments
Closed
Labels
area: notebooks Issues related to Notebooks category. duplicate This issue or pull request already exists lang: r support

Comments

@apcamargo
Copy link

Positron and OS details:

Positron Version: 2024.09.0 (Universal) build 77
Code - OSS Version: 1.93.0
Commit: 9b6f7c066546a4c7f104368fc769fb3768b08bfd
Date: 2024-09-23T02:43:50.589Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin x64 24.0.0

Remote session in:

$ cat /etc/os-release

PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Interpreter details:

  • R (4.4.1), installed through rig.
  • Python (3.12), installed with pixi.

Describe the issue:

I'm experiencing an issue in my R Jupyter notebook where the kernel stops working whenever I execute a cell that ends with a commented line. Here's an example:

image

In this notebook, the first two cells execute as expected. However, when I try to execute the third cell, which ends with a commented line, the notebook becomes unresponsive. This is evident from the execution time of the third and fourth cells.

I don't have this issue when running Python notebooks (ipykernel version 6.29.5), so maybe the underlying problem is in Ark?

@jmcphers jmcphers added support lang: r area: notebooks Issues related to Notebooks category. labels Sep 24, 2024
@jmcphers
Copy link
Collaborator

Thanks for reporting this! We'll look into it. I don't think it's related to the remote environment you're using as I can reproduce it on a plain macOS build of Positron.

image

@juliasilge
Copy link
Contributor

I believe this is the same as posit-dev/ark#707, although I don't think we realized at the time it is also a problem on the next line.

@jmcphers
Copy link
Collaborator

ahh, yes it is! Thanks, @juliasilge.

@jmcphers jmcphers closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
@jmcphers jmcphers added the duplicate This issue or pull request already exists label Sep 24, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: notebooks Issues related to Notebooks category. duplicate This issue or pull request already exists lang: r support
Projects
None yet
Development

No branches or pull requests

3 participants