microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.03k stars 6.54k forks source link

Error starting Windows: Plugin: Program - fail to load and would be disabled #34216

Closed ic2ic2 closed 3 weeks ago

ic2ic2 commented 2 months ago

Microsoft PowerToys version

0.83

Installation method

GitHub

Running as admin

None

Area(s) with issue?

General

Steps to reproduce

Probably after a Windows update, after starting the PC I get an error box with this text:

Plugin: Program - fail to load and would be disabled, please contact plugin creator for help. I have updated to the latest, 0.83 version, without change. Deinstalling or reinstalling an older version 0.68 stops the problem.

How can I prevent this issue? PowerToysError1

✔️ Expected Behavior

That this error doesn't appear every time I start Windows

❌ Actual Behavior

The error appears every time I start Windows

Other Software

No response

davidegiacometti commented 2 months ago

Hi! Can you share a few recent PowerToys Run log files? It should contain useful information related to the error. %LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Logs\0.83.0.0

/needinfo

ic2ic2 commented 2 months ago

Hello Davide,

Origineel bericht van: Davide Giacometti @.>, aan: microsoft/PowerToys @., CC: ic2ic2 @.;Author @., onderwerp: Re: [microsoft/PowerToys] Error starting Windows: Plugin: Program - fail to load and would be disabled (Issue #34216), verzonden: 08-08-2024 17:03

Hi! Can you share a few recent PowerToys Run log files? It should contain useful information related to the error.

Thank you for the quick reaction!

Here's the log from directly after reinstalling version 83 again. The plugin exception is in the log indeed, I hope you can determine what is causing it. As far as I know I have done nothing weird; just installed it and switched on some of the options which are very useful

Best regards,

Dick van Kooten

IC2 Innovative Computer Consultancy IJsvogel 16 3362 KC SLIEDRECHT telephone(31)-(0)184-420384 internetwww.ic2.com KvK81219156

------------------------------------------------ DISCLAIMER ------------------------------------------------ Info & disclaimers www.ic2.com IC2, Sliedrecht/Holland. This mail has been made with iConnect Mail from IC2

------------------------------------------------ DISCLAIMER ------------------------------------------------ [2024-08-08 00:09:49.2449] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::206] Application.Current.SessionEnding [2024-08-08 00:09:49.2449] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::254] Start PowerToys Run Exit----------------------------------------------------
[2024-08-08 00:09:49.2598] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\QueryHistory.json> [2024-08-08 00:09:49.2598] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\UserSelectedRecord.json> [2024-08-08 00:09:49.2598] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\PowerToysRunSettings.json> [2024-08-08 00:09:49.2762] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Folder\FolderSettings.json> [2024-08-08 00:09:49.2762] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Indexer\IndexerSettings.json> [2024-08-08 00:09:49.2762] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Program\ProgramPluginSettings.json> [2024-08-08 00:09:49.2762] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json> [2024-08-08 00:09:49.2762] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Uri\UriSettings.json> [2024-08-08 00:09:49.2933] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\ImageCache.json> [2024-08-08 00:09:49.2933] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::265] End PowerToys Run Exit ---------------------------------------------------- [2024-08-08 00:09:49.2933] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] App.OnExit - Exit cost <55ms> [2024-08-08 00:09:49.3641] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::200] Application.Current.Exit [2024-08-08 09:18:01.3316] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::55] Starting PowerToys Run with PID=10592 [2024-08-08 09:18:01.3584] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::66] Runner pid=10048 [2024-08-08 09:18:03.5478] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::108] On Startup. [2024-08-08 09:18:04.1911] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] ImageLoader.Initialize - Preload images cost <10ms> [2024-08-08 09:18:04.1911] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Image\ImageLoader.cs::99] Number of preload images is <78>, Images Number: 2, Unique Items 2 [2024-08-08 09:18:04.3782] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] |Wox.Infrastructure.Alphabet.Initialize|Preload pinyin cache <134ms> [2024-08-08 09:18:04.3910] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Alphabet.cs::46] Number of preload pinyin combination<0> [2024-08-08 09:18:04.9704] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Calculator> is <1ms> [2024-08-08 09:18:05.0234] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Folder> is <22ms> [2024-08-08 09:18:05.0323] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <History> is <0ms> [2024-08-08 09:18:05.0642] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Indexer> is <1ms> [2024-08-08 09:18:05.0953] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <OneNote> is <0ms> [2024-08-08 09:18:05.1269] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <PowerToys> is <1ms> [2024-08-08 09:18:05.4068] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Program> is <258ms> [2024-08-08 09:18:05.4068] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Registry> is <0ms> [2024-08-08 09:18:05.4942] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Service> is <81ms> [2024-08-08 09:18:05.5484] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Shell> is <17ms> [2024-08-08 09:18:05.5718] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <System Commands> is <22ms> [2024-08-08 09:18:05.5801] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Time and date> is <0ms> [2024-08-08 09:18:05.5801] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Unit Converter> is <0ms> [2024-08-08 09:18:05.5801] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Uri Handler> is <5ms> [2024-08-08 09:18:05.5948] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <ValueGenerator> is <0ms> [2024-08-08 09:18:05.6118] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <VS Code Workspaces> is <1ms> [2024-08-08 09:18:05.6337] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Web Search> is <0ms> [2024-08-08 09:18:05.7209] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Settings> is <1ms> [2024-08-08 09:18:05.8190] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Terminal> is <83ms> [2024-08-08 09:18:05.8291] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Window Walker> is <0ms> [2024-08-08 09:18:06.4620] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\SettingsReader.cs::87] Successfully read new settings. retryCount=1 [2024-08-08 09:18:06.4620] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json> [2024-08-08 09:18:06.5034] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <0ms> [2024-08-08 09:18:06.5034] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <23ms> [2024-08-08 09:18:06.5034] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <0ms> [2024-08-08 09:18:06.5034] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for

Exception full name : System.Runtime.InteropServices.COMException Exception message : Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr) at WinRT.EventSource1.Subscribe(TDelegate del) at Windows.ApplicationModel.PackageCatalog.add_PackageInstalling(TypedEventHandler2 value) at Microsoft.Plugin.Program.Programs.PackageCatalogWrapper.add_PackageInstalling(TypedEventHandler`2 value) at Microsoft.Plugin.Program.Storage.PackageRepository..ctor(IPackageCatalog packageCatalog, PluginInitContext context) at Microsoft.Plugin.Program.Main.Init(PluginInitContext context) at Wox.Plugin.PluginPair.InitPlugin(IPublicAPI api) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147023838 -------------------------- End exception --------------------------

[2024-08-08 09:18:06.6441] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::1334] Refresh plugins overview [2024-08-08 09:18:06.6441] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::157] Begin PowerToys Run startup ---------------------------------------------------- Runtime info: Version: 0.83.0.0 OS Version: Microsoft Windows NT 10.0.19045.0 IntPtr Length: 8 x64: True End PowerToys Run startup ----------------------------------------------------

[2024-08-08 09:18:06.6441] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] App.OnStartup - Startup cost <3081ms> [2024-08-08 09:18:07.1079] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] EnvironmentHelper.GetProtectedEnvironmentVariables - Duration cost <0ms> [2024-08-08 09:18:07.1079] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::100] RegisterHotkey() [2024-08-08 09:18:07.1079] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::854] Set HotKey() [2024-08-08 09:18:07.1079] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::895] Registered global hotkey [2024-08-08 10:09:14.0320] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::97] Runner with pid=10048 exited. Exiting PowerToys Run [2024-08-08 10:09:14.0507] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\QueryHistory.json> [2024-08-08 10:09:14.0507] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\UserSelectedRecord.json> [2024-08-08 10:09:14.0713] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::200] Application.Current.Exit [2024-08-08 10:09:14.0713] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::254] Start PowerToys Run Exit----------------------------------------------------
[2024-08-08 10:09:14.0713] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\PowerToysRunSettings.json> [2024-08-08 10:09:14.0713] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Folder\FolderSettings.json> [2024-08-08 10:09:14.0713] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Indexer\IndexerSettings.json> [2024-08-08 10:09:14.0864] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Program\ProgramPluginSettings.json> [2024-08-08 10:09:14.0864] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json> [2024-08-08 10:09:14.0864] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Uri\UriSettings.json> [2024-08-08 10:09:14.0864] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\ImageCache.json> [2024-08-08 10:09:14.0864] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::265] End PowerToys Run Exit ---------------------------------------------------- [2024-08-08 10:09:14.0864] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] App.OnExit - Exit cost <28ms> [2024-08-08 10:34:15.1921] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::55] Starting PowerToys Run with PID=1320 [2024-08-08 10:34:15.2157] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::66] Runner pid=15784 [2024-08-08 10:34:15.7062] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::108] On Startup. [2024-08-08 10:34:16.0389] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] ImageLoader.Initialize - Preload images cost <5ms> [2024-08-08 10:34:16.0389] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Image\ImageLoader.cs::99] Number of preload images is <78>, Images Number: 2, Unique Items 2 [2024-08-08 10:34:16.1801] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] |Wox.Infrastructure.Alphabet.Initialize|Preload pinyin cache <98ms> [2024-08-08 10:34:16.1801] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Alphabet.cs::46] Number of preload pinyin combination<0> [2024-08-08 10:34:16.3926] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Calculator> is <2ms> [2024-08-08 10:34:16.4427] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Folder> is <45ms> [2024-08-08 10:34:16.4427] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <History> is <0ms> [2024-08-08 10:34:16.4546] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Indexer> is <1ms> [2024-08-08 10:34:16.4546] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <OneNote> is <0ms> [2024-08-08 10:34:16.4546] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <PowerToys> is <1ms> [2024-08-08 10:34:16.6538] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Program> is <182ms> [2024-08-08 10:34:16.6587] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Registry> is <0ms> [2024-08-08 10:34:16.7588] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Service> is <95ms> [2024-08-08 10:34:16.7796] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Shell> is <15ms> [2024-08-08 10:34:16.8229] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <System Commands> is <38ms> [2024-08-08 10:34:16.8229] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Time and date> is <0ms> [2024-08-08 10:34:16.8341] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Unit Converter> is <0ms> [2024-08-08 10:34:16.8341] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Uri Handler> is <7ms> [2024-08-08 10:34:16.8520] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <ValueGenerator> is <1ms> [2024-08-08 10:34:16.8520] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <VS Code Workspaces> is <2ms> [2024-08-08 10:34:16.8649] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Web Search> is <0ms> [2024-08-08 10:34:16.8649] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Settings> is <1ms> [2024-08-08 10:34:16.8875] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Terminal> is <13ms> [2024-08-08 10:34:16.8875] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Window Walker> is <0ms> [2024-08-08 10:34:17.3081] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\SettingsReader.cs::87] Successfully read new settings. retryCount=1 [2024-08-08 10:34:17.3129] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <15ms> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <0ms> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <0ms> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <95ms> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <1ms> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <1ms> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <0ms> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <0ms> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <3ms> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <39ms> [2024-08-08 10:34:17.3487] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for

Exception full name : System.Runtime.InteropServices.COMException Exception message : Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr) at WinRT.EventSource1.Subscribe(TDelegate del) at Windows.ApplicationModel.PackageCatalog.add_PackageInstalling(TypedEventHandler2 value) at Microsoft.Plugin.Program.Programs.PackageCatalogWrapper.add_PackageInstalling(TypedEventHandler`2 value) at Microsoft.Plugin.Program.Storage.PackageRepository..ctor(IPackageCatalog packageCatalog, PluginInitContext context) at Microsoft.Plugin.Program.Main.Init(PluginInitContext context) at Wox.Plugin.PluginPair.InitPlugin(IPublicAPI api) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147023838 -------------------------- End exception --------------------------

[2024-08-08 10:34:17.4551] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::1334] Refresh plugins overview [2024-08-08 10:34:17.4576] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::157] Begin PowerToys Run startup ---------------------------------------------------- Runtime info: Version: 0.83.0.0 OS Version: Microsoft Windows NT 10.0.19045.0 IntPtr Length: 8 x64: True End PowerToys Run startup ----------------------------------------------------

[2024-08-08 10:34:17.4576] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] App.OnStartup - Startup cost <1751ms> [2024-08-08 10:34:17.8244] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] EnvironmentHelper.GetProtectedEnvironmentVariables - Duration cost <1ms> [2024-08-08 10:34:17.8244] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::100] RegisterHotkey() [2024-08-08 10:34:17.8244] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::854] Set HotKey() [2024-08-08 10:34:17.8244] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::895] Registered global hotkey [2024-08-08 10:41:46.9782] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::206] Application.Current.SessionEnding [2024-08-08 10:41:46.9782] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::254] Start PowerToys Run Exit----------------------------------------------------
[2024-08-08 10:41:46.9782] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\QueryHistory.json> [2024-08-08 10:41:46.9854] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\UserSelectedRecord.json> [2024-08-08 10:41:46.9854] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\PowerToysRunSettings.json> [2024-08-08 10:41:46.9854] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Folder\FolderSettings.json> [2024-08-08 10:41:46.9854] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Indexer\IndexerSettings.json> [2024-08-08 10:41:47.0003] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Program\ProgramPluginSettings.json> [2024-08-08 10:41:47.0003] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json> [2024-08-08 10:41:47.0003] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Uri\UriSettings.json> [2024-08-08 10:41:47.0187] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\ImageCache.json> [2024-08-08 10:41:47.0187] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::265] End PowerToys Run Exit ---------------------------------------------------- [2024-08-08 10:41:47.0187] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] App.OnExit - Exit cost <45ms> [2024-08-08 10:41:47.0646] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::200] Application.Current.Exit [2024-08-08 10:42:33.7986] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::55] Starting PowerToys Run with PID=12516 [2024-08-08 10:42:33.8206] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::66] Runner pid=9912 [2024-08-08 10:42:34.4334] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::108] On Startup. [2024-08-08 10:42:34.8907] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] ImageLoader.Initialize - Preload images cost <4ms> [2024-08-08 10:42:34.8907] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Image\ImageLoader.cs::99] Number of preload images is <78>, Images Number: 2, Unique Items 2 [2024-08-08 10:42:35.0018] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] |Wox.Infrastructure.Alphabet.Initialize|Preload pinyin cache <76ms> [2024-08-08 10:42:35.0018] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Alphabet.cs::46] Number of preload pinyin combination<0> [2024-08-08 10:42:35.3389] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Calculator> is <1ms> [2024-08-08 10:42:35.3961] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Folder> is <50ms> [2024-08-08 10:42:35.3961] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <History> is <0ms> [2024-08-08 10:42:35.4279] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Indexer> is <1ms> [2024-08-08 10:42:35.4279] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <OneNote> is <0ms> [2024-08-08 10:42:35.4279] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <PowerToys> is <1ms> [2024-08-08 10:42:35.7390] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Program> is <306ms> [2024-08-08 10:42:35.7390] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Registry> is <0ms> [2024-08-08 10:42:35.8332] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Service> is <83ms> [2024-08-08 10:42:35.8537] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Shell> is <14ms> [2024-08-08 10:42:35.9001] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <System Commands> is <21ms> [2024-08-08 10:42:35.9274] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Time and date> is <0ms> [2024-08-08 10:42:35.9430] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Unit Converter> is <0ms> [2024-08-08 10:42:35.9430] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Uri Handler> is <10ms> [2024-08-08 10:42:35.9430] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <ValueGenerator> is <0ms> [2024-08-08 10:42:35.9589] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <VS Code Workspaces> is <2ms> [2024-08-08 10:42:35.9589] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Web Search> is <0ms> [2024-08-08 10:42:36.0495] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Settings> is <1ms> [2024-08-08 10:42:36.1054] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Terminal> is <53ms> [2024-08-08 10:42:36.1345] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Window Walker> is <0ms> [2024-08-08 10:42:36.7203] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\SettingsReader.cs::87] Successfully read new settings. retryCount=1 [2024-08-08 10:42:36.7252] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json> [2024-08-08 10:42:36.7548] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for

Exception full name : System.Runtime.InteropServices.COMException Exception message : Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr) at WinRT.EventSource1.Subscribe(TDelegate del) at Windows.ApplicationModel.PackageCatalog.add_PackageInstalling(TypedEventHandler2 value) at Microsoft.Plugin.Program.Programs.PackageCatalogWrapper.add_PackageInstalling(TypedEventHandler`2 value) at Microsoft.Plugin.Program.Storage.PackageRepository..ctor(IPackageCatalog packageCatalog, PluginInitContext context) at Microsoft.Plugin.Program.Main.Init(PluginInitContext context) at Wox.Plugin.PluginPair.InitPlugin(IPublicAPI api) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147023838 -------------------------- End exception --------------------------

[2024-08-08 10:42:36.8592] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::1334] Refresh plugins overview [2024-08-08 10:42:36.8592] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::157] Begin PowerToys Run startup ---------------------------------------------------- Runtime info: Version: 0.83.0.0 OS Version: Microsoft Windows NT 10.0.19045.0 IntPtr Length: 8 x64: True End PowerToys Run startup ----------------------------------------------------

[2024-08-08 10:42:36.8592] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] App.OnStartup - Startup cost <2428ms> [2024-08-08 10:42:37.3227] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] EnvironmentHelper.GetProtectedEnvironmentVariables - Duration cost <11ms> [2024-08-08 10:42:37.3227] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::100] RegisterHotkey() [2024-08-08 10:42:37.3252] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::854] Set HotKey() [2024-08-08 10:42:37.3252] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::895] Registered global hotkey [2024-08-08 10:43:06.2761] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::97] Runner with pid=9912 exited. Exiting PowerToys Run [2024-08-08 10:43:06.2761] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\QueryHistory.json> [2024-08-08 10:43:06.2761] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\UserSelectedRecord.json> [2024-08-08 10:43:06.2908] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::200] Application.Current.Exit [2024-08-08 10:43:06.2908] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::254] Start PowerToys Run Exit----------------------------------------------------
[2024-08-08 10:43:06.2908] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\PowerToysRunSettings.json> [2024-08-08 10:43:06.2908] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Folder\FolderSettings.json> [2024-08-08 10:43:06.2908] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Indexer\IndexerSettings.json> [2024-08-08 10:43:06.2908] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Program\ProgramPluginSettings.json> [2024-08-08 10:43:06.2908] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json> [2024-08-08 10:43:06.2908] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Uri\UriSettings.json> [2024-08-08 10:43:06.3099] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\ImageCache.json> [2024-08-08 10:43:06.3099] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::265] End PowerToys Run Exit ---------------------------------------------------- [2024-08-08 10:43:06.3099] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] App.OnExit - Exit cost <21ms> [2024-08-08 22:50:13.7426] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::55] Starting PowerToys Run with PID=18492 [2024-08-08 22:50:13.7654] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::66] Runner pid=17904 [2024-08-08 22:50:14.2228] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::108] On Startup. [2024-08-08 22:50:14.5128] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] ImageLoader.Initialize - Preload images cost <5ms> [2024-08-08 22:50:14.5128] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Image\ImageLoader.cs::99] Number of preload images is <78>, Images Number: 2, Unique Items 2 [2024-08-08 22:50:14.6501] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] |Wox.Infrastructure.Alphabet.Initialize|Preload pinyin cache <101ms> [2024-08-08 22:50:14.6501] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Alphabet.cs::46] Number of preload pinyin combination<0> [2024-08-08 22:50:14.8059] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Calculator> is <1ms> [2024-08-08 22:50:14.8426] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Folder> is <32ms> [2024-08-08 22:50:14.8426] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <History> is <0ms> [2024-08-08 22:50:14.8426] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Indexer> is <1ms> [2024-08-08 22:50:14.8569] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <OneNote> is <0ms> [2024-08-08 22:50:14.8569] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <PowerToys> is <2ms> [2024-08-08 22:50:15.0587] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Program> is <189ms> [2024-08-08 22:50:15.0587] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Registry> is <1ms> [2024-08-08 22:50:15.1955] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Service> is <126ms> [2024-08-08 22:50:15.2145] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Shell> is <14ms> [2024-08-08 22:50:15.2524] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <System Commands> is <33ms> [2024-08-08 22:50:15.2589] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Time and date> is <1ms> [2024-08-08 22:50:15.2589] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Unit Converter> is <0ms> [2024-08-08 22:50:15.2775] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Uri Handler> is <9ms> [2024-08-08 22:50:15.2775] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <ValueGenerator> is <0ms> [2024-08-08 22:50:15.2906] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <VS Code Workspaces> is <2ms> [2024-08-08 22:50:15.2906] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Web Search> is <0ms> [2024-08-08 22:50:15.2906] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Settings> is <1ms> [2024-08-08 22:50:15.3211] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Windows Terminal> is <13ms> [2024-08-08 22:50:15.3262] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::144] Load cost for <Window Walker> is <1ms> [2024-08-08 22:50:15.7735] [INFO] [D:\a\_work\1\s\src\modules\launcher\PowerLauncher\SettingsReader.cs::87] Successfully read new settings. retryCount=1 [2024-08-08 22:50:15.7795] [INFO] [D:\a\_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\JsonStorage1.cs::139] Saving cached data at <C:\Users\Dick\AppData\Local\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\ShellPluginSettings.json> [2024-08-08 22:50:15.8106] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <0ms> [2024-08-08 22:50:15.8106] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <14ms> [2024-08-08 22:50:15.8106] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <126ms> [2024-08-08 22:50:15.8106] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for is <0ms> [2024-08-08 22:50:15.8106] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::56] Total initialize cost for

Exception full name : System.Runtime.InteropServices.COMException Exception message : Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr) at WinRT.EventSource1.Subscribe(TDelegate del) at Windows.ApplicationModel.PackageCatalog.add_PackageInstalling(TypedEventHandler2 value) at Microsoft.Plugin.Program.Programs.PackageCatalogWrapper.add_PackageInstalling(TypedEventHandler`2 value) at Microsoft.Plugin.Program.Storage.PackageRepository..ctor(IPackageCatalog packageCatalog, PluginInitContext context) at Microsoft.Plugin.Program.Main.Init(PluginInitContext context) at Wox.Plugin.PluginPair.InitPlugin(IPublicAPI api) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147023838 -------------------------- End exception --------------------------

[2024-08-08 22:50:15.9139] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::1334] Refresh plugins overview [2024-08-08 22:50:15.9164] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\App.xaml.cs::157] Begin PowerToys Run startup ---------------------------------------------------- Runtime info: Version: 0.83.0.0 OS Version: Microsoft Windows NT 10.0.19045.0 IntPtr Length: 8 x64: True End PowerToys Run startup ----------------------------------------------------

[2024-08-08 22:50:15.9164] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] App.OnStartup - Startup cost <1693ms> [2024-08-08 22:50:15.9164] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs::88] Send Run settings telemetry [2024-08-08 22:50:16.3296] [INFO] [D:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] EnvironmentHelper.GetProtectedEnvironmentVariables - Duration cost <0ms> [2024-08-08 22:50:16.3296] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::100] RegisterHotkey() [2024-08-08 22:50:16.3296] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::854] Set HotKey() [2024-08-08 22:50:16.3296] [INFO] [D:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::895] Registered global hotkey

davidegiacometti commented 2 months ago

Hi, email attachments don't appear here. You need to drag and drop the logs in the answer here on GitHub.

ic2ic2 commented 2 months ago

Ok - here's the log attached to this message.

PowerToyslog_2024-08-08.txt

davidegiacometti commented 2 months ago
[2024-08-08 09:18:06.6441] [ERROR] [D:\a\_work\1\s\src\modules\launcher\Wox.Plugin\PluginPair.cs::239]
-------------------------- Begin exception --------------------------
Message: Fail to Init plugin: Program

Exception full name  : System.Runtime.InteropServices.COMException
Exception message    : 
Exception stack trace:
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
   at WinRT.EventSource`1.Subscribe(TDelegate del)
   at Windows.ApplicationModel.PackageCatalog.add_PackageInstalling(TypedEventHandler`2 value)
   at Microsoft.Plugin.Program.Programs.PackageCatalogWrapper.add_PackageInstalling(TypedEventHandler`2 value)
   at Microsoft.Plugin.Program.Storage.PackageRepository..ctor(IPackageCatalog packageCatalog, PluginInitContext context)
   at Microsoft.Plugin.Program.Main.Init(PluginInitContext context)
   at Wox.Plugin.PluginPair.InitPlugin(IPublicAPI api)
Exception source     : WinRT.Runtime
Exception target site: Void <ThrowExceptionForHR>g__Throw|39_0(Int32)
Exception HResult    : -2147023838
-------------------------- End exception --------------------------

Unfortunately the error doesn't give so many info: -2147023838 -> 0x80070422 -> ERROR_SERVICE_DISABLED Something is not working with the code to read packaged apps installed from the Store.

ic2ic2 commented 2 months ago

Hello Davide, What kind of packages from the Store that PowerToys need are we talking about? I don't think I changed anything in any Store app. What could I try to get rid of this error? Like reinstalling something? Uninstalling and reinstalling PowerToys itself didn't help.

davidegiacometti commented 2 months ago

It's hard to determine what's going on here. The cause may be external to PowerToys. Xref #19845

ic2ic2 commented 2 months ago

It's great that I got a reaction. But unfortunately, as with all products marked 'Microsoft', everything tends to get worse after updates and issues are never solved. I found this issue also as 19845, 2 years ago. One user solved it by completely removing the "PT" Program Files subdirectory but that didn't fix the issue for me.

I know (as a software developer) that it's often hard to determine what is going on. But then I try to find that out. E.g.: I assume this error can be found somewhere in the program? So why simply stop giving this dialog as the error doesn't give any information what is going on anyway? I would be fine with that. Otherwise: extend the error with more information about which plugin failed to load so the end user has at least a chance to solve it.

It's very unprofessional that a tool starts showing an error with every Pc restart and no attempt is made to solve it in 2 years.

GhostVaibhav commented 2 months ago

Hi @ic2ic2, can you try running Powertoys as admin?

ic2ic2 commented 2 months ago

Hi @ic2ic2, can you try running Powertoys as admin?

Hello GhostVaibhav,

I solved the issue! I'll explain how and what causes it.

First I tried to find out where PowerToys autostarts from. I could not find a Run option in the registry (for PowerLauncher.exe I expect) not an entry in the Task Manager. I think it is a process in the Task Scheduler although it says under "Last run results) that the task has not been executed where it is. But I found an option to directly click Restart PowerToys as administrator in the General section of the PowerToys Settings. And I checked the option Always run as administrator. Also I disabled every option from the Dashboard I did not use. After restarting the error stayed away, so I tried if it would return if I again unchecked Always run as administrator. But it didn't. As the admin mode seems to be able to cause some issues, it is better to not use it so I started to add the switched off options group by group. And then, on enabling PowerToys Run, see picture, the error immediately appeared again.

PowerToysRun

So the problem is caused by PowerToys Run. With all options enabled except this one, and not even starting in admin mode, the error stays away. I see that there's a section Plugins within this option which are then handled by PowerToys. No doubt a plugin added to the list and set to On isn't actually there or something.

For now I can do without the whole option. But it would be good if the developers could extend the above message by simply telling which plugin did not load, together with the recommendation to go to Power Toys Run and disable it there. I think that would help quite a few users as I am not the only one who had this issue. And if I may say so, I would expect the developers to link the error message to this PowerToys Run option, which is (party) all about handling plugins, and suggest me to check that setting. But that didn't happen.

Anyhow, thanks GhostVaibhav for your suggestion I found the right direction to solve this.

GhostVaibhav commented 2 months ago

Hi @ic2ic2, thanks for getting back. I've some quick updates on the issue that you are facing. Also, a little heads-up of what happened.

  1. This issue is already tagged with the Powertoys Run tag, so it was Run causing the problems all along.
  2. For which plugin in Run is causing the error, you can see that in the original error message (i.e. the Program plugin).
  3. The error is most probably the plugin not having access to read the start menu. When you switch to admin, that access is resolved and everything works just fine.

I think for the time being, you can switch off the plugins in the Powertoys Run that is causing this kind of error (You can have a look at them in the error dialog box) and continue using the tool as intended.

ic2ic2 commented 2 months ago

Hello GhostVaibhav,

Thanks for the further reply; I've got the following remarks:

1 I see the tag and recognize it now. But why did Davide tag it as such but not simply explain that I had to disable the plugin called "Program" in the dashboard option "Power Toys Run"? Because that solves it and both "Power toys Run" and "Program" are pretty generic words in a program which I did not at all associate with options in the program. Now I spent quite some time finding this out. With the reply "It's hard to determine what's going on here" my conclusion was that there was no clue about what caused it. ... I now think Davide may have meant not knowing why that specific plugin didn't work but I did not care about the ground reason at all; I just wanted to get rid of a daily error to click Ok on. Which is now finally the case :)

2 I get the same error when I enable the option in Admin mode. But I can run it as normal user with Power toys Run" enabled and 'Program' disabled in the plugin list and then it works too. Until I found a advantage of using the option I will keep it disabled anyhow.

davidegiacometti commented 2 months ago

Hi @ic2ic2

I now think Davide may have meant not knowing why that specific plugin didn't work but I did not care about the ground reason at all

Sorry for the confusion.. I knew that the error was caused by the Program plugin of PowerToys Run 😓

We definitely need to improve these dialogues!

Unfortunately running PowerToys as administrator doesn't help since Run is always executed as user.

ic2ic2 commented 2 months ago

Hello Davide, No worries. I'm glad it's solved and acknowledged that the dialogues should (and will) be improved. Both the error window and the above dialogue haha.

Thanks.