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
12.03k stars 403 forks source link

[BUG] Scoop Buckets Not Showing Under Sources #1819

Closed JAK1047 closed 6 months ago

JAK1047 commented 6 months ago

Please confirm these before moving forward

Describe your issue

Uninstalled 2.2.0 and installed 3.0.0 Alpha 2 to test the changes. I noticed that Scoop sources don't appear in the settings although they do when doing a scoop bucket list:

image

image

As a test I removed the buckets directly in CLI and readded via WingetUI. They added successfully, but still did not display in the sources.

Steps to reproduce the issue

No response

WingetUI Log

C:\Users\Joshu\AppData\Local\WingetUI\CachedLangFiles\lang_en.json
Loaded language locale: en
Api auth token: ukss9bs3chhz5wwvoa7jo2gh009kc1jg0ng9etpkiif1am7yv8fi2turgshrnhjo
Starting update check
Lang files were updated successfully
Downloaded icons and screenshots successfully!
WingetUI is up to date
Api running on http://localhost:7058
Unknown source!
Unknown source!

Package Managers Logs

=========================================
[2/25/2024 6:45:11 PM] Chocolatey - Arguments:  source list
       Executable: C:\Users\Joshu\AppData\Local\Programs\WingetUI\choco-cli\choco.exe

Chocolatey v2.2.2
chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.

[2/25/2024 6:45:11 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:11 PM] PowerShell - Arguments: -NoProfile -Command Get-PSRepository
       Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe

Name                      InstallationPolicy   SourceLocation                                                          
----                      ------------------   --------------                                                          
PSGallery                 Untrusted            https://www.powershellgallery.com/api/v2                                

[2/25/2024 6:45:11 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:12 PM] Scoop - Arguments: -NoProfile -ExecutionPolicy Bypass -Command scoop list
       Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe

Installed apps:
Name         Version Source Updated             Info
----         ------- ------ -------             ----
7zip         23.01   main   2023-06-27 21:27:41     
deluge       2.1.1   extras 2023-05-06 23:26:33     
git          2.44.0  main   2024-02-25 18:30:48     
scoop-search 1.4.1   main   2024-02-13 20:56:15     

[2/25/2024 6:45:12 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:12 PM] Scoop - Arguments: -NoProfile -ExecutionPolicy Bypass -Command scoop list
       Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe

Installed apps:
Name         Version Source Updated             Info
----         ------- ------ -------             ----
7zip         23.01   main   2023-06-27 21:27:41     
deluge       2.1.1   extras 2023-05-06 23:26:33     
git          2.44.0  main   2024-02-25 18:30:48     
scoop-search 1.4.1   main   2024-02-13 20:56:15     

[2/25/2024 6:45:12 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:12 PM] Chocolatey - Arguments:  source list
       Executable: C:\Users\Joshu\AppData\Local\Programs\WingetUI\choco-cli\choco.exe

Chocolatey v2.2.2
chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.

[2/25/2024 6:45:12 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:13 PM] Chocolatey - Arguments:  outdated
       Executable: C:\Users\Joshu\AppData\Local\Programs\WingetUI\choco-cli\choco.exe

Chocolatey v2.2.2
Outdated Packages
 Output is package name | current version | available version | pinned?

Chocolatey has determined 0 package(s) are outdated. 

[2/25/2024 6:45:13 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:13 PM] Chocolatey - Arguments:  list
       Executable: C:\Users\Joshu\AppData\Local\Programs\WingetUI\choco-cli\choco.exe

Chocolatey v2.2.2
0 packages installed.

[2/25/2024 6:45:13 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:13 PM] PowerShell - Arguments: -NoProfile -Command Get-PSRepository
       Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe

Name                      InstallationPolicy   SourceLocation                                                          
----                      ------------------   --------------                                                          
PSGallery                 Untrusted            https://www.powershellgallery.com/api/v2                                

[2/25/2024 6:45:13 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:13 PM] PowerShell - Arguments: -NoProfile -Command Get-PSRepository
       Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe

Name                      InstallationPolicy   SourceLocation                                                          
----                      ------------------   --------------                                                          
PSGallery                 Untrusted            https://www.powershellgallery.com/api/v2                                

[2/25/2024 6:45:13 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:13 PM] Winget - Arguments:  list  --accept-source-agreements
       Executable: C:\Program Files\WingetUI\PackageEngine\Managers\winget-cli_x64\winget.exe

   \ 

  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 9.26 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 9.26 MB
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 9.26 MB
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 9.26 MB
  ████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 9.26 MB
  ███████████████████▒▒▒▒▒▒▒▒▒▒▒  6.00 MB / 9.26 MB
  ██████████████████████▒▒▒▒▒▒▒▒  7.00 MB / 9.26 MB
  █████████████████████████▒▒▒▒▒  8.00 MB / 9.26 MB
  █████████████████████████████▒  9.00 MB / 9.26 MB
  ██████████████████████████████  9.26 MB / 9.26 MB

   - 

Name                                          Id                                             Version            Source
-----------------------------------------------------------------------------------------------------------------------
HyperX NGENUITY                               33C30B79.NGENUITY_922sw8z9z7n5w                2.22.1.0           
MSI Center                                    9426MICRO-STARINTERNATION.MSICenter_kzh8wxbdk… 2.0.32.0           
AMD Software                                  AMD Catalyst Install Manager                   22.11.2            
AMD Chipset Software                          AMD_Chipset_IODrivers                          5.11.02.217        
AMD Radeon Software                           AdvancedMicroDevicesInc-RSXCM_fhmx3h6dzfmvj    22.10.0.0          
Microsoft Edge                                Microsoft.Edge                                 122.0.2365.52      winget
Microsoft Edge Beta                           Microsoft.Edge.Beta                            122.0.2365.52      winget
Microsoft Edge Update                         Microsoft Edge Update                          1.3.185.17         
Microsoft Edge WebView2 Runtime               Microsoft.EdgeWebView2Runtime                  122.0.2365.52      winget
Web Search from Microsoft Bing                Microsoft.BingSearch_8wekyb3d8bbwe             1.0.91.0           
App Installer                                 Microsoft.AppInstaller                         1.21.3482.0        winget
HEIF Image Extensions                         Microsoft.HEIFImageExtension_8wekyb3d8bbwe     1.0.63001.0        
HEVC Video Extensions from Device Manufactur… Microsoft.HEVCVideoExtension_8wekyb3d8bbwe     2.1.451.0          
Microsoft Edge Beta                           Microsoft.MicrosoftEdge.Beta_8wekyb3d8bbwe     122.0.2365.52      
Microsoft Edge                                Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe   122.0.2365.52      
Microsoft .Net Native Framework Package 2.1   Microsoft.NET.Native.Framework.2.1_8wekyb3d8b… 2.1.27427.0        
Microsoft .Net Native Framework Package 2.2   Microsoft.NET.Native.Framework.2.2_8wekyb3d8b… 2.2.29512.0        
Microsoft .Net Native Runtime Package 2.1     Microsoft.NET.Native.Runtime.2.1_8wekyb3d8bbwe 2.1.26424.0        
Microsoft .Net Native Runtime Package 2.2     Microsoft.NET.Native.Runtime.2.2_8wekyb3d8bbwe 2.2.28604.0        
Raw Image Extension                           Microsoft.RawImageExtension_8wekyb3d8bbwe      2.3.171.0          
Microsoft Remote Desktop                      Microsoft.RemoteDesktop_8wekyb3d8bbwe          10.2.3012.0        
Snipping Tool                                 Microsoft.ScreenSketch_8wekyb3d8bbwe           11.2312.33.0       
Windows Security                              Microsoft.SecHealthUI_8wekyb3d8bbwe            1000.25992.9000.0  
Microsoft Engagement Framework                Microsoft.Services.Store.Engagement_8wekyb3d8… 10.0.23012.0       
Store Experience Host                         Microsoft.StorePurchaseApp_8wekyb3d8bbwe       22312.1401.1.0     
Microsoft.UI.Xaml.2.7                         Microsoft.UI.Xaml.2.7                          7.2208.15002.0     winget
Microsoft.UI.Xaml.2.8                         Microsoft.UI.Xaml.2.8                          8.2310.30001.0     winget
Microsoft Visual C++ 2015 UWP Desktop Runtim… Microsoft.VCLibs.Desktop.14                    14.0.33519.0       winget
Microsoft Visual C++ 2015 UWP Runtime Package Microsoft.VCLibs.140.00_8wekyb3d8bbwe          14.0.33519.0       
VP9 Video Extensions                          Microsoft.VP9VideoExtensions_8wekyb3d8bbwe     1.1.451.0          
Web Media Extensions                          Microsoft.WebMediaExtensions_8wekyb3d8bbwe     1.0.62931.0        
Webp Image Extensions                         Microsoft.WebpImageExtension_8wekyb3d8bbwe     1.1.171.0          
Windows App Runtime DDLM 4000.1136.2333.0-x6  Microsoft.WinAppRuntime.DDLM.4000.1136.2333.0… 4000.1136.2333.0   
Windows App Runtime DDLM 4000.1136.2333.0-x8  Microsoft.WinAppRuntime.DDLM.4000.1136.2333.0… 4000.1136.2333.0   
Microsoft Photos                              Microsoft.Windows.Photos_8wekyb3d8bbwe         2024.11010.23003.0 
WindowsAppRuntime.1.2                         Microsoft.WindowsAppRuntime.1.2_8wekyb3d8bbwe  2000.802.31.0      
WindowsAppRuntime.1.3                         Microsoft.WindowsAppRuntime.1.3_8wekyb3d8bbwe  3000.934.1904.0    
WindowsAppRuntime.1.4                         Microsoft.WindowsAppRuntime.1.4_8wekyb3d8bbwe  4000.1136.2333.0   
Windows Calculator                            Microsoft.WindowsCalculator_8wekyb3d8bbwe      11.2311.0.0        
Windows Notepad                               Microsoft.WindowsNotepad_8wekyb3d8bbwe         11.2312.18.0       
Microsoft Store                               Microsoft.WindowsStore_8wekyb3d8bbwe           22401.1401.2.0     
Windows Package Manager Source (winget)       Microsoft.Winget.Source_8wekyb3d8bbwe          2024.225.1354.725  
Xbox Accessories                              Microsoft.XboxDevices_8wekyb3d8bbwe            2402.2402.12001.0  
Xbox Game Bar Plugin                          Microsoft.XboxGameOverlay_8wekyb3d8bbwe        1.54.4001.0        
Game Bar                                      Microsoft.XboxGamingOverlay_8wekyb3d8bbwe      6.124.1221.0       
Xbox Identity Provider                        Microsoft.XboxIdentityProvider_8wekyb3d8bbwe   12.95.3001.0       
WinAppRuntime.Main.1.4                        MicrosoftCorporationII.WinAppRuntime.Main.1.4… 4000.1136.2333.0   
WinAppRuntime.Singleton                       MicrosoftCorporationII.WinAppRuntime.Singleto… 4000.1136.2333.0   
Windows HDR Calibration                       MicrosoftCorporationII.WindowsHDRCalibration_… 1.0.152.0          
Windows Web Experience Pack                   MicrosoftWindows.Client.WebExperience_cw5n1h2… 424.1301.170.0     
NVIDIA Control Panel                          NVIDIACorp.NVIDIAControlPanel_56jybvy8sckqj    8.1.964.0          
Notepad++ (64-bit x64)                        Notepad++.Notepad++                            8.6.4              winget
Notepad++                                     NotepadPlusPlus_7njy0v32s6xk6                  1.0.0.0            
Steam                                         Valve.Steam                                    2.10.91.91         winget
Chained Echoes                                Steam App 1229240                              Unknown            
Wallpaper Engine                              Steam App 431960                               Unknown            
Dashboard                                     Western Digital SSD Dashboard                  4.1.2.4            
Realtek USB Audio                             {0A46A65D-89AC-464C-8026-3CD44960BD04}         6.3.9600.2369      
MSI Center SDK                                {15289038-41BE-48F8-B8B9-0B1021D3089E}}_is1    3.2023.1127.01     
AURA lighting effect add-on                   {1E2EA04B-FCA7-457E-B6F4-F33E1858E859}         0.0.8              
WireGuard                                     WireGuard.WireGuard                            0.5.3              winget
Microsoft Visual C++ 2015-2022 Redistributab… Microsoft.VCRedist.2015+.x86                   14.38.33130.0      winget
AURA                                          {5899CD4F-8764-4303-A0D9-C60A62CFC24F}         1.07.84            
AURA Service                                  {62b10058-b4e9-4243-a2a1-858274de9675}         3.04.34            
Microsoft Windows Desktop Runtime - 8.0.2 (x… Microsoft.DotNet.DesktopRuntime.8              8.0.2              winget
Microsoft Visual Studio Code (User)           Microsoft.VisualStudioCode                     1.86.2             winget
Logi Options+                                 Logitech.OptionsPlus                           1.64.527952        winget
Realtek Ethernet Controller Driver            {8833FFB6-5B0C-4764-81AA-06DFEED9A476}         11.10.0720.2022    
WingetUI                                      SomePythonThings.WingetUIStore                 3.0.0-alpha        winget
Firmware updater for DualSenseTM wireless co… PlayStation.DualSenseFWUpdater                 1.5.0.2            winget
VLC media player                              VideoLAN.VLC                                   3.0.20             winget
PowerShell 7-x64                              Microsoft.PowerShell                           7.4.1.0            winget
NVIDIA Graphics Driver 551.61                 {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_Displa… 551.61             
NVIDIA GeForce Experience 3.27.0.120          Nvidia.GeForceExperience                       3.27.0.120         winget
NVIDIA PhysX System Software 9.21.0713        Nvidia.PhysX                                   9.21.0713          winget
NVIDIA FrameView SDK 1.3.8513.32290073        {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_FrameV… 1.3.8513.32290073  
NVIDIA HD Audio Driver 1.3.40.14              {B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_HDAudi… 1.3.40.14          
AURA lighting effect add-on x64               {C5A4A164-4428-4931-B728-96EEF0FA3C44}         0.0.8              
Microsoft Update Health Tools                 {C6FD611E-7EFE-488C-A0E0-974C09EF6473}         5.72.0.0           
OpenVPN Connect                               OpenVPNTechnologies.OpenVPNConnect             3.4.4              winget
AMD Ryzen Master SDK                          {DBD50508-5F75-416B-995D-C42433A00944}         2.10.0.2198        
Microsoft Visual C++ 2015-2022 Redistributab… Microsoft.VCRedist.2015+.x64                   14.38.33135.0      winget

[2/25/2024 6:45:13 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:13 PM] PowerShell - Arguments: -NoProfile -Command Get-InstalledModule
       Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe

Version    Name                                Repository           Description                                        
-------    ----                                ----------           -----------                                        
0.8.5      BurntToast                          PSGallery            Module for creating and displaying Toast Notific...

[2/25/2024 6:45:13 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:13 PM] Winget - Arguments:  update --include-unknown  --accept-source-agreements
       Executable: C:\Program Files\WingetUI\PackageEngine\Managers\winget-cli_x64\winget.exe

   \ 

  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 9.26 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 9.26 MB
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 9.26 MB
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 9.26 MB
  ████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 9.26 MB
  ███████████████████▒▒▒▒▒▒▒▒▒▒▒  6.00 MB / 9.26 MB
  ██████████████████████▒▒▒▒▒▒▒▒  7.00 MB / 9.26 MB
  █████████████████████████▒▒▒▒▒  8.00 MB / 9.26 MB
  █████████████████████████████▒  9.00 MB / 9.26 MB
  ██████████████████████████████  9.26 MB / 9.26 MB

   - 

No installed package found matching input criteria.

[2/25/2024 6:45:13 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:14 PM] Scoop - Arguments: -NoProfile -ExecutionPolicy Bypass -Command scoop status
       Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe

Scoop is up to date.
Everything is ok!

[2/25/2024 6:45:14 PM] Exit Code: 0

=========================================
=========================================
[2/25/2024 6:45:15 PM] PowerShell - Arguments: 
       Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe

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 = @{"PSGallery" = "https://www.powershellgallery.com/api/v2";}
>>                         $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
>>                 

[2/25/2024 6:45:15 PM] Exit Code: 0

=========================================

Relevant information

Not sure if this is a side effect of the transitioning from 2.2.0 to 3.0.0 and the prior to the uninstall I should have removed all package managers.

Screenshots and videos

No response

marticliment commented 6 months ago

Not sure if this is a side effect of the transitioning from 2.2.0 to 3.0.0 and the prior to the uninstall I should have removed all package managers.

No, the manager should have migrated themselves.

Which Scoop version are you running? I suppore Scoop does work properly for the rest, right?

JAK1047 commented 6 months ago

image

Yep it all works as intended. In fact in the discover packages area it even shows both sources correctly:

image

Just not in settings under Scoop.

marticliment commented 6 months ago

Next beta version will have improved source logging, so please wait until them and send the logs again with the new beta version.

I will let you known when it is available

JAK1047 commented 6 months ago

Grabbed the new Beta version with improved logging. Here's the logs WingetUI Log.txt PackageManager Log.txt