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

Jupyter Notebook progress bar is broken with Julia (not Python) #200261

Open
1 of 2 tasks
nunofachada opened this issue Oct 28, 2022 · 3 comments
Open
1 of 2 tasks

Jupyter Notebook progress bar is broken with Julia (not Python) #200261

nunofachada opened this issue Oct 28, 2022 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-builtin-renderers Builtin notebook output renderers for HTML, JS and images notebook-output

Comments

@nunofachada
Copy link

Applies To

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

What happened?

Progress bars on Julia Jupyter notebooks are broken, as they were previously in Python. This is what happens:

image
image

This is what should happen:

image

This also happens with Julia's ProgressBars.jl package.

This does not happen in Python, with tdqm for example. I.e., it works as expected in Python.

Here's the example code for demonstrating this behavior:

import Pkg; Pkg.add("ProgressMeter")
using ProgressMeter

@showprogress for i in 1:10
    sleep(0.8)
end

VS Code Version

Version: 1.72.2 Commit: d045a5e Date: 2022-10-12T22:16:26.920Z Electron: 19.0.17 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Linux x64 5.15.0-52-generic snap Sandboxed: No

Jupyter Extension Version

v2022.9.1202862440

Jupyter logs

No logs are generated when running the notebook.

Coding Language and Runtime Version

Julia 1.6.7

Language Extension Version (if applicable)

Julia extension v1.38.2

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

@nunofachada nunofachada added the bug Issue identified by VS Code Team member as probable bug label Oct 28, 2022
@amunger
Copy link
Contributor

amunger commented Dec 6, 2022

looks like it works now
progressBar

@amunger amunger closed this as completed Dec 6, 2022
@nunofachada
Copy link
Author

nunofachada commented Dec 7, 2022

Hi @amunger , I retested this on Linux (Ubuntu) and Windows, with VS Code 1.73.1 and Jupyter extension v2022.9.1303220346, and the problem remains. I also tested with various Julia versions.
image
image

@amunger amunger reopened this Dec 7, 2022
@mofeing
Copy link

mofeing commented Jul 17, 2023

This bug persists in VSCode 1.80.1 on macOS and Jupyter extension v2023.6.1101941928.
Any news on this? Author of timholy/ProgressMeters.jl#231 is positive with merging a fix if the problem is from theirs.

@amunger amunger transferred this issue from microsoft/vscode-jupyter Dec 7, 2023
@amunger amunger added the notebook-builtin-renderers Builtin notebook output renderers for HTML, JS and images label Dec 7, 2023
@rebornix rebornix removed their assignment Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug notebook-builtin-renderers Builtin notebook output renderers for HTML, JS and images notebook-output
Projects
None yet
Development

No branches or pull requests

4 participants