Skip to content

My first bug report #5149

Description

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 6 Keys:
 & Space C : \ U

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: left
Actual value was -1.
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
   at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------
PS C:\Users\ADMIN\Desktop\Atttendance\WEEK NUMBER 4\18-----17.05.2026-Sunday\non primitive data types> sers\ADMIN\AppData\Local\Programs\Python\Python314\python.exe "c:/Users/ADMIN/Desktop/Atttendance/WEEK NUMBER 4/18-----17.05.2026-Sunday/non primitive data types/bitwise operators.py"
sers\ADMIN\AppData\Local\Programs\Python\Python314\python.exe : The module 'sers' could not be 
loaded. For more information, run 'Import-Module sers'.
At line:1 char:1
+ sers\ADMIN\AppData\Local\Programs\Python\Python314\python.exe "c:/Use ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (sers\ADMIN\AppD...n314\python.exe:String) [], Command 
   NotFoundException
    + FullyQualifiedErrorId : CouldNotAutoLoadModule
 
PS C:\Users\ADMIN\Desktop\Atttendance\WEEK NUMBER 4\18-----17.05.2026-Sunday\non primitive data types>  C:\U

Screenshot

how can i resolve it?

Environment data

Python 3.14.5

Steps to reproduce

I don't know how to resolve it

Expected behavior

No exception

Actual behavior

the above exception happens

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-Triage 🔍It's a new issue that core contributor team needs to triage.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions