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
10.42k stars 338 forks source link

[BUG] After update to 3.1.0 stable, packages installed from chocolatey are not visible at all #2425

Closed difens closed 4 days ago

difens commented 4 days ago

Please confirm these before moving forward

UniGetUI Version

3.1.0

Windows version, edition, and architecture

Windows 11 Pro x64

Describe your issue

Before update to 3.1.0 WingetUI correctly recognized packages installed from chocolatey ( I was using Chocolatey GUI for my installs). All was working fine until I updated to UnigetUI 3.1.0. After update all packages installed from chocolatey are not visible. I tried switching to system chocolatey, but no luck either. Tried to completely uninstall UnigetUI and reinstall, but did not help. Running UnigetUI as admin also did not help

Steps to reproduce the issue

UniGetUI Log

[04.07.2024 14:42:55] 
                         __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /  
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /   
                      \____/_/ /_/_/\____/\___/\__/\____/___/   
                          Welcome to UniGetUI Version 3.1.0
[04.07.2024 14:42:55]
[04.07.2024 14:42:55] Version Code:  3,1
[04.07.2024 14:42:56] Using bundled GSudo at C:\Program Files\UniGetUI\Assets\Utilities\gsudo.exe
[04.07.2024 14:42:58] Loaded language locale: en
[04.07.2024 14:43:01] Randomly-generated background API auth token for the current session: hqsb7f71dpxggvuxkf0d9f93y7g9zjgv8npza4bnuepti6gsukay2greluvu9dqe
[04.07.2024 14:43:03] Api running on http://localhost:7058
[04.07.2024 14:43:05] Begin "which" search for command winget.exe
[04.07.2024 14:43:06] Begin "which" search for command npm
[04.07.2024 14:43:06] Begin "which" search for command python.exe
[04.07.2024 14:43:06] Begin "which" search for command dotnet.exe
[04.07.2024 14:43:06] Lang files were updated successfully from GitHub
[04.07.2024 14:43:06] Command winget.exe was found on C:\Users\difens\AppData\Local\Microsoft\WindowsApps\winget.exe
[04.07.2024 14:43:07] Downloaded new icons and screenshots successfully!
[04.07.2024 14:43:07] Command python.exe was found on C:\Users\difens\AppData\Local\Microsoft\WindowsApps\python.exe
[04.07.2024 14:43:07] Command npm was not found on the system
[04.07.2024 14:43:07] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 14:43:07] Command dotnet.exe was found on C:\Program Files\dotnet\dotnet.exe
[04.07.2024 14:43:08] Saving window geometry -9,-9,1938,1038,1
[04.07.2024 14:43:08] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 14:43:11] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 14:43:11] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 14:43:14] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 14:43:15] Loaded 1 sources for manager Chocolatey
[04.07.2024 14:43:15] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: choco.exe
                      █ Executable path: C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\choco.exe
                      █ Call arguments: 
                      █ Version: 
                      █   This is try 1/3. Retrying after 400 milliseconds.
                      █    Error converted to warning:
                      █    Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config.6792.update' is denied.
                      █   This is try 2/3. Retrying after 600 milliseconds.
                      █    Error converted to warning:
                      █    Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config.6792.update' is denied.
                      █   Maximum tries of 3 reached. Throwing error.
                      █   2.2.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 14:43:16] System.TimeoutException: The operation has timed out.
                         at UniGetUI.PackageEngine.PEInterface.Initialize() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageEngine\PEInterface.cs:line 44
[04.07.2024 14:43:16] Timeout: Not all package managers have finished initializing.
[04.07.2024 14:43:16] Manager Chocolatey has not implemented RefreshPackageIndexes
[04.07.2024 14:43:17] Resetting administrator rights cache for process id 16300
[04.07.2024 14:43:18] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[04.07.2024 14:43:18] Begin "which" search for command scoop
[04.07.2024 14:43:18] Command scoop was not found on the system
[04.07.2024 14:43:18] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[04.07.2024 14:43:19] Found 0 installed packages from Chocolatey
[04.07.2024 14:43:20] Found 0 available updates from Chocolatey
[04.07.2024 14:43:20] Starting check for updates wait interval with waitTime=172800
[04.07.2024 14:43:21] Loaded 1 sources for manager Chocolatey
[04.07.2024 14:47:06] Saving window geometry 160,160,1440,740,0
[04.07.2024 14:47:08] Manager Chocolatey has not implemented RefreshPackageIndexes
[04.07.2024 14:47:09] Found 0 available updates from Chocolatey
[04.07.2024 14:47:09] Starting check for updates wait interval with waitTime=172800
[04.07.2024 14:47:15] Saving window geometry -9,-9,1938,1038,1
[04.07.2024 14:47:18] Found 0 installed packages from Chocolatey

Package Managers Logs

Manager Chocolatey with version:
This is try 1/3. Retrying after 400 milliseconds.
 Error converted to warning:
 Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config.6792.update' is denied.
This is try 2/3. Retrying after 600 milliseconds.
 Error converted to warning:
 Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config.6792.update' is denied.
Maximum tries of 3 reached. Throwing error.
2.2.2

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListSources
Subprocess executable: "C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\choco.exe"
Command-line arguments: " source list"
Process start time: 04.07.2024 14:43:11
Process end time:   04.07.2024 14:43:15

-- Process STDOUT
  Chocolatey v2.2.2
  Directory 'C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\lib' does not exist.
  chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListUpdates
Subprocess executable: "C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\choco.exe"
Command-line arguments: " outdated"
Process start time: 04.07.2024 14:43:16
Process end time:   04.07.2024 14:43:20

-- Process STDOUT
  Chocolatey v2.2.2
  Directory 'C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\lib' does not exist.
  Outdated Packages
   Output is package name | current version | available version | pinned?
  Chocolatey has determined 0 package(s) are outdated. 

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListPackages
Subprocess executable: "C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\choco.exe"
Command-line arguments: " list"
Process start time: 04.07.2024 14:43:16
Process end time:   04.07.2024 14:43:19

-- Process STDOUT
  Chocolatey v2.2.2
  Directory 'C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\lib' does not exist.

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListSources
Subprocess executable: "C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\choco.exe"
Command-line arguments: " source list"
Process start time: 04.07.2024 14:43:17
Process end time:   04.07.2024 14:43:21

-- Process STDOUT
  Chocolatey v2.2.2
  Directory 'C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\lib' does not exist.
  chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListUpdates
Subprocess executable: "C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\choco.exe"
Command-line arguments: " outdated"
Process start time: 04.07.2024 14:47:08
Process end time:   04.07.2024 14:47:09

-- Process STDOUT
  Chocolatey v2.2.2
  Directory 'C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\lib' does not exist.
  Outdated Packages
   Output is package name | current version | available version | pinned?
  Chocolatey has determined 0 package(s) are outdated. 

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Chocolatey. Task type is ListPackages
Subprocess executable: "C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\choco.exe"
Command-line arguments: " list"
Process start time: 04.07.2024 14:47:16
Process end time:   04.07.2024 14:47:18

-- Process STDOUT
  Chocolatey v2.2.2
  Directory 'C:\Users\difens\AppData\Local\UniGetUI\Chocolatey\lib' does not exist.
  Did you know Pro / Business automatically syncs with Programs and
   Features? Learn more about Package Synchronizer at
   https://chocolatey.org/compare

Return code: SUCCESS (0)

——————————————————————————————————————————

Relevant information

No response

Screenshots and videos

No response

marticliment commented 4 days ago

duplicate of #2411

marticliment commented 1 day ago

Hello,

Please try this beta release, which should have this issue fixed: https://github.com/marticliment/UniGetUI/releases/tag/3.1.1-beta1

Direct downloadm URL: https://github.com/marticliment/UniGetUI/releases/download/3.1.1-beta1/UniGetUI.Installer.exe

Please let me know if the issue gets resolved or not