Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG/ISSUE] 'Software Updates' and 'Installed Packages' are empty. ( winget-cli\winget.exe is missing from WingetUI's folder ) #998

Closed
5 tasks done
darkred opened this issue May 3, 2023 · 3 comments
Assignees
Labels
bug Something isn't working important ready-to-go

Comments

@darkred
Copy link

darkred commented May 3, 2023

Before submitting the issue

  • I have checked that the bug is not a duplicate or, if it is, it needs to be reopened
  • I have checked that I am running the latest version of WingetUI
  • I have tried resetting and reinstalling WingetUI and the issue persisted or happened again
  • I have checked the FAQ section for solutions
  • I have read the contributing guidelines and I agree with the Code of Conduct

Describe the bug

'Software Updates' and 'Installed Packages' are empty. Also winget-cli\winget.exe is missing from WingetUI's folder.

To Reproduce

  1. Install WingetUI 1.7.1 on win11 x64 (use default settings)
  2. Launch WingetUI
  3. Switch to either 'Software Updates' or 'Installed Packages' tabs
  4. Notice that they are both empty.

Expected behaviour

Both lists should be populated with available updates and installed packages, just in winget CLI (see screenshots below) .

Screenshots

The two empty tabs, 'Software Updates' and 'Installed Packages':

2023-05-03_233546
2023-05-03_233552

Output of winget CLI (winget list and winget upgrade)

winget list (too long to display)
2023-05-03_233810

The Log

🟢 Using cached lang file
🟡 Using bundled lang file (forced=True)
It took 0.0009751319885253906 to load all language files
🟢 checkQueue Thread started!
🔵 Starting main application...
Scanning for instances...
Found lock file(s), reactivating...
🔵 Starting update check
 * Serving Flask app 'WingetUI backend'
 * Debug mode: off
b''
None
updating winget
🔵 Version URL: https://versions.marticliment.com/versions/wingetui.ver
🟢 Updates not found
b'1.2.1\r\n'
None
🔵 Language file up-to-date
Reactivation signal ignored: RaiseWindow_[1683145611.3217254]
🟢 Downloaded latest metadata to local file
🔵 Loaded metadata from local file
{'wingetFound': False, 'scoopFound': False, 'chocoFound': True, 'sudoFound': True, 'wingetVersion': '', 'scoopVersion': 'Scoop is disabled', 'chocoVersion': '1.2.1\r', 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r'}
🔵 Reached main ui load milestone
🔵 Is Dark
Can't disconnect
🔵 Starting winget search
🔵 Starting choco search
🟢 Discover tab loaded
🟢 Found valid cache for winget!
🔵 Starting winget file update...
🟢 Found valid cache for chocolatey!
Can't disconnect
Can't disconnect
🟢 Starting winget search, winget on C:\Users\Kostas\AppData\Local\Programs\WingetUI\winget-cli\winget.exe...
🟢 Starting choco search, choco on C:\Users\Kostas\AppData\Local\Programs\WingetUI\choco-cli\choco.exe...
🟢 Upgrades tab loaded
Can't disconnect
🟢 Winget cache rebuilt
🟢 Starting winget search, winget on C:\Users\Kostas\AppData\Local\Programs\WingetUI\winget-cli\winget.exe...
🟢 Starting choco search, choco on C:\Users\Kostas\AppData\Local\Programs\WingetUI\choco-cli\choco.exe...
🟢 Discover tab loaded
🟢 Winget uninstallable packages search finished
Can't disconnect
🟢 Settings tab loaded!
🟢 About tab loaded!
🟢 Chocolatey uninstallable packages search finished
🟢 Main application loaded...
🟢 Chocolatey search finished
1
🟢 Starting winget search, winget on C:\Users\Kostas\AppData\Local\Programs\WingetUI\winget-cli\winget.exe...
🟢 Winget search finished
🟢 Total packages: 9234
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Searching for string ""
🟡 Can't get custom interval time! (got value was '')
🟢 Total packages: 0
🔵 Copying log to the clipboard...
🟢 Log copied to the clipboard successfully!
🔵 Copying log to the clipboard...

Additional context

As I see it, the issue is that there's no winget-cli folder at all in C:\Users\Kostas\AppData\Local\Programs\WingetUI (only a choco-cli) :
WingetUI folder

Winget for me is installed at C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.19.10173.0_x64__8wekyb3d8bbwe:
winget folder

So, should I somehow install/copy a separate winget version inside WingetUI's folder?
Also, I'd like to note that WingetUI should warn that it winget-cli\winget.exe is missing.

@darkred darkred added the bug Something isn't working label May 3, 2023
@darkred darkred changed the title [BUG/ISSUE] 'Software Updates' and 'Installed Packages' are empty. Also winget-cli\winget.exe is missing [BUG/ISSUE] 'Software Updates' and 'Installed Packages' are empty. ( winget-cli\winget.exe is missing from WingetUI's folder ) May 3, 2023
@marticliment
Copy link
Owner

marticliment commented May 3, 2023

As I see it, the issue is that there's no winget-cli folder at all in C:\Users\Kostas\AppData\Local\Programs\WingetUI (only a choco-cli) :

If you install version 1.7.0 and then update, does it get fixed?

@darkred
Copy link
Author

darkred commented May 3, 2023

Yes, that fixes the issue, thank you 👍
So, the latest 1.7.1 installer is missing the entire winget-cli folder (I confirmed that by comparing the two installers after unpacking them using innounp).

@marticliment
Copy link
Owner

The issue has been fixed. Installing WingetUI 1.7.1 again on new systems should not represent an issue anymore

@marticliment marticliment removed this from the Bugs milestone May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working important ready-to-go
Projects
None yet
Development

No branches or pull requests

2 participants