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
11.93k stars 396 forks source link

[BUG] Missing Git Dependency Message #2522

Closed 13regent closed 1 month ago

13regent commented 1 month ago

Please confirm these before moving forward

UniGetUI Version

3.1.1-beta2

Windows version, edition, and architecture

Windows 10 Pro 22H2

Describe your issue

Start Uniget. Get missing dependency message that Uniget requires Git to operate. Click on "Install Git" but message persists after Powershell commands run, and Uniget restarts. Tried a Uniget "reset" with no change. Uniget seems to be working normally though?

Steps to reproduce the issue

Start Uniget...wait 10 seconds. Git message appears.

UniGetUI Log

[07/20/2024 1:00:37 AM]    __  __      _ ______     __  __  ______
                          / / / /___  (_) ____/__  / /_/ / / /  _/
                         / / / / __ \/ / / __/ _ \/ __/ / / // /  
                        / /_/ / / / / / /_/ /  __/ /_/ /_/ // /   
                        \____/_/ /_/_/\____/\___/\__/\____/___/   
                            Welcome to UniGetUI Version 3.1.1-beta2
[07/20/2024 1:00:37 AM]
[07/20/2024 1:00:37 AM] Version Code:  3.1092
[07/20/2024 1:00:37 AM] Encoding Code Page set to 437
[07/20/2024 1:00:38 AM] Using bundled GSudo at C:\Program Files\UniGetUI\Assets\Utilities\gsudo.exe
[07/20/2024 1:00:39 AM] Loaded language locale: en
[07/20/2024 1:00:39 AM] Randomly-generated background API auth token for the current session: ydw8bge6faq4109fwxye0nrwj85f867b9r8ppk8yxwrawt5qtntfp14q2dzc64hy
[07/20/2024 1:00:40 AM] Api running on http://localhost:7058
[07/20/2024 1:00:41 AM] Lang files were updated successfully from GitHub
[07/20/2024 1:00:41 AM] UniGetUI is up to date
[07/20/2024 1:00:42 AM] Command npm was not found on the system
[07/20/2024 1:00:42 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Npm
                        █ Enabled: True
                        █ Found: False
                        █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                        █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07/20/2024 1:00:44 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Pip
                        █ Enabled: True
                        █ Found: True
                        █ Fancye exe name: pip
                        █ Executable path: C:\Users\Scott\AppData\Local\Microsoft\WindowsApps\python.exe
                        █ Call arguments:  -m pip
                        █ Version: 
                        █   
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07/20/2024 1:00:44 AM] Downloaded new icons and screenshots successfully!
[07/20/2024 1:00:45 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: .NET Tool
                        █ Enabled: True
                        █ Found: True
                        █ Fancye exe name: dotnet tool
                        █ Executable path: C:\Program Files\dotnet\dotnet.exe
                        █ Call arguments: tool
                        █ Version: 
                        █   6.0.424
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07/20/2024 1:00:48 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Winget
                        █ Enabled: True
                        █ Found: True
                        █ Fancye exe name: winget.exe
                        █ Executable path: C:\Users\Scott\AppData\Local\Microsoft\WindowsApps\winget.exe
                        █ Call arguments: 
                        █ Version: 
                        █   System WinGet CLI Version: v1.8.1911
                        █   Microsoft.WinGet.Client PSModule version: ""
                        █   Using Native WinGet helper (COM Api)
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07/20/2024 1:00:50 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Chocolatey
                        █ Enabled: True
                        █ Found: True
                        █ Fancye exe name: choco.exe
                        █ Executable path: C:\Users\Scott\AppData\Local\UniGetUI\Chocolatey\choco.exe
                        █ Call arguments: 
                        █ Version: 
                        █   2.2.2
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07/20/2024 1:00:51 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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: 
                        █   Current Scoop version:
                        █   
                        █   'main' bucket:
                        █   c1ca821e4 jdtls: Update to version 1.38.0-202407200154
                        █   
                        █   'games' bucket:
                        █   d84c6567a vita3k: Update to version 3623-2711a71
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07/20/2024 1:00:51 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.19041.4648                                                                          
                        █   PSEdition                      Desktop                                                                                 
                        █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                        █   BuildVersion                   10.0.19041.4648                                                                         
                        █   CLRVersion                     4.0.30319.42000                                                                         
                        █   WSManStackVersion              3.0                                                                                     
                        █   PSRemotingProtocolVersion      2.3                                                                                     
                        █   SerializationVersion           1.1.0.1
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[07/20/2024 1:00:56 AM] Microsoft.Powershell.Client detection has been forcefully skipped as the module is not required on the current context
[07/20/2024 1:00:56 AM] Dependency WinGet PowerShell Module for manager Winget is present
[07/20/2024 1:00:58 AM] Found 0 available updates from Pip
[07/20/2024 1:00:58 AM] Found 0 installed packages from Pip
[07/20/2024 1:01:08 AM] Dependency Scoop-Search for manager Scoop is present
[07/20/2024 1:01:11 AM] Found 0 available updates from .NET Tool
[07/20/2024 1:01:11 AM] Command git.exe was not found on the system
[07/20/2024 1:01:11 AM] Dependency Git was not found for manager Scoop, marking to prompt...
[07/20/2024 1:01:15 AM] Dependency .NET Tools Outdated for manager .NET Tool is present
[07/20/2024 1:01:15 AM] Found 0 available updates from Chocolatey
[07/20/2024 1:01:15 AM] Found 3 installed packages from Scoop
[07/20/2024 1:01:15 AM] Found 0 installed packages from Chocolatey
[07/20/2024 1:01:15 AM] Found 1 installed packages from PowerShell
[07/20/2024 1:01:15 AM] Found 1 installed packages from .NET Tool
[07/20/2024 1:01:15 AM] Found 0 available updates from PowerShell
[07/20/2024 1:01:26 AM] Found 339 installed packages from Winget
[07/20/2024 1:01:29 AM] Found 6 available updates from Winget
[07/20/2024 1:01:51 AM] Error finding updates on manager Scoop
[07/20/2024 1:01:51 AM] System.TimeoutException: The operation has timed out.
                           at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.GetAvailableUpdates() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 192
[07/20/2024 1:05:25 AM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.

Package Managers Logs

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

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

Logged native task on manager Winget. Task type is ListSources
Process start time: 07/20/2024 1:00:48 AM
Process end time:   07/20/2024 1:00:48 AM

-- Task information
 ...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Scott\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 07/20/2024 1:00:51 AM
Process end time:   07/20/2024 1:01:11 AM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 07/20/2024 1:00:51 AM
Process end time:   07/20/2024 1:01:26 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListSources
Process start time: 07/20/2024 1:00:54 AM
Process end time:   07/20/2024 1:00:57 AM

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 07/20/2024 1:01:14 AM
Process end time:   07/20/2024 1:01:29 AM

-- Task information
 ...

The task reported success

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

Relevant information

No response

Screenshots and videos

image

marticliment commented 1 month ago

please run scoop install git on a command prompt

13regent commented 1 month ago

That has fixed it this issue. Uniget seems to behaving normally. Will have to play with it some more.