You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched all issues/PRs to ensure it has not already been reported or fixed.
I have verified that I am using the latest version of Scoop and corresponding bucket.
Package Name
extras/openrgb
Expected/Current Behaviour
When installing the manifest for openrgb in Powershell 5.1, core.ps1 claims not to find the extract_dir "OpenRGB Windows 64-bit" even though it is infact the correct string. Installing using Powershell 7 using a different character encoding works just fine.
Steps to Reproduce
PS> $PSVersionTable.PSVersionMajor Minor Build Revision----- ----- ----- --------5 1 19041 4291PS> [System.Text.Encoding]::DefaultIsSingleByte : TrueBodyName : iso-8859-1EncodingName : Western European (Windows)HeaderName : Windows-1252WebName : Windows-1252WindowsCodePage : 1252IsBrowserDisplay : TrueIsBrowserSave : TrueIsMailNewsDisplay : TrueIsMailNewsSave : TrueEncoderFallback : System.Text.InternalEncoderBestFitFallbackDecoderFallback : System.Text.InternalDecoderBestFitFallbackIsReadOnly : TrueCodePage : 1252PS> scoop install openrgbInstalling 'openrgb' (0.9) [64bit] from 'extras' bucketLoading OpenRGB_0.9_Windows_64_b5f46e3.zip from cacheChecking hash of OpenRGB_0.9_Windows_64_b5f46e3.zip ... ok.Extracting OpenRGB_0.9_Windows_64_b5f46e3.zip ... Could not find 'OpenRGB Windows 64-bit'! (error 16)At C:\scoop\apps\scoop\current\lib\core.ps1:860 char:9+ throw "Could not find '$(fname $from)'! (error $($proc.ExitCo ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (Could not find ...it'! (error 16):String) [], RuntimeException + FullyQualifiedErrorId : Could not find 'OpenRGB Windows 64-bit'! (error 16)-----------PS> $PSVersionTable.PSVersionMajor Minor Patch PreReleaseLabel BuildLabel----- ----- ----- --------------- ----------7 4 1PS> [System.Text.Encoding]::DefaultPreamble :BodyName : utf-8EncodingName : Unicode (UTF-8)HeaderName : utf-8WebName : utf-8WindowsCodePage : 1200IsBrowserDisplay : TrueIsBrowserSave : TrueIsMailNewsDisplay : TrueIsMailNewsSave : TrueIsSingleByte : FalseEncoderFallback : System.Text.EncoderReplacementFallbackDecoderFallback : System.Text.DecoderReplacementFallbackIsReadOnly : TrueCodePage : 65001PS> scoop install openrgbInstalling 'openrgb' (0.9) [64bit] from 'extras' bucketLoading OpenRGB_0.9_Windows_64_b5f46e3.zip from cacheChecking hash of OpenRGB_0.9_Windows_64_b5f46e3.zip ... ok.Extracting OpenRGB_0.9_Windows_64_b5f46e3.zip ... done.Linking C:\scoop\apps\openrgb\current => C:\scoop\apps\openrgb\0.9Creating shortcut for OpenRGB (OpenRGB.exe)'openrgb' (0.9) was installed successfully!'openrgb' suggests installing 'extras/vcredist2022'.
Possible Solution
Do not allow scoop to run on certain character encoding/version (terrible solution)
Account for encodings in core.ps1 by either a) converting to UTF-8 or b) changing extraction utility (I have not read the code for scoop and cannot comment)
Scoop and Buckets Version
PS> scoop --versionCurrent Scoop version:d285bb08 (HEAD -> master, tag: v0.4.1, origin/master, origin/HEAD) chore(release): Bump to version 0.4.1 (#5924)'extras' bucket:4e0ff2774 (HEAD -> master, origin/master, origin/HEAD) supermium: Update to version 122.0.6261.152
Prerequisites
Package Name
extras/openrgb
Expected/Current Behaviour
When installing the manifest for openrgb in Powershell 5.1, core.ps1 claims not to find the extract_dir "OpenRGB Windows 64-bit" even though it is infact the correct string. Installing using Powershell 7 using a different character encoding works just fine.
Steps to Reproduce
Possible Solution
Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
Powershell 7
The text was updated successfully, but these errors were encountered: