Skip to content

[BUG] Self update error [Scoop WingetUI] #2149

Closed

Description

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions
  • This issue is about a bug (if it is not, please use the correct template)

Describe your issue

I keep getting the in-app notification that WingetUI 3.02 is ready to be installed. I have updated from within the notification multiple times, the notification keeps coming back. I've also downloaded the latest release from Github and installed manually. The notification keeps coming back.

Probably related, WingetUI first crashes after an update. I start the app, then the app exists without showing a UI. Restarting successfully runs the app, with the update notification. So maybe the update fails (crashes the app) and some sort of rollback kicks in?

image

Steps to reproduce the issue

Open the app, you'll see the update notification. Use "Update now" to update and restart the app. The notification will show up again.

WingetUI Log

The log is bottom left, in "More" (not top right as it says here). 


Welcome to WingetUI Version 3.0.1
               Version Code 3.01
C:\Users\adria\AppData\Local\WingetUI\CachedLangFiles\lang_en.json
Loaded language locale: en
Api auth token: *****
Starting update check
Api running on http://localhost:7058
Lang files were updated successfully
Updates found, downloading installer...
Current version: 3.01
Latest version : 3.02
Downloaded icons and screenshots successfully!
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Npm
█ Enabled: True
█ Found: False
█ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
█ INSTALLED OR IT HAS BEEN MISCONFIGURED 
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ 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: 
█   8.0.204
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Pip
█ Enabled: True
█ Found: True
█ Fancye exe name: pip
█ Executable path: C:\Users\adria\AppData\Local\Microsoft\WindowsApps\python.exe
█ Call arguments:  -m pip
█ Version: 
█   
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Starting scoop cleanup...
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Chocolatey
█ Enabled: True
█ Found: True
█ Fancye exe name: choco.exe
█ Executable path: C:\Users\adria\AppData\Local\Programs\WingetUI\choco-cli\choco.exe
█ Call arguments: 
█ Version: 
█   2.2.2
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Winget
█ Enabled: True
█ Found: True
█ Fancye exe name: winget.exe
█ Executable path: C:\Users\adria\scoop\apps\wingetui\current\PackageEngine\Managers\winget-cli_x64\winget.exe
█ Call arguments: 
█ Version: 
█   v1.7.10582
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ 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:
█   v0.3.1 - Released at 2022-11-15
█   
█   'extras' bucket:
█   0070306f4 stirling-pdf: Update to version 0.22.7
█   
█   'main' bucket:
█   c4ec1a34a bun(-baseline): Add version 1.1.0 (#5672)
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ 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.2506                                                                          
█   PSEdition                      Desktop                                                                                 
█   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
█   BuildVersion                   10.0.22621.2506                                                                         
█   CLRVersion                     4.0.30319.42000                                                                         
█   WSManStackVersion              3.0                                                                                     
█   PSRemotingProtocolVersion      2.3                                                                                     
█   SerializationVersion           1.1.0.1
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
Error finding updates on manager .NET Tool: 
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\ThisExe\WasNotFound\InPath\dotnet-tools-outdated.exe' with working directory 'C:\Users\adria\scoop\apps\wingetui\current'. The system cannot find the file specified.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at ModernWindow.PackageEngine.Managers.Dotnet.GetAvailableUpdates_UnSafe() in Y:\WingetUI-Store\src\wingetui\PackageEngine\Managers\Dotnet.cs:line 83
   at ModernWindow.PackageEngine.Classes.PackageManager.GetAvailableUpdates() in Y:\WingetUI-Store\src\wingetui\PackageEngine\Classes\Manager.cs:line 164
Waiting for mainWindow to be hidden
Starting check for updates wait interval with waitTime=86400
Start backup
Finished loading serializable objects. Serializing with format JSON
Finished serializing
Backup saved to C:\Users\adria\Documents\WingetUI\Z13 installed packages 2024-04-19 13-36-42.json
Error finding packages on manager Scoop with query mail: 
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\ThisExe\WasNotFound\InPath\scoop-search.exe' with working directory 'C:\Users\adria\scoop\apps\wingetui\current'. The system cannot find the file specified.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at ModernWindow.PackageEngine.Managers.Scoop.FindPackages_UnSafe(String query) in Y:\WingetUI-Store\src\wingetui\PackageEngine\Managers\Scoop.cs:line 40
   at ModernWindow.PackageEngine.Classes.PackageManager.FindPackages(String query) in Y:\WingetUI-Store\src\wingetui\PackageEngine\Classes\Manager.cs:line 135
Error finding packages on manager Pip with query mail: 
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\ThisExe\WasNotFound\InPath\parse_pip_search' with working directory 'C:\Users\adria\scoop\apps\wingetui\current'. The system cannot find the file specified.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at ModernWindow.PackageEngine.Managers.Pip.FindPackages_UnSafe(String query) in Y:\WingetUI-Store\src\wingetui\PackageEngine\Managers\Pip.cs:line 39
   at ModernWindow.PackageEngine.Classes.PackageManager.FindPackages(String query) in Y:\WingetUI-Store\src\wingetui\PackageEngine\Classes\Manager.cs:line 135


### Package Managers Logs

```text
(Agan, it's bottom left)


▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:33 PM] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\adria\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.
[19-Apr-24 1:36:33 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:34 PM] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\adria\scoop\apps\wingetui\current\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
[19-Apr-24 1:36:34 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:34 PM] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop bucket list
Name   Source                                   Updated              Manifests
----   ------                                   -------              ---------
extras https://github.com/ScoopInstaller/Extras 02-Apr-24 2:35:03 AM      1999
main   https://github.com/ScoopInstaller/Main   02-Apr-24 3:28:46 AM      1312
[19-Apr-24 1:36:34 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:35 PM] 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                                
[19-Apr-24 1:36:35 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:35 PM] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\adria\scoop\apps\wingetui\current\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
[19-Apr-24 1:36:35 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:36 PM] Pip ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\adria\AppData\Local\Microsoft\WindowsApps\python.exe
█  Arguments:  -m pip list --outdated
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
[19-Apr-24 1:36:36 PM] Exit Code: 9009
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:36 PM] Pip ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\adria\AppData\Local\Microsoft\WindowsApps\python.exe
█  Arguments:  -m pip list
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
[19-Apr-24 1:36:36 PM] Exit Code: 9009
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:37 PM] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\adria\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.
[19-Apr-24 1:36:37 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:37 PM] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop bucket list
Name   Source                                   Updated              Manifests
----   ------                                   -------              ---------
extras https://github.com/ScoopInstaller/Extras 02-Apr-24 2:35:03 AM      1999
main   https://github.com/ScoopInstaller/Main   02-Apr-24 3:28:46 AM      1312
[19-Apr-24 1:36:37 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:37 PM] .NET Tool ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Program Files\dotnet\dotnet.exe
█  Arguments: tool list --global
Package Id      Version      Commands
-------------------------------------
[19-Apr-24 1:36:37 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:37 PM] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop list
Installed apps:
Name     Version Source Updated             Info
----     ------- ------ -------             ----
7zip     23.01   main   2024-03-27 22:30:54     
git      2.44.0  main   2024-03-27 22:31:17     
innounp  0.50    main   2024-03-27 22:31:53     
pipx     1.5.0   main   2024-04-02 04:54:43     
wingetui 3.0.1   extras 2024-03-27 22:32:29     
zeal     0.7.0   extras 2024-03-27 22:33:06     
[19-Apr-24 1:36:37 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:37 PM] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop list
Installed apps:
Name     Version Source Updated             Info
----     ------- ------ -------             ----
7zip     23.01   main   2024-03-27 22:30:54     
git      2.44.0  main   2024-03-27 22:31:17     
innounp  0.50    main   2024-03-27 22:31:53     
pipx     1.5.0   main   2024-04-02 04:54:43     
wingetui 3.0.1   extras 2024-03-27 22:32:29     
zeal     0.7.0   extras 2024-03-27 22:33:06     
[19-Apr-24 1:36:37 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:38 PM] 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                                
[19-Apr-24 1:36:38 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:38 PM] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\adria\AppData\Local\Programs\WingetUI\choco-cli\choco.exe
█  Arguments:  list
Chocolatey v2.2.2
crossftp 1.96.4
dontsleep 9.47.0
dontsleep.install 9.47.0
filezilla 3.66.5
Gow 0.8.0
lxrunoffline 3.5.0
nano 7.2.36
nano-win 7.2.36
winaero-tweaker 1.55.0
9 packages installed.
[19-Apr-24 1:36:38 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:41 PM] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\adria\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?
filezilla|3.66.5|3.67.0|false
Chocolatey has determined 1 package(s) are outdated. 
[19-Apr-24 1:36:41 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:41 PM] Scoop ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop status
WARN  Scoop out of date. Run 'scoop update' to get the latest changes.
[19-Apr-24 1:36:41 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:41 PM] PowerShell ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
█  Arguments:  -NoProfile -Command Get-InstalledModule
Version    Name                                Repository           Description                                        
-------    ----                                ----------           -----------                                        
2.1.0      Sudo                                PSGallery            Use functionality similar to sudo in PowerShell....
[19-Apr-24 1:36:41 PM] Exit Code: 0
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [19-Apr-24 1:36:41 PM] Winget ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\Users\adria\scoop\apps\wingetui\current\PackageEngine\Managers\winget-cli_x64\winget.exe

Truncated cause github says it's too long



### Relevant information

_No response_

### Screenshots and videos

![image](https://github.com/marticliment/WingetUI/assets/11292378/05906995-2fb1-4eac-b023-a2a63dd6fdad)

Activity

  1. marticliment commented on Apr 19, 2024

    @marticliment
    Collaborator

    What happens when you click on "Update now"?

  2. essenciary commented on Apr 19, 2024

    @essenciary
    Author

    It installs the update. But when I restart the app, again, it shows the update notification.

  3. marticliment commented on Apr 19, 2024

    @marticliment
    Collaborator

    Are you running any antivirus that could be interfiering with the update process?

  4. essenciary commented on Apr 22, 2024

    @essenciary
    Author

    Just the default windows security.

    Also, potentially unrelated, but some updates keep coming back. Ex, I've successfully updated Chrome, the Visual C++ redistributable packages and the NVIDIA CUDA Toolkit, but they keep showing up (7zip fails to be updated with error).

    image

  5. marticliment commented on Apr 22, 2024

    @marticliment
    Collaborator

    This is a bug with WinGet, please right-click the faulting packages -> skip this version

  6. essenciary commented on Apr 22, 2024

    @essenciary
    Author

    Could this WinGet issue be causing the WinGetUI update problem as well? The readme says

    WingetUI has a built-in autoupdater. However, it can also be updated like any other package within WingetUI (since WingetUI is available through Winget and Scoop).
    
  7. marticliment commented on Apr 22, 2024

    @marticliment
    Collaborator

    No

  8. ryan-deb commented on Apr 26, 2024

    @ryan-deb
    Contributor

    I was running into a similar bug, so I did some investigating.

    Short:
    The auto-updater doesn't work when WingetUI is installed via scoop (and possably chocolatey).

    Long:
    It looks like when you click the update button in Winget, Winget downloads an installer which installs Winget to either %LOCALAPPDATA%/Programs/ if you select "Current User" or I'm assuming one of the Program Files directories if you select all users. This likely works for users who installed WingetUI via the installer.

    The problem is that I originally installed Winget using scoop, so the scoop version remained unupdated. This led to me having two Winget installs, so the app would show as either version 3.0.1 or 3.0.2 depending on which version got launched.

    I worked around the issue by running scoop update wingetui and deleting the other install.

    Notes:
    You say that you attempted to update using the installer from GitHub, but if you originally installed via a different method and did not uninstall WingetUI prior to using the installer, the installer would just have the effect mentioned above.

    This does not explain the crashing you are experiencing, so that may be a different bug.

    Of course, if you do not have a scoop/chocolatey installation, and this is unrelated, let me know and I will report this in a new issue.

  9. essenciary commented on Apr 26, 2024

    @essenciary
    Author

    CoolSpy3 Thanks for your reply. You're right.
    WingetUI path: C:\Users\adria\scoop\apps\wingetui\current\WingetUI.exe
    Scoop update:

    Scoop was updated successfully!
    wingetui: 3.0.1 -> 3.0.2
    Updating one outdated app:
    Updating 'wingetui' (3.0.1 -> 3.0.2)
    Downloading new version
    WingetUI.Installer.exe (76.0 MB) [==============================================================================================================================] 100%
    Checking hash of WingetUI.Installer.exe ... ok.
    Uninstalling 'wingetui' (3.0.1)
    Unlinking ~\scoop\apps\wingetui\current
    Installing 'wingetui' (3.0.2) [64bit] from extras bucket
    Loading WingetUI.Installer.exe from cache
    Extracting WingetUI.Installer.exe ... done.
    Linking ~\scoop\apps\wingetui\current => ~\scoop\apps\wingetui\3.0.2
    Creating shortcut for WingetUI (WingetUI.exe)
    'wingetui' (3.0.2) was installed successfully!
    

    Now WingetUI no longer shows the update banner.

    So then:
    a) why does not WingetUI scoop update itself? Scoop is enabled.
    image
    b) why does not WingetUI show in Scoop as a source for itself?
    image

  10. essenciary commented on Apr 26, 2024

    @essenciary
    Author

    It doesn't seem to use other enabled packages either, for ex pip:
    https://xon.sh/ default install is via pip.
    image

    ~ which pip                                                                                                                         in cmd at 11:26:48
    C:\Users\adria\.pyenv\pyenv-win\shims\pip
    
  11. marticliment commented on Apr 26, 2024

    @marticliment
    Collaborator

    I will investigate this

  12. changed the title [-][BUG] Self update error[/-] [+][BUG] Self update error [Scoop WingetUI][/+] on Apr 26, 2024
  13. essenciary commented on Apr 27, 2024

    @essenciary
    Author

    Martí Climent (@marticliment) just wanted to say thanks for the great software, it's very powerful and productive and I really enjoy it.
    We're also building OSS in Barcelona @ https://genieframework.com/ and I know how rewarding but also how very challenging it can be at times. Congrats and maybe we'll meet for a coffee someday.

  14. ryan-deb commented on Oct 20, 2024

    @ryan-deb
    Contributor

    Update: As of v3.1.1, I am seeing the wingetui package show up as a scoop update, however, it cannot be updated through UniGetUI because UniGetUI is running. I am also not seeing the autoupdater to v3.1.2.

    Update 2: Just got the autoupdate! The updater still appears to install globally rather than through scoop, so this issue should remain open for the time being.

  15. marticliment commented on Oct 20, 2024

    @marticliment
    Collaborator

    The autoupdater hasn't been triggered yet, this has been done on purpose. Autoupdate will begin in the following hours

  16. marticliment commented on Oct 24, 2024

    @marticliment
    Collaborator

    This issue will be fixed when ScoopInstaller/Nonportable#362 is merged

  17. removed this from the Bugs milestone on Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugimportantready-to-go

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions