Wox-launcher / Wox

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

[Runner] buggy #747

Closed taolive closed 8 years ago

taolive commented 8 years ago

无法使用Wox.Plugin.Runne 插件,错误见截图及log日志 1

-----------异常日志------------------- 2016-06-09 22:35:33.1056|ERROR|Wox.App+<>c.b13_0|First Chance Exception: 2016-06-09 22:35:33.1056|ERROR|System.RuntimeMethodHandle.InvokeMethod|调用的目标发生了异常。 2016-06-09 22:35:33.1126|ERROR|System.RuntimeMethodHandle.InvokeMethod| 在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 2016-06-09 22:35:33.1126|ERROR|System.RuntimeMethodHandle.InvokeMethod|找不到方法:“Void Wox.Plugin.IPublicAPI.ReloadPlugins()”。 2016-06-09 22:35:33.1126|ERROR|System.RuntimeMethodHandle.InvokeMethod| 在 Wox.Plugin.Runner.Settings.RunnerSettingsViewModel.b5() 2016-06-09 22:35:33.1126|FATAL|Wox.Helper.ErrorReporting.Report|

Exception

System.MissingMethodException: 找不到方法:“Void Wox.Plugin.IPublicAPI.ReloadPlugins()”。
   Source: Wox.Plugin.Runner
   TargetAssembly: Wox.Plugin.Runner, Version=1.0.5.0, Culture=neutral, PublicKeyToken=null
   TargetModule: Wox.Plugin.Runner.dll
   TargetSite: Void <get_SaveChanges>b__5()
   在 Wox.Plugin.Runner.Settings.RunnerSettingsViewModel.<get_SaveChanges>b__5()

System.Reflection.TargetInvocationException: 调用的目标发生了异常。
   Source: mscorlib
   TargetAssembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
   TargetModule: CommonLanguageRuntimeLibrary
   TargetSite: System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   在 GalaSoft.MvvmLight.Helpers.WeakAction.Execute()
   在 GalaSoft.MvvmLight.Command.RelayCommand.Execute(Object parameter)
   在 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   在 System.Windows.Controls.Primitives.ButtonBase.OnClick()
   在 System.Windows.Controls.Button.OnClick()
   在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 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)

Environment

NickCraver commented 8 years ago

Dupe of #714

bao-qian commented 8 years ago

@taolive @NickCraver Fixed now, update it with wpm install Wox.Plugin.Runner