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

Error when I run a python program after an VS code update #4522

Closed
ameenullahsami opened this issue Feb 17, 2025 · 1 comment
Closed

Error when I run a python program after an VS code update #4522

ameenullahsami opened this issue Feb 17, 2025 · 1 comment

Comments

@ameenullahsami
Copy link

I recently updated my VS Code to 1.97.2 in windows 10
System Details: Version: 1.97.2 (system setup)
Commit: e54c774e0add60467559eb0d1e229c6452cf8447
Date: 2025-02-12T23:20:35.343Z
Electron: 32.2.7
ElectronBuildId: 10982180
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045

It gives me the following error when I run a python program in VS Code TERMINAL.


Letzte 4 Tasten:
& Space " C

Ausnahme:
System.ArgumentOutOfRangeException: Der Wert muss größer als oder gleich 0 (null) sein und geringer als die Puffergröße der Konsole in dieser Dimension.
Parametername: left
Der tatsächliche Wert war -2.
bei System.Console.SetCursorPosition(Int32 left, Int32 top)
bei Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
bei Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
bei Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
bei Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
bei Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) bei Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
bei Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
bei Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Feb 17, 2025
Copy link

This issue was already fixed (see #1306). Please upgrade to the 2.3.5 version of PSReadLine from PowerShell Gallery.
See the upgrading section for instructions. Please let us know if you run into the same issue with the latest version.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant