microsoft / PowerToys

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

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\PowerToys\modules\launcher\Plugins' #11198

Closed 3kids5cats closed 3 years ago

3kids5cats commented 3 years ago

Microsoft PowerToys version

0.35.0

Running as admin

Area(s) with issue?

Installer

Steps to reproduce

trying to upgrade

✔️ Expected Behavior

upgrade

❌ Actual Behavior

Fails

Version: 0.37.0.0 OS Version: Microsoft Windows NT 10.0.19042.0 IntPtr Length: 8 x64: True Date: 5/10/2021 6:44:34 PM Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\PowerToys\modules\launcher\Plugins'. at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator1.Init() at System.IO.Enumeration.FileSystemEnumerator1..ctor(String directory, Boolean isNormalized, EnumerationOptions options) 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) at System.IO.Abstractions.DirectoryWrapper.GetDirectories(String path) at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at PowerLauncher.Plugin.PluginConfig.ParsePluginConfigs(IEnumerable1 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) at PowerLauncher.App.<>c__DisplayClass14_0.b0() 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>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)

Other Software

No response

enricogior commented 3 years ago

@3kids5cats is PowerToys installed in C:\Program Files\PowerToys?

3kids5cats commented 3 years ago

yep....

On Wed, May 12, 2021 at 2:13 AM Enrico Giordani @.***> wrote:

@3kids5cats https://github.com/3kids5cats is PowerToys installed in C:\Program Files\PowerToys?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/11198#issuecomment-839486491, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBCPNEWUME6ZSE6VRQUC4DTNIMCLANCNFSM44S3GL2Q .

enricogior commented 3 years ago

@3kids5cats if you navigate to C:\Program Files\PowerToys\modules\launcher\Plugins the folder is there? Does the problem happen every time you restart PowerToys?

3kids5cats commented 3 years ago

Just looked, there is no plugins folder.. But power toys launches and operates fine, its when it says there is an update and tries to install that it fails with what I sent you

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, May 12, 2021 at 8:26 AM Enrico Giordani @.***> wrote:

@3kids5cats https://github.com/3kids5cats if you navigate to C:\Program Files\PowerToys\modules\launcher\Plugins the folder is there? Does the problem happen every time you restart PowerToys?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/11198#issuecomment-839729140, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBCPNC76JF2KR7IRBAZPD3TNJXX3ANCNFSM44S3GL2Q .

crutkas commented 3 years ago

@3kids5cats digging in here. the exception above is from PowerToys Run not being able to actually run due to the plugin folder being MIA. But you're saying the installer is failing?

What anti-virus does your machine run? Where did you get the installer?

ghost commented 3 years 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.