forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
area-replbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from poster
Description
Type: Bug
Behaviour
My output is too long and is getting truncated. However, clicking the "view as scrollable element" has no effect. Nothing happens. Also, trying open in a text editor throws this error: "The editor could not be opened due to an unexpected error. Please consult the log for more details.".
Steps to reproduce:
- Using the Native REPL, run this block:
for i in range(100):
print(i)
- Output will be truncated, try to view as scrollable element. Nothing happens.
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
[error] [Window] Error: Unable to resolve text model content for resource vscode-notebook-cell-output:Untitled-1.ipynb?openIn%3Deditor%26outputId%3D34883a1c-4e68-4df8-afbc-f0ececef4380%26notebookScheme%3Duntitled
at kYe.u (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1313:22470)
at async kYe.r (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1313:21500)
at async lAt.acquire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:27:3390)
at async xYe.createModelReference (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1313:22966)
at async S$.resolve (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:539:15383)
at async kwe.setInput (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:692:81101)
at async rJe.S (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:697:58520)
at async rJe.L (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:697:57080)
at async rJe.openEditor (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:697:56162)
at async vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:809:23355
https://github.com/user-attachments/assets/ed481225-bb13-4c5c-9a8e-7681fe7658ef
Extension version: 2025.18.0
VS Code version: Code 1.106.2 (Universal) (1e3c50d64110be466c0b4a45222e81d2c9352888, 2025-11-19T16:56:50.023Z)
OS version: Darwin arm64 25.1.0
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.13.9 (managed by
uv) - Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
- Value of the
python.languageServersetting: Default
User Settings
languageServer: "Pylance"
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| copilot-chat | Git | 0.33.2 |
| debugpy | ms- | 2025.16.0 |
| js-debug | ms- | 1.105.0 |
| js-debug-companion | ms- | 1.1.3 |
| python | ms- | 2025.18.0 |
| ruff | cha | 2025.30.0 |
| vscode-eslint | dba | 3.0.16 |
| vscode-js-profile-table | ms- | 1.0.10 |
| vscode-pylance | ms- | 2025.9.1 |
| vscode-python-envs | ms- | 1.12.0 |
System Info
| Item | Value |
|---|---|
| CPUs | Apple M1 (8 x 2400) |
| GPU Status | 2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: enabled_on trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | 2, 2, 2 |
| Memory (System) | 8.00GB (0.07GB free) |
| Process Argv | --crash-reporter-id cac200c9-d287-4320-86e9-bb6f7920cbc2 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
nes-set-on:31340697
testaa123cf:31335227
6abeh943:31336334
envsdeactivate2:31353495
c12345:31413568
gaj49834:31404438
cloudbuttont:31379625
todos-1:31405332
v66_all_req:31402695
control_gpt5applypatchexclusively:31412085
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
defaultusage:31403421
auto_g2946222:31414244
je187915:31401254
ec5jj548:31422691
copilot-nes-oct-t:31418199
cmp-ext-treat:31422503
chatvisible:31420716
c0683394:31419495
g0h3h215:31423210
Metadata
Metadata
Assignees
Labels
area-replbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterIssue requires more information from poster