scoop broken on pwsh 7

Created on 23 Mar 2020  路  3Comments  路  Source: lukesampson/scoop

there seems to be an error in install.ps1 when running scoop update inside powershell 7.0.0 (the same command works in powershell 5.1.18362.628):

~ $ scoop update *
python: 3.8.1 -> 3.8.2
Updating 1 outdated apps:
Updating 'python' (3.8.1 -> 3.8.2)
Downloading new version
Loading install-pep-514.reg from cache
Checking hash of install-pep-514.reg ... ok.

uninstall-pep-514.reg (86 B) [>                                                                               ]   0%
OperationStopped: C:\Users\ra8v\scoop\apps\scoop\current\lib\install.ps1:130
Line |
 130 |          throw $e
     |          ~~~~~~~~
     | The value must be greater than or equal to zero and less than the console's buffer size in that
     | dimension. (Parameter 'top') Actual value was 25.

Most helpful comment

nope, just using the new windows terminal with powershell 7

however, as said above, it works when using the win 10 builtin powershell inside the new windows terminal.

All 3 comments

Do you use some cmder profile or anything similar? I am experiencing same issue with really small files. My posh input consist of two lines in vscode and then it lead to same issue

image

This will lead to lower top than expected and breaking dl function.

nope, just using the new windows terminal with powershell 7

however, as said above, it works when using the win 10 builtin powershell inside the new windows terminal.

Duplicate of #3923

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brunovieira97 picture brunovieira97  路  3Comments

nitrocode picture nitrocode  路  3Comments

quantuumsnot picture quantuumsnot  路  3Comments

mpro7 picture mpro7  路  3Comments

klauern picture klauern  路  3Comments