Failed to open the predefined source; please report to winger maintainers + This file does not have an app associated with it #5177
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Brief description of your issue
Bit of a two-in-one here, ran into some peculiar errors while running tests on a script of mine in a VM. They came in quick succession, which makes me wonder if they might be related somehow. The first error was pretty direct—while iterating through a loop through a loop of packages to install, winget returned with an error on the last element of the array. 0x80071130
![Image](https://private-user-images.githubusercontent.com/160550426/409348997-65fba6ca-084a-48a2-a160-ad2bc9a850e9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MTQ2NjYsIm5iZiI6MTczOTQxNDM2NiwicGF0aCI6Ii8xNjA1NTA0MjYvNDA5MzQ4OTk3LTY1ZmJhNmNhLTA4NGEtNDhhMi1hMTYwLWFkMmJjOWE4NTBlOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QwMjM5MjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mYzM3MDQyZjhhZmEzNGQzOGJlMGY2NTIwYjc4NTgxOGQ1M2Y4ZDc5MzhiYTJlODZkNDJhMjZkZjQ4Yjk4MWM0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.YQLxtU-7jeQ9khHm1KbztoUk6Jn1FalQojm8Vx2tJpc)
![Image](https://private-user-images.githubusercontent.com/160550426/409349535-1b564596-f40d-484d-9c8b-2c2d6fb9b02b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MTQ2NjYsIm5iZiI6MTczOTQxNDM2NiwicGF0aCI6Ii8xNjA1NTA0MjYvNDA5MzQ5NTM1LTFiNTY0NTk2LWY0MGQtNDg0ZC05YzhiLTJjMmQ2ZmI5YjAyYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QwMjM5MjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yM2IzMGUzN2JjMzQ4NThkNDQ2NGFkMDgzMjVjYTAwOGRjNTc3ZjUyYjc4NzAwMjhkZmI3NTk3MjZjN2E4YmYxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.MxKvtsku_OcVzH2xetonFJvfrc3e_KMsIfsdDD5m6t4)
Shortly thereafter, I got an error trying to open a shortcut with a winget command.
This second error is somewhat reminiscent of other errors I've gotten a few times, where the winget command was "not recognized"; but I can't confirm they're the same due to the different output formats (command line vs dialogue box).
Steps to reproduce
I can't give much info on how to reliably reproduce this, since it's happened just once out of many unchanged (in this dimension) tests. But I can give my setup:
Windows 11 Pro 24H2 en-GB ISO running in VMware Workstation Pro
And some of my script:
*Double hashes represent added comments for the report
And I can also add the fact I was running
Install-Language
as a job in the background during this, on the off chance it's relevant.Expected behavior
Winget should install the packages and not return errors
Actual behavior
Winget returns errors and does not install the packages
Environment
Windows: Windows.Desktop v10.0.26100.1742 System Architecture: X64 Package: Microsoft.DesktopAppInstaller v1.21.10120.0 Unfortunately I cannot share any logs, as I've already reset the VM to continue testing the script. My apologies for this oversight.
The text was updated successfully, but these errors were encountered: