microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
107.24k stars 6.32k forks source link

Message: Error status: UNKNOWN Program path: Path could not be determined #33688

Closed ilkerhalil closed 6 days ago

ilkerhalil commented 1 week ago

Microsoft PowerToys version

v.82.0

Installation method

Scoop

Running as admin

No

Area(s) with issue?

PowerToys Run

Steps to reproduce

Message: Error status: UNKNOWN Program path: Path could not be determined

✔️ Expected Behavior

.

❌ Actual Behavior

.

Other Software

No response

github-actions[bot] commented 1 week ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

ilkerhalil commented 1 week ago

[2024-07-06 00:16:57.8429] [ERROR] [C:\a_work\1\s\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\PackageWrapper.cs::56] -------------------------- Begin exception -------------------------- Message: Error status: UNKNOWN Program path: Path could not be determined Exception thrown in called method: Void g__Throw|39_0(Int32) Possible interpretation of the error: Exception Microsoft.ZuneVideo Possible resolution: Not yet known

Exception full name : System.ArgumentException Exception message : Value does not fall within the expected range. Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at ABI.Windows.ApplicationModel.IPackageMethods.get_InstalledLocation(IObjectReference _obj) at Microsoft.Plugin.Program.Programs.PackageWrapper.GetWrapperFromPackage(Package package) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147024809 -------------------------- End exception --------------------------

[2024-07-06 00:16:57.8777] [ERROR] [C:\a_work\1\s\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\PackageWrapper.cs::56] -------------------------- Begin exception -------------------------- Message: Error status: UNKNOWN Program path: Path could not be determined Exception thrown in called method: Void g__Throw|39_0(Int32) Possible interpretation of the error: Exception Microsoft.PowerAutomateDesktop Possible resolution: Not yet known

Exception full name : System.ArgumentException Exception message : Value does not fall within the expected range. Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at ABI.Windows.ApplicationModel.IPackageMethods.get_InstalledLocation(IObjectReference _obj) at Microsoft.Plugin.Program.Programs.PackageWrapper.GetWrapperFromPackage(Package package) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147024809 -------------------------- End exception --------------------------

[2024-07-06 00:16:57.8932] [ERROR] [C:\a_work\1\s\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\PackageWrapper.cs::56] -------------------------- Begin exception -------------------------- Message: Error status: UNKNOWN Program path: Path could not be determined Exception thrown in called method: Void g__Throw|39_0(Int32) Possible interpretation of the error: Exception Microsoft.PowerAutomateDesktop Possible resolution: Not yet known

Exception full name : System.ArgumentException Exception message : Value does not fall within the expected range. Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at ABI.Windows.ApplicationModel.IPackageMethods.get_InstalledLocation(IObjectReference _obj) at Microsoft.Plugin.Program.Programs.PackageWrapper.GetWrapperFromPackage(Package package) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147024809 -------------------------- End exception --------------------------

[2024-07-06 00:16:58.1776] [ERROR] [C:\a_work\1\s\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\PackageWrapper.cs::56] -------------------------- Begin exception -------------------------- Message: Error status: UNKNOWN Program path: Path could not be determined Exception thrown in called method: Void g__Throw|39_0(Int32) Possible interpretation of the error: Exception Microsoft.PowerAutomateDesktop Possible resolution: Not yet known

Exception full name : System.ArgumentException Exception message : Value does not fall within the expected range. Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at ABI.Windows.ApplicationModel.IPackageMethods.get_InstalledLocation(IObjectReference _obj) at Microsoft.Plugin.Program.Programs.PackageWrapper.GetWrapperFromPackage(Package package) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147024809 -------------------------- End exception --------------------------

[2024-07-06 00:16:58.1776] [ERROR] [C:\a_work\1\s\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\PackageWrapper.cs::56] -------------------------- Begin exception -------------------------- Message: Error status: UNKNOWN Program path: Path could not be determined Exception thrown in called method: Void g__Throw|39_0(Int32) Possible interpretation of the error: Exception Microsoft.PowerAutomateDesktop Possible resolution: Not yet known

Exception full name : System.ArgumentException Exception message : Value does not fall within the expected range. Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at ABI.Windows.ApplicationModel.IPackageMethods.get_InstalledLocation(IObjectReference _obj) at Microsoft.Plugin.Program.Programs.PackageWrapper.GetWrapperFromPackage(Package package) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147024809 -------------------------- End exception --------------------------

[2024-07-06 13:50:35.2387] [ERROR] [C:\a_work\1\s\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\PackageWrapper.cs::56] -------------------------- Begin exception -------------------------- Message: Error status: UNKNOWN Program path: Path could not be determined Exception thrown in called method: Void g__Throw|39_0(Int32) Possible interpretation of the error: Exception Microsoft.Winget.Source Possible resolution: Not yet known

Exception full name : System.ArgumentException Exception message : Value does not fall within the expected range. Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at ABI.Windows.ApplicationModel.IPackageMethods.get_InstalledLocation(IObjectReference _obj) at Microsoft.Plugin.Program.Programs.PackageWrapper.GetWrapperFromPackage(Package package) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147024809 -------------------------- End exception --------------------------

[2024-07-06 13:52:12.8861] [ERROR] [C:\a_work\1\s\src\modules\launcher\Plugins\Microsoft.Plugin.Program\Programs\PackageWrapper.cs::56] -------------------------- Begin exception -------------------------- Message: Error status: UNKNOWN Program path: Path could not be determined Exception thrown in called method: Void g__Throw|39_0(Int32) Possible interpretation of the error: Exception Microsoft.MicrosoftEdge.Stable Possible resolution: Not yet known

Exception full name : System.ArgumentException Exception message : Value does not fall within the expected range. Exception stack trace: at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr) at ABI.Windows.ApplicationModel.IPackageMethods.get_InstalledLocation(IObjectReference _obj) at Microsoft.Plugin.Program.Programs.PackageWrapper.GetWrapperFromPackage(Package package) Exception source : WinRT.Runtime Exception target site: Void g__Throw|39_0(Int32) Exception HResult : -2147024809 -------------------------- End exception --------------------------

[2024-07-06 13:53:25.9875] [INFO] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs::156] Reload environment: Updating environment variables for PT Run's process

[2024-07-06 13:53:25.9875] [WARN] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\Helper\EnvironmentHelper.cs::150] Skipping update of the environment variable [Path] for the PT Run process. This variable is listed as protected process variable and changing them can cause unexpected behavior. (The variable value has a length of [1366].)

[2024-07-06 13:53:25.9875] [WARN] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\Helper\EnvironmentHelper.cs::150] Skipping update of the environment variable [Path] for the PT Run process. This variable is listed as protected process variable and changing them can cause unexpected behavior. (The variable value has a length of [1366].)

[2024-07-06 13:53:25.9875] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] EnvironmentHelper.UpdateEnvironment - Duration cost <2ms>

[2024-07-06 13:53:32.1070] [INFO] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs::156] Reload environment: Updating environment variables for PT Run's process

[2024-07-06 13:53:32.1070] [WARN] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\Helper\EnvironmentHelper.cs::150] Skipping update of the environment variable [Path] for the PT Run process. This variable is listed as protected process variable and changing them can cause unexpected behavior. (The variable value has a length of [1411].)

[2024-07-06 13:53:32.1070] [WARN] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\Helper\EnvironmentHelper.cs::150] Skipping update of the environment variable [Path] for the PT Run process. This variable is listed as protected process variable and changing them can cause unexpected behavior. (The variable value has a length of [1411].)

[2024-07-06 13:53:32.1070] [INFO] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Stopwatch.cs::44] EnvironmentHelper.UpdateEnvironment - Duration cost <2ms>

[2024-07-06 13:53:42.6096] [ERROR] [C:\a_work\1\s\src\modules\launcher\Wox.Infrastructure\Storage\ListRepository`1.cs::54] Item Already Exists

[2024-07-06 13:54:37.3696] [INFO] [C:\a_work\1\s\src\modules\launcher\PowerLauncher\ViewModel\MainViewModel.cs::975] OnHotkey

[2024-07-06 13:54:37.4110] [FATAL]

Exception

System.ArgumentException: Value does not fall within the expected range.
   Source: Wox.Plugin
   TargetAssembly: Wox.Plugin, Version=0.82.0.0, Culture=neutral, PublicKeyToken=null
   TargetModule: Wox.Plugin.dll
   TargetSite: Int32 DwmSetWindowAttribute(IntPtr, Int32, UInt32 ByRef, Int32)
   at Wox.Plugin.Common.Win32.NativeMethods.DwmSetWindowAttribute(IntPtr hwnd, Int32 attr, UInt32& attrValue, Int32 attrSize)
   at PowerLauncher.ViewModel.MainViewModel.ToggleWox()
   at PowerLauncher.ViewModel.MainViewModel.<OnHotkey>b__147_0()
   at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.Invoke(Action callback)
   at PowerLauncher.ViewModel.MainViewModel.OnHotkey()
   at PowerLauncher.ViewModel.MainViewModel.ProcessHotKeyMessages(IntPtr wparam, IntPtr lparam)
   at PowerLauncher.MainWindow.ProcessWindowMessages(IntPtr hwnd, Int32 msg, IntPtr wparam, IntPtr lparam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Environment

Assemblies - PowerToys.PowerLauncher

crutkas commented 6 days ago

/dup #33504

microsoft-github-policy-service[bot] commented 6 days ago

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!