Wox-launcher / Wox

A cross-platform launcher that simply works
http://wox-launcher.github.io/Wox/
GNU General Public License v3.0
24.34k stars 2.37k forks source link

wox got an error //when restart #2275

Closed skuld233 closed 4 years ago

skuld233 commented 5 years ago

Are you submitting a bug report?

yes

Steps to reproduce

  1. install several plugins through "wpm"
  2. restart wox
  3. it doesn't work

Wox Error Window text

Wox version: 1.3.524 OS Version: Microsoft Windows NT 10.0.17134.0 IntPtr Length: 8 x64: True

Python Path: D:\Coding\py\Python36\pythonw.exe Everything SDK Path: C:\Users\lenovo\AppData\Roaming\Wox\Settings\Plugins\Wox.Plugin.Everything\EverythingSDK\x64\Everything.dll Date: 12/01/2018 16:29:05 Exception: System.AggregateException: 发生一个或多个错误。 ---> System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\lenovo\AppData\Local\Wox\app-1.3.183\Plugins”的一部分。 在 System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileSystemEnumerableIterator1.CommonInit() 在 System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) 在 System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) 在 Wox.Plugins.PluginsList.Main.LoadPluginInfo(String path) 在 Wox.Plugins.PluginsList.Main.Init(PluginInitContext context) 在 Wox.Infrastructure.Stopwatch.Debug(String message, Action action) 位置 C:\projects\wox\Wox.Infrastructure\Stopwatch.cs:行号 19 在 Wox.Core.Plugin.PluginManager.<>c.b19_0(PluginPair pair) 位置 C:\projects\wox\Wox.Core\Plugin\PluginManager.cs:行号 101 在 System.Threading.Tasks.Parallel.<>cDisplayClass17_0`1.b1() 在 System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) 在 System.Threading.Tasks.Task.<>cDisplayClass176_0.b0(Object ) --- 内部异常堆栈跟踪的结尾 --- 在 System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) 在 System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) 在 System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) 在 System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) 在 System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action1 body) 在 Wox.Core.Plugin.PluginManager.InitializePlugins(IPublicAPI api) 位置 C:\projects\wox\Wox.Core\Plugin\PluginManager.cs:行号 91 在 Wox.App.<OnStartup>b__10_0() 位置 C:\projects\wox\Wox\App.xaml.cs:行号 60 在 Wox.Infrastructure.Stopwatch.Normal(String message, Action action) 位置 C:\projects\wox\Wox.Infrastructure\Stopwatch.cs:行号 31 在 System.Windows.Application.OnStartup(StartupEventArgs e) 在 System.Windows.Application.<.ctor>b__1_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ---> (内部异常 #0) System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\lenovo\AppData\Local\Wox\app-1.3.183\Plugins”的一部分。 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileSystemEnumerableIterator1.CommonInit() 在 System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler1 resultHandler, Boolean checkHost) 在 System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) 在 Wox.Plugins.PluginsList.Main.LoadPluginInfo(String path) 在 Wox.Plugins.PluginsList.Main.Init(PluginInitContext context) 在 Wox.Infrastructure.Stopwatch.Debug(String message, Action action) 位置 C:\projects\wox\Wox.Infrastructure\Stopwatch.cs:行号 19 在 Wox.Core.Plugin.PluginManager.<>c.b19_0(PluginPair pair) 位置 C:\projects\wox\Wox.Core\Plugin\PluginManager.cs:行号 101 在 System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b1() 在 System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) 在 System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---

Detailed logs

2018-12-01.txt

bao-qian commented 4 years ago

Please try new release https://github.com/Wox-launcher/Wox/releases If problem still exist, try reset by delete %APPDATA%Wox directory. Reopen if above method won't help.

ghost commented 4 years ago

still dosnt work