Skip to content

Bash cell output visible only after execution and not during #17126

@yeskarthik

Description

@yeskarthik

Environment data

  • VS Code version: 1.105.0
  • Jupyter Extension version (available under the Extensions sidebar): 2025.9.1
  • Python Extension version (available under the Extensions sidebar): 2025.16.0
  • OS (Windows | Mac | Linux distro) and version: Windows and Linux (Azure Linux)
  • Python and/or Anaconda version: 3.12.12
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Jupyter server running: Local

Expected behaviour

Output must be visible during execution, this was working until a few days ago (possible until last update).

Actual behaviour

However, output is visible only after execution.

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. Repro gif

Image

Logs

17:58:46.999 [info] Starting Kernel (Python Path: /usr/local/python/bin/python, Unknown, 3.12.12) for '/cookbook/sample.ipynb' (disableUI=false)
17:58:47.077 [warn] Failed to get activated env vars for /usr/local/python/bin/python in 56ms
17:58:47.098 [info] Process Execution: /usr/local/python/bin/python -m pip list
17:58:47.115 [warn] Failed to get activated env vars for /usr/local/python/bin/python in 71ms
17:58:47.134 [info] Process Execution: /usr/local/python/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)"
17:58:47.150 [info] Process Execution: /usr/local/python/bin/python -m ipykernel_launcher --f=
/.local/share/jupyter/runtime/kernel-v3a90d458b41ab68dd6e4796face026a1bb0881aac.json
> cwd: ~/cookbook
17:58:50.930 [info] Kernel successfully started
17:58:51.765 [error] Widget Error: Failed to access CDN https://unpkg.com/ after 0 attempt(s), TypeError: Failed to fetch
17:59:01.674 [info] Restart requested /cookbook/sample.ipynb
17:59:01.757 [warn] Failed to get activated env vars for /usr/local/python/bin/python in 52ms
17:59:01.779 [info] Process Execution: /usr/local/python/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)"
17:59:01.801 [info] Process Execution: /usr/local/python/bin/python -m ipykernel_launcher --f=
/.local/share/jupyter/runtime/kernel-v3fd4739cf363fb0b5283d1049a13613c246798044.json
> cwd: ~/cookbook
17:59:02.427 [info] Restarted 7cfbe6f1-a3db-4d77-ab9e-6b47179c0e3f
18:59:16.909 [info] Disposing request as the cell (2) was deleted ~/cookbook/sample.ipynb
18:59:16.909 [info] Disposing request as the cell (2) was deleted ~/cookbook/sample.ipynb
20:17:52.107 [info] Interrupt kernel execution
20:17:52.107 [info] Interrupt requested ~/cookbook/sample.ipynb
20:17:52.109 [info] Interrupt kernel execution
20:17:52.109 [info] Interrupting kernel: python31212jvsc74a57bd0c3ecfbb2e518759e8150e3a4e02d9374d8d11351137435699613669ebcf0f527
20:17:52.111 [info] Interrupting kernel via SIGINT
20:17:52.664 [warn] Cell completed with errors (cancelled)
20:17:52.676 [info] Interrupt requested & sent for ~/cookbook/sample.ipynb in notebookEditor.

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions