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

Unable to interrupt non-python kernels #8107

Closed
DonJayamanne opened this issue Oct 29, 2021 · 2 comments
Closed

Unable to interrupt non-python kernels #8107

DonJayamanne opened this issue Oct 29, 2021 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) verified Verification succeeded
Milestone

Comments

@DonJayamanne
Copy link
Contributor

No description provided.

@DonJayamanne DonJayamanne added the bug Issue identified by VS Code Team member as probable bug label Oct 29, 2021
@DonJayamanne DonJayamanne changed the title Kernel interrupts do not work for non-python kernels Unable to interrupt non-python kernels Oct 29, 2021
@DonJayamanne DonJayamanne self-assigned this Oct 29, 2021
@DonJayamanne DonJayamanne added the notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) label Oct 29, 2021
@DonJayamanne
Copy link
Contributor Author

Testing

  • Julia (on linux/mac)
    • Create a julia notebook and select the Julia Jupyter kernel
function estimate_pi(n)
    s = 1.0
    for i in 1:n
		sleep(1)
        s += (isodd(i) ? -1 : 1) / (2i + 1)
    end
    4s
end

p = estimate_pi(100_000_000)
println("π ≈ $p")
println("Error is $(p - π)")
* Run this cell and try to interrupt
* Be patient sometimes it takes a few tries (i think because Julia process is busy or the like)
* The same flaky ness can be experienced in Jupyter as well.

@rchiodo
Copy link
Contributor

rchiodo commented Dec 1, 2021

/verified? Doesn't work for me but I see it sending the interrupt requests.

@rchiodo rchiodo added the verified Verification succeeded label Dec 1, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants