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

scoop broken on pwsh 7 #3891

Closed
claudenobs opened this issue Mar 23, 2020 · 3 comments
Closed

scoop broken on pwsh 7 #3891

claudenobs opened this issue Mar 23, 2020 · 3 comments

Comments

@claudenobs
Copy link

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.
@Ash258
Copy link
Contributor

Ash258 commented Mar 23, 2020

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.

@claudenobs
Copy link
Author

claudenobs commented Mar 24, 2020

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.

@rasa
Copy link
Member

rasa commented Oct 20, 2020

Duplicate of #3923

@rasa rasa marked this as a duplicate of #3923 Oct 20, 2020
@rasa rasa closed this as completed Oct 20, 2020
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

3 participants