marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
13.42k stars 461 forks source link

[BUG] (CLI generates random text strings "██â–" to command output) #1935

Closed Charlie-Ramirez-Animation-Studios-de-MX closed 8 months ago

Charlie-Ramirez-Animation-Studios-de-MX commented 8 months ago

Please confirm these before moving forward

Describe your issue

As the title suggests, the interface installation progress text window and the terminal output logs are generating (printing) the string "██â–". Apparently it's just a visual bug, here it was also thrown as a CLI log after the .NET SDK update failed [See Attached Screenshots and txt Log]

Steps to reproduce the issue

Using WingetUI 3.00 after restart (system and program) Run a normal update. Score Bar will show Random Characters and save in the tasks logs

WingetUI Log

-Log Too Long (Exceed maximum 65536 characters). -Attached As TXT File

Package Managers Logs

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:31] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Program Files\WingetUI\PackageEngine\Managers\winget-cli_x64\winget.exe
█  Arguments:  source list
Name    Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://cdn.winget.microsoft.com/cache
[2024-03-13 22:06:31] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:32] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments: -NoProfile -Command Get-PSRepository
Name                      InstallationPolicy   SourceLocation                                                          
----                      ------------------   --------------                                                          
PSGallery                 Untrusted            https://www.powershellgallery.com/api/v2                                
[2024-03-13 22:06:32] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:33] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\charl\AppData\Local\Programs\WingetUI\choco-cli\choco.exe
█  Arguments:  source list
Chocolatey v2.2.2
chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
[2024-03-13 22:06:33] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:36] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Program Files\WingetUI\PackageEngine\Managers\winget-cli_x64\winget.exe
█  Arguments:  source list
Name    Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://cdn.winget.microsoft.com/cache
[2024-03-13 22:06:36] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:36] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\charl\AppData\Local\Programs\WingetUI\choco-cli\choco.exe
█  Arguments:  source list
Chocolatey v2.2.2
chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
[2024-03-13 22:06:36] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:37] .NET Tool ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\charl\.dotnet\tools\dotnet-tools-outdated.exe
█  Arguments: 
[2024-03-13 22:06:37] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:37] .NET Tool ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Program Files\dotnet\dotnet.exe
█  Arguments: tool list --global
Package Id                 Version      Commands             
-------------------------------------------------------------
dotnet-tools-outdated      0.7.1        dotnet-tools-outdated
[2024-03-13 22:06:37] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:37] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\charl\AppData\Local\Programs\WingetUI\choco-cli\choco.exe
█  Arguments:  list
Chocolatey v2.2.2
mediainfo 24.1.1
mp3tag 3.24.0
zoom-client 4.6.20033.407
3 packages installed.
[2024-03-13 22:06:37] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:37] Pip ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Program Files\Python312\python.exe
█  Arguments:  -m pip list
Package Version
------- -------
pip     24.0
[2024-03-13 22:06:37] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:37] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments: -NoProfile -Command Get-PSRepository
Name                      InstallationPolicy   SourceLocation                                                          
----                      ------------------   --------------                                                          
PSGallery                 Untrusted            https://www.powershellgallery.com/api/v2                                
[2024-03-13 22:06:37] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:38] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\charl\AppData\Local\Programs\WingetUI\choco-cli\choco.exe
█  Arguments:  outdated
Chocolatey v2.2.2
Outdated Packages
 Output is package name | current version | available version | pinned?
Chocolatey has determined 0 package(s) are outdated. 
[2024-03-13 22:06:38] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:38] Pip ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Program Files\Python312\python.exe
█  Arguments:  -m pip list --outdated
[2024-03-13 22:06:38] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:38] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments: 
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Program Files\WingetUI> 
PS C:\Program Files\WingetUI>                 function Test-GalleryModuleUpdate {
>>                     param (
>>                         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
>>                         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [version] $Version,
>>                         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Repository,
>>                         [switch] $NeedUpdateOnly
>>                     )
>>                     process {
>>                         $URLs = @{}
>>                         @(Get-PSRepository).ForEach({$URLs[$_.Name] = $_.SourceLocation})
>>                         $page = Invoke-WebRequest -Uri ($URLs[$Repository] + "/package/$Name") -UseBasicParsing -Maximum 0 -ea Ignore
>>                         [version]$latest = Split-Path -Path ($page.Headers.Location -replace "$Name." -replace ".nupkg") -Leaf
>>                         $needsupdate = $Latest -gt $Version
>>                         if ($needsupdate) {
>>                                 Write-Output($Name + "|" + $Version.ToString() + "|" + $Latest.ToString() + "|" + $Repository)
>>                         }
>>                     }
>>                 }
>>                 Get-InstalledModule | Test-GalleryModuleUpdate
>>                 exit
>>                 
[2024-03-13 22:06:38] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:39] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
█  Arguments: -NoProfile -Command Get-InstalledModule
[2024-03-13 22:06:39] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:40] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Program Files\WingetUI\PackageEngine\Managers\winget-cli_x64\winget.exe
█  Arguments:  update --include-unknown  --accept-source-agreements
   \ 
   / 
   \ 
   / 
  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 9.49 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 9.49 MB
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 9.49 MB
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 9.49 MB
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 9.49 MB
  ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  6.00 MB / 9.49 MB
  ██████████████████████▒▒▒▒▒▒▒▒  7.00 MB / 9.49 MB
  █████████████████████████▒▒▒▒▒  8.00 MB / 9.49 MB
  ████████████████████████████▒▒  9.00 MB / 9.49 MB
  ██████████████████████████████  9.49 MB / 9.49 MB
   - 
   | 
   - 
Name                                                Id                             Version        Available      Source
-----------------------------------------------------------------------------------------------------------------------
MediaInfo 24.01                                     MediaArea.MediaInfo.GUI        24.01          24.01.1        winget
App Installer                                       Microsoft.AppInstaller         1.22.10582.0   1.22.10661.0   winget
OBS Studio                                          OBSProject.OBSStudio           Unknown        30.1.0         winget
Blender                                             BlenderFoundation.Blender      Unknown        4.0.2          winget
WinRAR 6.24 (64-bit)                                RARLab.WinRAR                  6.24.0         7.00.0         winget
Microsoft Visual C++ 2015-2022 Redistributable (x6… Microsoft.VCRedist.2015+.x86   14.38.33130.0  14.38.33135.0  winget
Microsoft Visual C++ 2015-2022 Redistributable (x8… Microsoft.VCRedist.2015+.x86   14.38.33130.0  14.38.33135.0  winget
Malwarebytes version 4.6.8.311                      Malwarebytes.Malwarebytes      4.6.8.311      4.6.10.316     winget
Microsoft .NET SDK 8.0.103 (x64)                    Microsoft.DotNet.SDK.8         8.0.103        8.0.202        winget
GPT4All                                             nomic.gpt4all                  2.6.1          2.7.0          winget
Google Chrome                                       Google.Chrome                  122.0.6261.113 122.0.6261.129 winget
Eclipse Temurin JDK con Hotspot 21.0.1+12 (x64)     EclipseAdoptium.Temurin.21.JDK 21.0.1.12      21.0.2.13      winget
Eclipse Temurin JRE con Hotspot 21.0.1+12 (x64)     EclipseAdoptium.Temurin.21.JRE 21.0.1.12      21.0.2.13      winget
OpenToonz version 1.7.1                             DWANGO.OpenToonz.Nightly       1.7.1          2023.10.31     winget
Microsoft Visual Studio Code                        Microsoft.VisualStudioCode     1.87.1         1.87.2         winget
16 upgrades available.
The following packages have an upgrade available, but require explicit targeting for upgrade:
Name    Id              Version  Available Source
-------------------------------------------------
Discord Discord.Discord 1.0.9032 1.0.9035  winget
1 package(s) have pins that prevent upgrade. Use the 'winget pin' command to view and edit pins. Using the --include-pinned argument may show more results.
[2024-03-13 22:06:40] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [2024-03-13 22:06:41] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Program Files\WingetUI\PackageEngine\Managers\winget-cli_x64\winget.exe
█  Arguments:  list  --accept-source-agreements
   \ 
   / 
   \ 
   / 
   \ 
   / 
  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 9.49 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 9.49 MB
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 9.49 MB
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 9.49 MB
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 9.49 MB
  ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  6.00 MB / 9.49 MB
  ██████████████████████▒▒▒▒▒▒▒▒  7.00 MB / 9.49 MB
  █████████████████████████▒▒▒▒▒  8.00 MB / 9.49 MB
  ████████████████████████████▒▒  9.00 MB / 9.49 MB
  ██████████████████████████████  9.49 MB / 9.49 MB
   - 
   | 
[2024-03-13 22:06:41] Exit Code: 0

Relevant information

My system is Windows 11 with English as the base language (default) and system, reading and writing and Spanish as a secondary language (Never used in the system and second). WingetUI language is set to System Default (But it shows mixed sentences between Spanish and English in some places)

Screenshots and videos

Screenshot (1804) Screenshot (1803) WingetUITASKS LOGS 2024-03-13T2256CST.txt

Charlie-Ramirez-Animation-Studios-de-MX commented 8 months ago

Languages installed in Windows 11 (Although the language mix does not bother me personally, this could be the cause or be related to the failure) image

BePo65 commented 8 months ago

I have the same effect on a windows 10 pro machine.

redactedscribe commented 8 months ago

Duplicate: https://github.com/marticliment/WingetUI/issues/1910

marticliment commented 8 months ago

Duplicate of #1910