Skip to content

Please report this bug with the details below. Report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new #4979

@benabbes-slimane-takiedine

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

(.venv) PS C:\Users\benab\Desktop\konstantin\property_singapore\dist> pyinstaller --onefile --name=guru_v8 property_singapore_optemized_9_checkpoint.py --add-data "combine_sheets.pcd .\dist\
Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new
### Environment
PSReadLine: 2.0.0
PowerShell: 5.1.26100.6899
OS: Microsoft Windows 10.0.26200
Last 200 Keys

 r s / b e n a b / D e s k t o p / k o n s t a n t i n / p r o p e r t y _ s i n g a p o r e / p r o p e r t y _ s i n g a p o r e _ o p t e m i z e d _ 8 . p y Enter
 UpArrow UpArrow UpArrow UpArrow UpArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow Backspace p Backspace 9 _ c h e c k p o i n t RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow RightArrow Enter
 c d Spacebar p r o Tab Enter
 UpArrow UpArrow Enter
 c d Spacebar f Backspace d Tab Enter
 UpArrow UpArrow Backspace Backspace Ctrl+w DownArrow DownArrow UpArrow UpArrow DownArrow Backspace Enter     
 Backspace g u r Tab Enter
 UpArrow UpArrow UpArrow UpArrow DownArrow


### 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: top
Actual value was 11.
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   at Microsoft.PowerShell.PSConsoleReadLine.HistoryRecall(Int32 direction)
   at Microsoft.PowerShell.PSConsoleReadLine.NextHistory(Nullable`1 key, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(PSKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)

Screenshot

Image

Environment data

PS Version: 5.1.26100.6899
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0
PSReadLine EditMode: Windows
OS: 10.0.26100.1 (WinBuild.160101.0800)
BufferWidth: 110
BufferHeight: 25

Steps to reproduce

i was runing a .exe file i just build using pyinstaller , it worked before but this time i got that wierd output at the end

Expected behavior

i expected nothing , usally when it finishes nothing appears

Actual behavior

i got that crash/stack erro thattold me to report the issues here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions