rainyl / Flow.Launcher.Plugin.ClipboardR

A Flow Launcher Plugin which saves your clipboard activity.
Apache License 2.0
20 stars 4 forks source link

Flow launcher crash after pressing enter on a clipboard item #8

Closed Fantasy-programming closed 1 year ago

Fantasy-programming commented 1 year ago

Here is the Error:

Flow Launcher version: 1.15.0 OS Version: 22621.2134 IntPtr Length: 8 x64: True

Python Path: C:\Users\Fantasy\scoop\apps\python\current\python.exe Node Path: C:\Users\Fantasy\AppData\Roaming\FlowLauncher\Environments\Node.js\Node-v16.18.0\node-v16.18.0-win-x64\node.exe Date: 08/28/2023 03:25:45 Exception: System.MissingMethodException: Method not found: 'Boolean Flow.Launcher.Plugin.IPublicAPI.IsMainWindowVisible()'. at ClipboardR.ClipboardR.<>cDisplayClass23_0.<b2>d.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at ClipboardR.ClipboardR.<>cDisplayClass23_0.b2(ActionContext ) at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in //Flow.Launcher.Plugin/Result.cs:line 219 at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 277 at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask) at System.Threading.Tasks.Task.<>c.b__128_0(Object state) 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)

deefrawley commented 1 year ago

FYI latest version of Flow is v1.16.1

rainyl commented 1 year ago

@Fantasy-programming As deefrawley mentioned, the new API Flow.Launcher.Plugin.IPublicAPI.IsMainWindowVisible() used by latest ClipboardR is added in Flow.Launcher v1.16.0, so please update your Flow to v1.16.0 or newer, if it still crash please attach new logs.

Fantasy-programming commented 1 year ago

It fixed the problem, thanks for reaching out