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

Stop, Restart, Interrupt Buttons Don't Work with Julia Kernel (v1.10) #15071

Closed
1 of 2 tasks
nickbrady opened this issue Jan 25, 2024 · 3 comments
Closed
1 of 2 tasks
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster language-any Area covering general issues geared to supporting any language (not just Python) notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) upstream-other Cause by some other upstream package/app

Comments

@nickbrady
Copy link

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

When running an IJulia Kernel (IJulia v1.24.2, Julia v1.10.0) the Stop, Restart, and Interrupt Buttons do not function properly.

Run All Button does function properly.

VS Code Version

1.85.2

Jupyter Extension Version

2023.11.1100101639

Jupyter logs

No response

Coding Language and Runtime Version

vJulia 1.10.0

Language Extension Version (if applicable)

Julia Language Support v1.66.2

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

@nickbrady nickbrady added the bug Issue identified by VS Code Team member as probable bug label Jan 25, 2024
@DonJayamanne
Copy link
Contributor

Thanks for filing this issue and sorry you are running into this.
Please could you enable verbose logging as follows:

  • Open settings & go into Jupyter->Logging
  • Change the value to verbose
  • Reload VS Code,
  • Attempt to repro the issue & then copy the output from the Jupyter output panel (use the command Jupyter: Show Output to get to this output panel).

@DonJayamanne DonJayamanne self-assigned this Jan 28, 2024
@DonJayamanne DonJayamanne added notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) info-needed Issue requires more information from poster language-any Area covering general issues geared to supporting any language (not just Python) labels Jan 28, 2024
@nickbrady
Copy link
Author

Example to reproduce the issue.

# Start the timer
println("Starting the timer...")

# Sleep for 5 seconds
sleep(5)

# Indicate that the time has passed
println("5 seconds have passed.")

Nothing appears in the log file to indicate that the Interrupt, Restart, or Stop buttons were pressed.
If I execute the code and do nothing, the jupyter timer within the cell also counts to 5 seconds.
If I press the Interrupt button once, the same result occurs.
If I press the Interrupt button several times (2 or 3), then the timer in the cell continues indefinitely (until I reload the window).

Thanks for the help.

CantStopJuliaNotebook_log.txt

@DonJayamanne
Copy link
Contributor

Thanks for filing this issue, I've tested this in Jupyter Lab as well (using the latest julia docker container and installing jupyter lab into that), and can replicate the same behaviour.
Looks like a problem with Julia kernel itself.

Looks like its still not resolved.
See duplicate issue #10328

@DonJayamanne DonJayamanne added user-setup Issues caused by incorrectly configured python environments, packages, or the like upstream-other Cause by some other upstream package/app and removed user-setup Issues caused by incorrectly configured python environments, packages, or the like labels Jan 30, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
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 info-needed Issue requires more information from poster language-any Area covering general issues geared to supporting any language (not just Python) notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) upstream-other Cause by some other upstream package/app
Projects
None yet
Development

No branches or pull requests

2 participants