microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.39k stars 6.56k forks source link

PowerToys Run ran into an issue #35284

Closed Junior4731 closed 3 weeks ago

Junior4731 commented 1 month ago

Microsoft PowerToys version

0.84.1.10

Installation method

GitHub

Running as admin

No

Area(s) with issue?

General, Awake, FancyZones

Steps to reproduce

Version: 0.84.1.0 OS Version: Microsoft Windows NT 10.0.22631.0 IntPtr Length: 8 x64: True Date: 10/6/2024 9:39:31 PM Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\RunPlugins'. at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator1.Init() at System.IO.Enumeration.FileSystemEnumerable1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized) at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories(String directory, String expression, EnumerationOptions options) at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) at System.IO.Directory.GetDirectories(String path, String searchPattern, EnumerationOptions enumerationOptions) at System.IO.Abstractions.DirectoryWrapper.GetDirectories(String path) at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at PowerLauncher.Plugin.PluginConfig.ParsePluginConfigs(IEnumerable`1 directories) at PowerLauncher.Plugin.PluginConfig.Parse(String[] pluginDirectories) at PowerLauncher.Plugin.PluginManager.get_AllPlugins() at PowerLauncher.Plugin.PluginManager.GetPluginsForInterface[T]() at PowerLauncher.ViewModel.MainViewModel.RegisterResultsUpdatedEvent() at PowerLauncher.ViewModel.MainViewModel..ctor(PowerToysRunSettings settings, CancellationToken nativeThreadCancelToken) at PowerLauncher.App.<>c__DisplayClass19_0.b0() at Wox.Infrastructure.Stopwatch.Normal(String message, Action action) at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e) at System.Windows.Application.<.ctor>b1_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)

✔️ Expected Behavior

I dont recall why i installed it for but once my PC is all powered up and running, this error message message pops up. I thought about uninstalling it but i think its best to check exactly what im removing before making a mistake that can be a pain later down the road for whatever reason.

❌ Actual Behavior

No response

Other Software

Version: 0.84.1.0 OS Version: Microsoft Windows NT 10.0.22631.0 IntPtr Length: 8 x64: True Date: 10/6/2024 9:39:31 PM Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\RunPlugins'. at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator1.Init() at System.IO.Enumeration.FileSystemEnumerable1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized) at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories(String directory, String expression, EnumerationOptions options) at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) at System.IO.Directory.GetDirectories(String path, String searchPattern, EnumerationOptions enumerationOptions) at System.IO.Abstractions.DirectoryWrapper.GetDirectories(String path) at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at PowerLauncher.Plugin.PluginConfig.ParsePluginConfigs(IEnumerable`1 directories) at PowerLauncher.Plugin.PluginConfig.Parse(String[] pluginDirectories) at PowerLauncher.Plugin.PluginManager.get_AllPlugins() at PowerLauncher.Plugin.PluginManager.GetPluginsForInterface[T]() at PowerLauncher.ViewModel.MainViewModel.RegisterResultsUpdatedEvent() at PowerLauncher.ViewModel.MainViewModel..ctor(PowerToysRunSettings settings, CancellationToken nativeThreadCancelToken) at PowerLauncher.App.<>c__DisplayClass19_0.b0() at Wox.Infrastructure.Stopwatch.Normal(String message, Action action) at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e) at System.Windows.Application.<.ctor>b1_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)

crutkas commented 1 month ago

You have something set to "D:\RunPlugins'" for PowerToys Run.

/reportbug as that is a very unique path to be referencing

microsoft-github-policy-service[bot] commented 1 month 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

microsoft-github-policy-service[bot] commented 4 weeks 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.