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
13.15k stars 451 forks source link

[BUG] Winget source update failed, can't check for updates #1455

Closed MilesTEG1 closed 1 year ago

MilesTEG1 commented 1 year ago

Please confirm these before moving forward

Describe your issue

On my new computer, I want to search and find some app through WinGetUI like OhMyPosh, but there is nothing found (as you can see on the screenshot). But with winget in a terminal, I can find it (see the screenshot).

I installed severals app but no one was available on the winget source. Some was on winget msstore. But I had to install with chocolatey source.

For OhMyPosh, I found something with oh my posh but not on winget source, only msstore or chocolatey.

Steps to reproduce the issue

search OhMyPosh with wingetUI: no results search OhMyPosh with CLI winget command: result found.

WingetUI Log

🟢 Using cached lang file
🟡 Using bundled lang file (forced=True)
It took 0.0 to load all language files
🟢 checkQueue Thread started!
🔵 Found default chocolatey installation on expected location
🔵 Language file up-to-date
🔵 Starting main application...
🔵 Looking for alive instances...
🔵 Reloading Winget sources...
🟡 Found lock file(s), reactivating...
🔵 Loading WingetUI AUMID...
 * Serving Flask app 'WingetUI backend'
 * Debug mode: off
🔵 Starting update check
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://localhost:7058
Press CTRL+C to quit
🟢 Downloaded latest metadata to local file from url https://raw.githubusercontent.com/marticliment/WingetUI/main/WebBasedData/screenshot-database-v2.json
🔵 Loaded metadata from local file
🔵 Version URL: https://versions.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🟢 Found valid aumid {6D809377-6AF0-444B-8957-A3773F02200E}\WingetUI\winget...
🔵 Reactivation signal ignored: RaiseWindow_[1696574837.3837495]
{'sudoFound': True, 'sudoVersion': '', 'ScoopFound': False, 'ScoopVersion': 'Scoop est désactivé(e)', 'PipFound': False, 'PipVersion': 'Pip est désactivé(e)', 'NpmFound': False, 'NpmVersion': 'Npm est désactivé(e)', '.NET ToolFound': False, '.NET ToolVersion': '.NET Tool est désactivé(e)', 'WingetFound': True, 'WingetVersion': 'v1.5.1881  ', 'ChocolateyFound': True, 'ChocolateyVersion': '2.2.2  '}
🔵 Reached main ui load milestone
Can't disconnect
C:/Program Files/WingetUI/resources/edit_filters_masked_white.png
Can't disconnect
Can't disconnect
C:/Program Files/WingetUI/resources/installed_masked_white.png
🟢 Discover tab loaded successfully
🟢 Total packages: 0
Can't disconnect
Can't disconnect
Can't disconnect
Can't disconnect
C:/Program Files/WingetUI/resources/update_masked_white.png
🟢 Update tab loaded successfully
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
Can't disconnect
Can't disconnect
Can't disconnect
C:/Program Files/WingetUI/resources/pin_masked_white.png
🟢 Uninstall tab loaded successfully
🔵 Starting Winget search for installed packages
🔵 Starting Chocolatey search for installed packages
🟢 Searching for string ""
🔵 Reloading Scoop sources...
Can't disconnect
🟢 Starting winget source search...
🟢 Starting winget source search...
Can't disconnect
🟢 Settings tab loaded!
🟢 winget source search finished
🟢 winget source search finished
🟢 About tab loaded!
🟢 Chocolatey search for installed packages finished with 1 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Chocolatey search for installed packages
🔵 Starting Winget search for updates
C:/Program Files/WingetUI/resources/edit_filters_masked_white.png
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
🟢 Main application loaded...
C:/Program Files/WingetUI/resources/edit_filters_masked_white.png
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
🟢 Chocolatey search for installed packages finished with 1 result(s)
🟢 Searching for string ""
🔵 Reloading Scoop sources...
🟢 Winget search for installed packages finished with 101 result(s)
🔵 Starting Chocolatey search for updates
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 102
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Winget search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟡 Can't get custom interval time! (got value was '')
🟢 Total packages: 0
🟢 Searching for string "o"
🟢 Searching for string "oh"
🟢 Searching for string "ohm"
🟢 Searching for string "ohmy"
🟢 Searching for string "ohmyp"
🟢 Searching for string "ohmypo"
🟢 Searching for string "ohmypos"
🟢 Searching for string "ohmyposh"
🟢 Searching for string "ohmyposh"
🔵 Loading dynamic packages for query ohmyposh
🔵 Searching packages on chocolatey for query ohmyposh
🔵 Starting Winget search for dynamic packages
🟢 Winget search for updates finished with 0 result(s)
🟢 Searching for string "ohmyposh"
🟢 Searching for string " JanDeDobbeleer.OhMyPosh"
🟢 Searching for string " JanDeDobbeleer.OhMyPosh"
🔵 Loading dynamic packages for query  JanDeDobbeleer.OhMyPosh
🔵 Searching packages on chocolatey for query  JanDeDobbeleer.OhMyPosh
🔵 Starting Winget search for dynamic packages
🟢 Winget search for updates finished with 0 result(s)
🟢 Searching for string " JanDeDobbeleer.OhMyPosh"
🟢 Searching for string ""
🟢 Searching for string "ohmyposh"
🟢 Searching for string "ohmyposh"
🔵 Loading dynamic packages for query ohmyposh
🔵 Searching packages on chocolatey for query ohmyposh
🔵 Starting Winget search for dynamic packages
🟢 Winget search for updates finished with 0 result(s)
🟢 Searching for string "ohmyposh"
🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement
🔵 Image URL: https://www.marticliment.com/resources/translate.png
🟢 Searching for string "Oh My Posh"
🟢 Searching for string "Oh My Posh"
🔵 Loading dynamic packages for query Oh My Posh
🔵 Searching packages on chocolatey for query Oh My Posh
🔵 Starting Winget search for dynamic packages
🟢 Winget search for updates finished with 0 result(s)
🟢 Searching for string "Oh My Posh"
🟢 Searching for string "JanDeDobbeleer"
🟢 Searching for string "JanDeDobbeleer"
🔵 Loading dynamic packages for query JanDeDobbeleer
🔵 Searching packages on chocolatey for query JanDeDobbeleer
🔵 Starting Winget search for dynamic packages
🟢 Searching for string ""
🟢 Winget search for updates finished with 1 result(s)
🟢 Searching for string ""
🟢 Searching for string "Oh My Posh"
🟢 Searching for string "Oh My Posh"
🔵 Loading dynamic packages for query Oh My Posh
🔵 Searching packages on chocolatey for query Oh My Posh
🔵 Starting Winget search for dynamic packages
🟢 Winget search for updates finished with 0 result(s)
🟢 Searching for string "Oh My Posh"
🔵 Loading WingetUI log...
🔵 Copying log to the clipboard...
🔵 Loading WingetUI log...

Package Managers Logs

Outputs from package managers on the current session:
 ---------Chocolatey
Chocolatey v2.2.2
0 packages installed.---------Chocolatey
Chocolatey v2.2.2
0 packages installed.
---------Winget
- 
   \ 
   | 
   / 
   - 
   \ 
   | 
   / 
   - 

Failed in attempting to update the source: winget
- 

Failed when searching source; results will not be included: winget
Name                                             Id                                                   Version
-----------------------------------------------------------------------------------------------------------------------
Bitwarden                                        173a9bac-6f0d-50c4-8202-4744c69d091a                 2023.9.1
Files                                            49306atecsolution.FilesUWP_et10x9a9vyk8t             2.5.21.0
MeteoStation                                     58707SoftImage.MeteoStation_fqg73yh344498            23.9.3.0
7-Zip 23.01 (x64)                                7-Zip                                                23.01
Centre de configuration des graphiques Intel®    AppUp.IntelGraphicsExperience_8j3eq9eme6ctt          1.100.5185.0
CPUID CPU-Z 2.08                                 CPUID CPU-Z_is1                                      2.08
Microsoft Clipchamp                              Clipchamp.Clipchamp_yxz26nhyzhsrt                    2.7.10.0
Clowd                                            Clowd                                                3.4.484
Geekbench 6                                      Geekbench 6                                          Unknown
Microsoft Edge                                   Microsoft Edge                                       117.0.2045.55
Microsoft Edge Update                            Microsoft Edge Update                                1.3.177.11
Microsoft Edge WebView2 Runtime                  Microsoft EdgeWebView                                117.0.2045.47
Cortana                                          Microsoft.549981C3F5F10_8wekyb3d8bbwe                4.2308.1005.0
AV1 Video Extension                              Microsoft.AV1VideoExtension_8wekyb3d8bbwe            1.1.61781.0
Actualités                                       Microsoft.BingNews_8wekyb3d8bbwe                     4.55.62231.0
MSN Météo                                        Microsoft.BingWeather_8wekyb3d8bbwe                  4.53.52331.0
Module de compatibilité OpenCLTM et OpenGL®      Microsoft.D3DMappingLayers_8wekyb3d8bbwe             1.2302.1.0
Programme d'installation d'application           Microsoft.DesktopAppInstaller_8wekyb3d8bbwe          1.21.2771.0
Xbox                                             Microsoft.GamingApp_8wekyb3d8bbwe                    2309.1001.3.0
Obtenir de l'aide                                Microsoft.GetHelp_8wekyb3d8bbwe                      10.2303.10961.0
Astuces Microsoft                                Microsoft.Getstarted_8wekyb3d8bbwe                   10.2306.0.0
HEIF Image Extensions                            Microsoft.HEIFImageExtension_8wekyb3d8bbwe           1.0.62561.0
Extensions vidéo HEVC du fabricant de l'appareil Microsoft.HEVCVideoExtension_8wekyb3d8bbwe           2.0.61931.0
Module d'expérience locale français (France)     Microsoft.LanguageExperiencePackfr-FR_8wekyb3d8bbwe  22621.42.178.0
Extension vidéo MPEG-2                           Microsoft.MPEG2VideoExtension_8wekyb3d8bbwe          1.0.61931.0
Microsoft Edge                                   Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe         117.0.2045.55
Microsoft Journal                                Microsoft.MicrosoftJournal_8wekyb3d8bbwe             1.23075.1229.0
Microsoft 365 (Office)                           Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe           18.2306.1061.0
Solitaire & Casual Games                         Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe 4.17.8180.0
Pense-bêtes Microsoft                            Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe         4.0.4602.0
Minecraft Education                              Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe    1.20.1200.0
Portail de réalité mixte                         Microsoft.MixedReality.Portal_8wekyb3d8bbwe          2000.22041.1123.0
Forfaits mobiles                                 Microsoft.OneConnect_8wekyb3d8bbwe                   5.2308.2294.0
OneDrive                                         Microsoft.OneDriveSync_8wekyb3d8bbwe                 23189.910.1.0
Outlook for Windows                              Microsoft.OutlookForWindows_8wekyb3d8bbwe            1.2023.927.100
Paint                                            Microsoft.Paint_8wekyb3d8bbwe                        11.2306.30.0
Contacts Microsoft                               Microsoft.People_8wekyb3d8bbwe                       10.2202.33.0
Power Automate                                   Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe         1.0.560.0
PowerToys ImageResizer Context Menu              Microsoft.PowerToys.ImageResizerContextMenu_8wekyb3… 0.74.1.0
PowerToys PowerRename Context Menu               Microsoft.PowerToys.PowerRenameContextMenu_8wekyb3d… 0.74.1.0
Raw Image Extension                              Microsoft.RawImageExtension_8wekyb3d8bbwe            2.1.62561.0
Outil Capture d'écran                            Microsoft.ScreenSketch_8wekyb3d8bbwe                 11.2309.16.0
Sécurité Windows                                 Microsoft.SecHealthUI_8wekyb3d8bbwe                  1000.25873.9001.0
Hôte de l'expérience du Microsoft Store          Microsoft.StorePurchaseApp_8wekyb3d8bbwe             22307.1401.9.0
Microsoft To Do                                  Microsoft.Todos_8wekyb3d8bbwe                        0.104.62421.0
VP9 Video Extensions                             Microsoft.VP9VideoExtensions_8wekyb3d8bbwe           1.0.61591.0
Extensions de support web                        Microsoft.WebMediaExtensions_8wekyb3d8bbwe           1.0.61591.0
Webp Image Extensions                            Microsoft.WebpImageExtension_8wekyb3d8bbwe           1.0.62681.0
Microsoft Whiteboard                             Microsoft.Whiteboard_8wekyb3d8bbwe                   53.10829.535.0
Power Automate                                   Microsoft.Windows.DevHome_8wekyb3d8bbwe              0.502.261.0
Photos Microsoft                                 Microsoft.Windows.Photos_8wekyb3d8bbwe               2023.11090.29007…
Horloge Windows                                  Microsoft.WindowsAlarms_8wekyb3d8bbwe                1.0.186.0
Calculatrice Windows                             Microsoft.WindowsCalculator_8wekyb3d8bbwe            11.2307.4.0
Caméra Windows                                   Microsoft.WindowsCamera_8wekyb3d8bbwe                2023.2305.4.0
Hub de commentaires                              Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe           1.2304.1243.0
Cartes Windows                                   Microsoft.WindowsMaps_8wekyb3d8bbwe                  1.0.57.0
Bloc-notes Windows                               Microsoft.WindowsNotepad_8wekyb3d8bbwe               11.2307.27.0
Enregistreur vocal Windows                       Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe         1.0.65.0
Microsoft Store                                  Microsoft.WindowsStore_8wekyb3d8bbwe                 22308.1401.6.0
Terminal Windows                                 Microsoft.WindowsTerminal_8wekyb3d8bbwe              1.17.11461.0
Windows Package Manager Source (winget)          Microsoft.Winget.Source_8wekyb3d8bbwe                2023.1006.232.523
Xbox TCUI                                        Microsoft.Xbox.TCUI_8wekyb3d8bbwe                    1.24.10001.0
Xbox Game Bar Plugin                             Microsoft.XboxGameOverlay_8wekyb3d8bbwe              1.54.4001.0
Xbox Game Bar                                    Microsoft.XboxGamingOverlay_8wekyb3d8bbwe            5.823.7272.0
Xbox Identity Provider                           Microsoft.XboxIdentityProvider_8wekyb3d8bbwe         12.95.3001.0
Xbox Game Speech Window                          Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe      1.21.13002.0
Mobile connecté                                  Microsoft.YourPhone_8wekyb3d8bbwe                    0.23082.131.0
Lecteur multimédia Windows                       Microsoft.ZuneMusic_8wekyb3d8bbwe                    11.2308.3.0
Films et TV                                      Microsoft.ZuneVideo_8wekyb3d8bbwe                    10.22091.10041.0
Microsoft Family                                 MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe 0.2.40.0
Assistance rapide                                MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe     2.0.21.0
Microsoft Teams                                  MicrosoftTeams_8wekyb3d8bbwe                         23247.1113.2398.…
Windows Web Experience Pack                      MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy  423.23500.0.0
Microsoft OneDrive                               OneDriveSetup.exe                                    23.189.0910.0001
Speedtest by Ookla                               Ookla.SpeedtestbyOokla_43tkc6nmykmb6                 1.16.165.0
Realtek Audio Control                            RealtekSemiconductorCorp.RealtekAudioControl_dt26b9… 1.36.273.0
Unigine Superposition Benchmark 1.1              Superposition_is1                                    1.1
Unigine Valley Benchmark version 1.0             Unigine Valley Benchmark_is1                         1.0
Courrier et calendrier                           microsoft.windowscommunicationsapps_8wekyb3d8bbwe    16005.14326.2158…
Logitech SetPoint 6.90                           sp6                                                  6.90.66
Intel(R) Wireless Bluetooth(R)                   {00000250-0220-1036-84C8-B8D95FA3C8C3}               22.250.0.2
Microsoft Windows Desktop Runtime - 6.0.22 (x64) {0f94f805-22c3-4413-b1e5-5ab275ba92d5}               6.0.22.32825
Microsoft ASP.NET Core 7.0.11 - Shared Framewor… {1353d286-0d94-4818-84d3-e2965d75318a}               7.0.11.23425
PowerShell 7-x64                                 {14844184-695A-4B90-82CC-01F55AD80778}               7.3.7.0
Intel(R) Management Engine Components            {1CEAC85D-2590-4760-800F-8DE5E91F3700}               2319.4.30.0
Geeks3D FurMark 1.37.2.0                         {2397CAD4-2263-4CD0-96BE-E43A980B9C9A}_is1           1.37.2.0
Microsoft Visual C++ 2015-2022 Redistributable … {410c0ee1-00bb-41b6-9772-e12c2828b02f}               14.36.32532.0
Microsoft Windows Desktop Runtime - 7.0.11 (x64) {4f5e4196-41e0-4f47-960d-7e6f2796d9b1}               7.0.11.32825
DriversCloud.com                                 {7C5A59CD-BF23-4E8B-9DAE-28A0ED02AE61}               11.2.8.0
Logi Options+                                    {850cdc16-85df-4052-b06e-4e3e9e83c5c6}               1.54.466136
WingetUI                                         {889610CC-4337-4BDB-AC3B-4F21806C0BDE}_is1           2.1.0
PowerToys (Preview) x64                          {890d9125-40e2-4ad8-b37f-739c273dbd1e}               0.74.1
TechPowerUp GPU-Z                                {8B0F211E-5846-4FB2-B0B9-4EB31546FDF9}}_is1          2.55.0
Microsoft Visual C++ 2015-2022 Redistributable … {8bdfe669-9705-4184-9368-db9ce581e0e7}               14.36.32532.0
Novabench                                        {9229ECEC-946D-432E-97ED-1D022852810A}               5.4.0
French - Apple - Custom                          {A1FB7E75-619E-4168-B815-DD6957A0BD52}               1.0.3.40
Microsoft Update Health Tools                    {AF47B488-9780-4AB5-A97E-762E28013CA6}               5.71.0.0
Intel® ArcTM Control                             {a2a7cc11-5d57-4bd1-bd40-48c041d85a90}               1.73.5335.2
Microsoft Windows Desktop Runtime - 7.0.11 (x86) {ab37bf47-cbd8-4932-ab24-52bf3c59e271}               7.0.11.32825
Microsoft Windows Desktop Runtime - 7.0.7 (x64)  {e875fc20-9a37-4344-b046-0bb037cb2d57}               7.0.7.32525
Intel® Driver & Support Assistant                {ecbee3cf-26b3-4f27-854c-e2e16b3f7fa9}               23.4.39.9

---------Chocolatey
Chocolatey v2.2.2
Outdated Packages
Output is package name | current version | available version | pinned?Chocolatey has determined 0 package(s) are outdated.

Did you know the proceeds of Pro (and some proceeds from other
licensed editions) go into bettering the community infrastructure?
Your support ensures an active community, keeps Chocolatey tip-top,
plus it nets you some awesome features!
https://chocolatey.org/compare---------Winget
- 
   \ 
   | 
   / 
   - 
   \ 
   | 
   / 
   - 

Failed in attempting to update the source: winget
- 

Failed when searching source; results will not be included: winget
No installed package found matching input criteria.------- Winget query ohmyposh- 
   \ 
   | 
   / 
   - 
   \ 
   | 
   / 
   - 

Failed in attempting to update the source: wingetFailed when searching source; results will not be included: wingetNo package found matching input criteria.

------- Winget query  JanDeDobbeleer.OhMyPosh- 
   \ 
   | 
   / 
   - 
   \ 
   | 
   / 
   - 

Failed in attempting to update the source: wingetFailed when searching source; results will not be included: wingetNo package found matching input criteria.

------- Winget query ohmyposh- 
   \ 
   | 
   / 
   - 
   \ 
   | 
   / 
   - 
   \ 

Failed in attempting to update the source: wingetFailed when searching source; results will not be included: wingetNo package found matching input criteria.

------- Winget query Oh My Posh- 
   \ 
   | 
   / 
   - 
   \ 
   | 
   / 
   - 

Failed in attempting to update the source: wingetFailed when searching source; results will not be included: wingetNo package found matching input criteria.

------- Winget query JanDeDobbeleer- 
   \ 
   | 
   / 
   - 
   \ 
   | 
   / 
   - 

Failed in attempting to update the source: wingetFailed when searching source; results will not be included: wingetName       Id             Version Source------------------------------------------oh-my-posh XP8K0HKJFRXGCK Unknown msstore

------- Winget query Oh My Posh- 
   \ 
   | 
   / 
   - 
   \ 
   | 
   / 
   - 

Failed in attempting to update the source: wingetFailed when searching source; results will not be included: wingetNo package found matching input criteria.

Relevant information

ANother thing that may be related: I cannot install Rustdesk because of an error in the hash. But there is no problem to install it from cli with winget command.

Screenshots and videos

image

GregXu247 commented 1 year ago

I'm experiencing the same issue. It seems like to happen when I use the “Use system Winget” option.

marticliment commented 1 year ago

Use system winget is a feature that will only work under special circumstances, this is why it is set under Experimental Features.

marticliment commented 1 year ago

Hello @MilesTEG1, can you please try Source Reset option under Winget settings?

babblebauble commented 1 year ago

Hi @marticliment.

I'm also experiencing this issue. Resetting winget sources gives the following error:

Adding source: winget -> https://cdn.winget.microsoft.com/cache An unexpected error occurred while executing the command: 0x80190193 : Forbidden (403).

Going to https://cdn.winget.microsoft.com/cache in my browser shows

The specified resource does not exist. RequestId:15eb0a07-a01e-0054-017b-f843ed000000 Time:2023-10-06T17:35:03.3471509Z.

Would this have anything to do with the CDN migration taking place? https://github.com/microsoft/winget-cli/issues/3652#issuecomment-1750973872

ETA. Winget CLI (v1.6.2771) seems to be working fine though.

denelon commented 1 year ago

It is likely this has to do with the CDN migration (set of activities). The database inside the source.msix has been modified. We shrunk it by ~50% by refactoring a few things.

We would recommend using the COM API to call WinGet so the dependency on parsing the SQLite database doesn't cause failures. It would also be good to ensure the latest version of WinGet is maintained on the client device.

We have some upcoming work to enable WinGet to update itself without causing a failure when operations are in progress like winget import

The URL for the PreIndexed package is: https://cdn.winget.microsoft.com/cache/source.msix which is why the browser is throwing errors.

babblebauble commented 1 year ago

Thanks.

MilesTEG1 commented 1 year ago

Hello @MilesTEG1, can you please try Source Reset option under Winget settings?

I already tried this before sending this issue. But I can do it again. Doing it, I have this, like @babblebauble: CleanShot 2023-10-06 at 21 08 32@2x

denelon commented 1 year ago

What version of WinGet is installed on the system? It's likely it needs to be upgraded.

MilesTEG1 commented 1 year ago

What version of WinGet is installed on the system? It's likely it needs to be upgraded.

My version is:

winget --version
v1.6.2771
denelon commented 1 year ago

I just noticed the path in the image. It looks like WinGet UI is bringing its own version of WinGet along with it. That version is probably being impacted with the CDN migration.

babblebauble commented 1 year ago

Latest version of Winget UI is indeed using an older version of WinGet (1.5.1881).

Latest stable version of WinGet CLI is working fine on my end.

liang2zhu1 commented 1 year ago

+1 I'm experiencing the same , search "Ditto" it's missing the result , replacing with the latest v1.6.2771 solved the issue.

C:\Program Files\ueli>winget search ditto
Name            Id           Version    Source
------------------------------------------------
Ditto Clipboard 9NBLGGH3ZBJQ Unknown    msstore
Ditto           Ditto.Ditto  3.24.246.0 winget

image

image

marticliment commented 1 year ago

Next WingetUI version will have winget 1.6 bundled

We would recommend using the COM API to call WinGet so the dependency on parsing the SQLite database doesn't cause failures. It would also be good to ensure the latest version of WinGet is maintained on the client device.

This is a feature I am working on, but I haven't managed to acces the API from python nor from C#.NET, so I am still trying to figure that out

denelon commented 1 year ago

@marticliment feel free to send me a direct e-mail and I'll see if I can get one of our engineers to take a look. We could probably give some pointers. We can also work on improving some of the public documentation. I will have to check our open-source licensing guidelines regarding making it a reference implementation. We tend to prefer the MIT license which doesn't have any extra requirements on our end, but I'll check.

Leuconoe commented 1 year ago

i have same issue, https://github.com/marticliment/WingetUI/issues/1442

marticliment commented 1 year ago

Hello,

WingetUI version 2.1.1 has been released with winget 1.6.2771. While winget 1.6.2771 does fix this issue, winget functionality will not be restored instantaneously. A period of time might pass until winget works again.

I will leave this issue open until you confirm that the issue gets fixed on your clients

Leuconoe commented 1 year ago

It's fixed in my environment.

lm-gh commented 1 year ago

thanks for the quick fix!

aaronliu0130 commented 1 year ago

My system winget now works; can the system winget option be added back? My blacklist appears to have been reset which is very annoying.

marticliment commented 1 year ago

system winget should still be available

aaronliu0130 commented 1 year ago

I don't see the option in my settings

aaronliu0130 commented 1 year ago

image

jmwoods301 commented 1 year ago

It's located in the "Experimental settings and developer options" section of WingetUI Settings.

aaronliu0130 commented 1 year ago

Ah.

LittleFreak commented 11 months ago

I realized now, that "Microsoft Smart App Control" was most likely at fault here.

aaronliu0130 commented 11 months ago

No, that's the little accent color box that shows up and asks you if you want to run or not like smartscreen

LittleFreak commented 11 months ago

Not quite. Smart App Control can block entire apps, aswell as program parts from running I had to deactivate this, and wgui works now again.

aaronliu0130 commented 11 months ago

That is probably a very different problem. This issue was caused by winget maintenance