microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.9k stars 6.48k forks source link

[pt run] - System.IO.FileNotFoundException failure #6629

Closed xwg1984 closed 4 years ago

xwg1984 commented 4 years ago

ℹ Computer information

📝 Provide detailed reproduction steps (if any)

Version: 0.22.0.0 OS Version: Microsoft Windows NT 10.0.19041.0 IntPtr Length: 8 x64: True Date: 09/15/2020 14:06:44 Exception: System.IO.FileNotFoundException: C:\Users\xwg\Desktop\scrt-x64.8.7.3.2279.exe at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName) at Wox.Infrastructure.FileSystemHelper.FileVersionInfoWrapper.GetVersionInfo(String path) at Microsoft.Plugin.Program.Programs.Win32Program.ExeProgram(String path) at Microsoft.Plugin.Program.Programs.Win32Program.GetAppFromPath(String path) at Microsoft.Plugin.Program.Storage.Win32ProgramRepository.OnAppCreated(Object sender, FileSystemEventArgs e) at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(WatcherChangeTypes changeType, ReadOnlySpan`1 name) at System.IO.FileSystemWatcher.ParseEventBufferAndNotifyForEach(Byte[] buffer) at System.IO.FileSystemWatcher.ReadDirectoryChangesCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped overlappedPointer) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped pNativeOverlapped)

✔️ Expected result

What is the expected result of the above steps?

❌ Actual result

What is the actual result of the above steps?

📷 Screenshots

Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

crutkas commented 4 years ago

duplicate of #6425. We already have a fix and will be rolled out in 0.23 at the end of this month