Progress Bar Stuck in Jupyter Notebooks

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug


name: Progress Bar Stuck in Jupyter Notebooks
about: The progress bar remains stuck at 0% when used in Cursor’s notebook UI.
title: ‘’
labels: ‘’
assignees: ‘’

ERROR  Python exception updating progress:, error: PyErr { type: <class 'LookupError'>, value: LookupError(<ContextVar name='shell_parent' at 0x109726f70>), traceback: Some(<traceback object at 0x12f795b40>) }, caller: "src/progress_update.rs:313"
    at [/Users/runner/work/xet-core/xet-core/error_printer/src/lib.rs:28](https://file+.vscode-resource.vscode-cdn.net/Users/runner/work/xet-core/xet-core/error_printer/src/lib.rs:28)

Steps to Reproduce

  1. Create a .ipynb file.
  2. Create a cell
  3. Copy the following code:
import transformers as t
tokenizer = t.BertTokenizer.from_pretrained('bert-base-uncased')
model = t.BertModel.from_pretrained('bert-base-uncased')
  1. Run the code
  2. Progress bar stuck at 0%, showing the error highlighted above.

Expected Behavior

Download bar showing progress from 0% to 100%.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.8.0-pre.26.patch.0 (Universal)
VSCode Version: 1.99.3
Commit: 837cff666b99546e2fc86c96abd14b1b1ace1500
Date: 2025-10-13T08:11:42.554Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue with progress bar rendering in Cursor’s notebook UI. The error is coming from Cursor’s internal progress update implementation.

The good news is the downloads should still complete successfully in the background, the progress bar just doesn’t update visually.

I’ll pass this to the team. In the meantime, the workaround is that the code will still execute correctly, you just won’t see the visual progress updates.

Thanks, I didn’t spend too much time on it, but it seems the cell doesn’t get marked as “completed” even though the model might be downloading, so from what I have seen the code doesn’t execute correctly (it does not proceed to the next cell).

Thanks for the info, that’s very helpful.

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.