Skip to content

[BUG] Install failed when searching source: msstore, but the program to install is from source:winget #1770

@zerodegress

Description

Please confirm these before moving forward

  • I have searched for my issue and 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

Install failed when searching source: msstore.but the program to install is from the source winget, not the msstore.

Steps to reproduce the issue

Just install Xmake-io.Xmake from the source winget in WingetUI.

WingetUI Log

🟢 Waiting for install permission... title=XMake build utility, id=Xmake-io.Xmake, installId=1707210702.4758134
🔵 Given package: <Package: XMake build utility;Xmake-io.Xmake;2.8.6;Winget: winget;<wingetui.PackageEngine.Managers.winget.WingetPackageManager object at 0x000001DCDF272A90>;<wingetui.Interface.CustomWidgets.SpecificWidgets.PackageItem object at 0x000001DCEB980D40>>
🔵 Installation options: <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;CustomParameters=[];RemoveDataOnUninstall=False>
🔵 Found icon:  
🟡 Icon url empty
🟡 Icon xmake not found in json (KeyError)
🟡 Icon for Xmake-io.Xmake does not exist
🔵 Current program set to 1707210702.4758134
🟢 Have permission to install, starting installation threads...
🔵 Starting <Package: XMake build utility;Xmake-io.Xmake;2.8.6;Winget: winget;<wingetui.PackageEngine.Managers.winget.WingetPackageManager object at 0x000001DCDF272A90>;<wingetui.Interface.CustomWidgets.SpecificWidgets.PackageItem object at 0x000001DCEB980D40>> installation with Command ['C:\\Program Files\\WingetUI\\wingetui\\PackageEngine/Managers\\winget-cli_x64\\winget.exe', 'install', '--id', 'Xmake-io.Xmake', '--exact', '--accept-source-agreements', '--disable-interactivity', '--accept-package-agreements']
OverflowError
['Failed when searching source: msstore', 'An unexpected error occurred while executing the command:', '0x8a150044 : The rest source endpoint is not found.', 'The following packages were found among the working sources.', 'Please specify one of them using the --source option to proceed.', 'Name                Id             Source', '-----------------------------------------', 'XMake build utility Xmake-io.Xmake winget', '']

Package Managers Logs

Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a150044 : The rest source endpoint is not found.
The following packages were found among the working sources.
Please specify one of them using the --source option to proceed.
Name                Id             Source
-----------------------------------------
XMake build utility Xmake-io.Xmake winget

Relevant information

If I use winget install xmake directly in terminal, it can be installed successfully, and WingetUI will take it as a local software.

Screenshots and videos

图片

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions