microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.64k stars 6.57k forks source link

PowerToys Run ran into an issue #21164

Closed Ahwar closed 1 year ago

Ahwar commented 2 years ago

Microsoft PowerToys version

0.62.1.0

Running as admin

Area(s) with issue?

PowerToys Run

Steps to reproduce

Whenever I start my Windows, the window of Powertoys opens with the title "PowerToys Run ran into an issue"

error statement

Version: 0.62.1.0
OS Version: Microsoft Windows NT 10.0.19044.0
IntPtr Length: 8
x64: True
Date: 11/10/2022 08:13:27
Exception:
System.BadImageFormatException: Could not load file or assembly 'Microsoft.Toolkit.Uwp.Notifications, Version=7.1.0.0, Culture=neutral, PublicKeyToken=4aff67a105548ee2'. Format of the executable (.exe) or library (.dll) is invalid.
File name: 'Microsoft.Toolkit.Uwp.Notifications, Version=7.1.0.0, Culture=neutral, PublicKeyToken=4aff67a105548ee2'
   at Wox.PublicAPIInstance..ctor(SettingWindowViewModel settingsVM, MainViewModel mainVM, ThemeManager themeManager)
   at PowerLauncher.App.<>c__DisplayClass18_0.<OnStartup>b__0()
   at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
   at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   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)

log file generated 2022-10-11.txt

✔️ Expected Behavior

I was not expecting anything, I just start the Windows, and this PowerToys should've started without giving any error.

❌ Actual Behavior

after starting my Windows, Powertoys just show error windows with the title "PowerToys Run ran into an issue"

Other Software

No response

jaimecbernardo commented 2 years ago

/bugreport

ghost commented 2 years ago

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

Ahwar commented 2 years ago

I have added the .zip file as you asked
But right after I faced the issue I upgraded the version to 0.63.0. and was not facing any issues after the upgrade.

PowerToysReport_2022-10-19-20-54-33.zip

crutkas commented 1 year ago

can you try and update to a new release (.69.1 or newer as the time of writing this)? This should have been resolved when we went self contained /needinfo

microsoft-github-policy-service[bot] commented 1 year ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

microsoft-github-policy-service[bot] commented 1 year ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

Ahwar commented 1 year ago

I don't have the same operating system installed anymore, so I cannot try it.