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] .NET Tool is installed but UniGetUI 3.10 is showing as not installed. #2435

Closed skanda890 closed 3 days ago

skanda890 commented 3 days ago

Please confirm these before moving forward

UniGetUI Version

3.10

Windows version, edition, and architecture

Windows11 Pro 22621.3810

Describe your issue

In UniGetUI version 3.10 beta0, the .NET Tool was installed, but in 3.10 it is showing .NET Tool as not installed.

Steps to reproduce the issue

Update to 3.10

UniGetUI Log

[05-07-2024 16:37:57] 
                         __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /  
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /   
                      \____/_/ /_/_/\____/\___/\__/\____/___/   
                          Welcome to UniGetUI Version 3.1.0
[05-07-2024 16:37:57]
[05-07-2024 16:37:57] Version Code:  3.1
[05-07-2024 16:37:57] Using bundled GSudo at A:\WingetUI\UniGetUI\Assets\Utilities\gsudo.exe
[05-07-2024 16:37:58] Loaded language locale: en
[05-07-2024 16:37:59] Randomly-generated background API auth token for the current session: eg8xgjn3v13qheaue240s5aicc6i3l0ufv181nnadmyhhdlkoe1e4wymzf2dga50
[05-07-2024 16:37:59] Api running on http://localhost:7058
[05-07-2024 16:38:00] Lang files were updated successfully from GitHub
[05-07-2024 16:38:01] UniGetUI is up to date
[05-07-2024 16:38:02] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[05-07-2024 16:38:04] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: pip
                      █ Executable path: C:\Users\Skand_zncmqfh\AppData\Local\Programs\Python\Python312\python.exe
                      █ Call arguments:  -m pip
                      █ Version: 
                      █   pip 24.1.1 from C:\Users\Skand_zncmqfh\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip (python 3.12)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[05-07-2024 16:38:05] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: npm
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm
                      █ Version: 
                      █   10.8.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[05-07-2024 16:38:06] Downloaded new icons and screenshots successfully!
[05-07-2024 16:38:07] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: winget.exe
                      █ Executable path: C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   Naive WinGet CLI Version: v1.7.11261
                      █   Microsoft.WinGet.Client PSModule version: 
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[05-07-2024 16:38:08] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: scoop
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop
                      █ Version: 
                      █   
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[05-07-2024 16:38:09] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: powershell.exe
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version: 
                      █   Name                           Value                                                                                   
                      █   ----                           -----                                                                                   
                      █   PSVersion                      5.1.22621.3810                                                                          
                      █   PSEdition                      Desktop                                                                                 
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                      █   BuildVersion                   10.0.22621.3810                                                                         
                      █   CLRVersion                     4.0.30319.42000                                                                         
                      █   WSManStackVersion              3.0                                                                                     
                      █   PSRemotingProtocolVersion      2.3                                                                                     
                      █   SerializationVersion           1.1.0.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[05-07-2024 16:38:09] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancye exe name: choco.exe
                      █ Executable path: C:\Users\Skand_zncmqfh\AppData\Local\UniGetUI\Chocolatey\choco.exe
                      █ Call arguments: 
                      █ Version: 
                      █   2.2.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[05-07-2024 16:38:29] Dependency WinGet PowerShell Module for manager Winget is present
[05-07-2024 16:38:29] Found 0 installed packages from Scoop
[05-07-2024 16:38:29] Found 0 available updates from Pip
[05-07-2024 16:38:29] Command scoop-search.exe was not found on the system
[05-07-2024 16:38:29] Dependency Scoop-Search was not found for manager Scoop, marking to prompt...
[05-07-2024 16:38:34] Dependency Git for manager Scoop is present
[05-07-2024 16:38:34] Found 4 installed packages from Chocolatey
[05-07-2024 16:38:34] Found 1 installed packages from Pip
[05-07-2024 16:38:34] Found 0 installed packages from Scoop
[05-07-2024 16:38:34] Found 0 available updates from Chocolatey
[05-07-2024 16:38:34] Found 1 installed packages from PowerShell
[05-07-2024 16:38:36] Found 0 available updates from Scoop
[05-07-2024 16:38:36] Found 0 available updates from PowerShell
[05-07-2024 16:38:36] Found 1 available updates from Npm
[05-07-2024 16:38:39] Found 2 installed packages from Npm
[05-07-2024 16:38:41] Found 139 installed packages from Winget
[05-07-2024 16:38:41] Found 7 available updates from Winget
[05-07-2024 16:38:50] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[05-07-2024 16:39:03] Found 0 installed packages from Scoop
[05-07-2024 16:39:12] Found 1 installed packages from Pip
[05-07-2024 16:39:12] Found 4 installed packages from Chocolatey
[05-07-2024 16:39:15] Found 1 installed packages from PowerShell
[05-07-2024 16:39:16] Found 2 installed packages from Npm
[05-07-2024 16:39:19] Found 139 installed packages from Winget
[05-07-2024 17:06:48] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[05-07-2024 17:06:48] Icon for package Microsoft.AppInstaller was not found, returning default icon
[05-07-2024 17:06:48] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[05-07-2024 17:06:48] Icon for package Microsoft.DotNet.DesktopRuntime.6 was not found, returning default icon
[05-07-2024 17:06:48] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[05-07-2024 17:06:48] Icon for package OpenJS.NodeJS was not found, returning default icon
[05-07-2024 17:06:48] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[05-07-2024 17:06:48] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=Microsoft.PowerToys
[05-07-2024 17:06:48] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[05-07-2024 17:06:48] Icon for package Roblox.Roblox was not found, returning default icon
[05-07-2024 17:06:48] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=snyk
[05-07-2024 17:06:48] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[05-07-2024 17:06:48] Icon for package SomePythonThings.WingetUIStore.Pre-release was not found, returning default icon
[05-07-2024 17:06:49] Icon for package snyk stored on C:\Users\Skand_zncmqfh\AppData\Local\UniGetUI\CachedMedia\Npm\snyk.png
[05-07-2024 17:06:51] Icon for package Microsoft.PowerToys stored on C:\Users\Skand_zncmqfh\AppData\Local\UniGetUI\CachedMedia\Winget\Microsoft.PowerToys.png

Package Managers Logs

Manager Winget with version:
Naive WinGet CLI Version: v1.7.11261
Microsoft.WinGet.Client PSModule version: 
Using Native WinGet helper (COM Api)

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

Logged native task on manager Winget. Task type is ListSources
Process start time: 05-07-2024 16:38:06
Process end time:   05-07-2024 16:38:07

-- Task information
 ...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Skand_zncmqfh\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 05-07-2024 16:38:09
Process end time:   05-07-2024 16:38:15

-- Process STDOUT
 ...

Return code: SUCCESS (0)

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

Logged subprocess-based task on manager Winget. Task type is ListPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 05-07-2024 16:38:10
Process end time:   05-07-2024 16:38:41

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is ListSources
Process start time: 05-07-2024 16:38:12
Process end time:   05-07-2024 16:38:14

-- Task information
 ...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 05-07-2024 16:38:15
Process end time:   05-07-2024 16:38:41

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

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

Logged subprocess-based task on manager Winget. Task type is ListPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 05-07-2024 16:38:57
Process end time:   05-07-2024 16:39:19

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

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

Relevant information

No response

Screenshots and videos

image

redactedscribe commented 3 days ago

I'm also having this issue. I don't interact with the .NET ecosystem, so I don't experience this bug's effects, but I do see Found: False and the same error in the screenshot. May be related to fixes done in https://github.com/marticliment/UniGetUI/issues/2376?

marticliment commented 3 days ago

It might not be found if you don't have a .NET SDK installed

If you don't have a SDK installed it will artificially shown as not found

marticliment commented 3 days ago

Hello,

To all users facing issues with version 3.1.0, please try the new 3.1.1 beta, which aims to fix this issues.

UniGetUI 3.1.1-beta0 release: https://github.com/marticliment/UniGetUI/releases/tag/3.1.1-beta0 Direct installer URL: https://github.com/marticliment/UniGetUI/releases/download/3.1.1-beta0/UniGetUI.Installer.exe

Excuse me for the inconveniences.