BUG: Default Plugins Exception After Updating
Checks
-
[x] I have checked that this issue has not already been reported.
-
[x] I am using the latest version of Flow Launcher.
Problem Description
Hello, today I tried to update a bunch of plugins for Flow Launcher by pm update command and I've got an error of Explorer plugin:
Everything Search Exception:
Flow.Launcher.Plugin.Explorer.Exceptions.SearchException: Method not found: 'Void PreviewInfo.set_FilePath(System.String)'.
---> System.MissingMethodException: Method not found: 'Void PreviewInfo.set_FilePath(System.String)'.
at Flow.Launcher.Plugin.Explorer.Search.ResultManager.CreateFolderResult(String title, String subtitle, String path, Query query, Int32 score, Boolean windowsIndexed)
at Flow.Launcher.Plugin.Explorer.Search.ResultManager.CreateResult(Query query, SearchResult result) in D:\a\Flow.Launcher\Flow.Launcher\Plugins\Flow.Launcher.Plugin.Explorer\Search\ResultManager.cs:line 67
at Flow.Launcher.Plugin.Explorer.Search.SearchManager.SearchAsync(Query query, CancellationToken token) in D:\a\Flow.Launcher\Flow.Launcher\Plugins\Flow.Launcher.Plugin.Explorer\Search\SearchManager.cs:line 116
at Flow.Launcher.Plugin.Explorer.Search.SearchManager.SearchAsync(Query query, CancellationToken token) in D:\a\Flow.Launcher\Flow.Launcher\Plugins\Flow.Launcher.Plugin.Explorer\Search\SearchManager.cs:line 112
--- End of inner exception stack trace ---
at Flow.Launcher.Plugin.Explorer.Search.SearchManager.SearchAsync(Query query, CancellationToken token) in D:\a\Flow.Launcher\Flow.Launcher\Plugins\Flow.Launcher.Plugin.Explorer\Search\SearchManager.cs:line 129
at Flow.Launcher.Plugin.Explorer.Main.QueryAsync(Query query, CancellationToken token) in D:\a\Flow.Launcher\Flow.Launcher\Plugins\Flow.Launcher.Plugin.Explorer\Main.cs:line 62
When I tried to reinstall Explorer plugin by Plugin Manager, I've got the exception message:
Flow Launcher version: 1.18.0
OS Version: 22631.3958
IntPtr Length: 8
x64: True
Python Path: C:\Users\mossadforsale\software\FlowLauncher\app-1.18.0\UserData\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
Node Path: C:\Users\mossadforsale\software\FlowLauncher\app-1.18.0\UserData\Environments\Node.js\Node-v16.18.0\node-v16.18.0-win-x64\node.exe
Date: 08/14/2024 12:33:09
Exception:
Plugins Manager Exception:
Websites: https://github.com/Flow-Launcher/Flow.Launcher
Author: Jeremy Wu
Version: 3.2.0
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Method not found: 'Boolean Flow.Launcher.Plugin.SharedCommands.FilesFolders.IsZipFilePath(System.String, Boolean)'.
---> System.MissingMethodException: Method not found: 'Boolean Flow.Launcher.Plugin.SharedCommands.FilesFolders.IsZipFilePath(System.String, Boolean)'.
at Flow.Launcher.Plugin.PluginsManager.PluginsManager.RequestInstallOrUpdate(String search, CancellationToken token, Boolean usePrimaryUrlOnly)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Flow.Launcher.Plugin.PluginsManager.PluginsManager.RequestInstallOrUpdate(String search, CancellationToken token, Boolean usePrimaryUrlOnly)
at Flow.Launcher.Plugin.PluginsManager.Main.QueryAsync(Query query, CancellationToken token) in D:\a\Flow.Launcher\Flow.Launcher\Plugins\Flow.Launcher.Plugin.PluginsManager\Main.cs:line 51
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 196
--- End of stack trace from previous location ---
at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 195
--- End of inner exception stack trace ---
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_1.<QueryForPluginAsync>b__1(ActionContext _) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 224
at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in /_/Flow.Launcher.Plugin/Result.cs:line 246
at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 307
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>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)
Also I attach a log file.
To Reproduce
- See Description section.
Screenshots
No response
Flow Launcher Version
1.18
Windows Build Number
22631.3958
Error Log
Are you using the regular or portable version of Flow?
I'm also having this problem - using the desktop version. Not portable.
Got same issue on Flow Launcher 1.18.0 portable version.
pm update Explorer will break Explorer Plugin, and pm update Plugins Manager will break itself.
- Plugins Manager: 3.1.1 to 3.2.0
- Explorer: 3.1.6 to 3.2.0
Are you using the regular or portable version of Flow?
portable
Yeah I'm getting this too since updating.
I'm having the same issue on desktop version. Explorer plugin 3.2.0
How to downgrade the plugin???
Same issue:
Flow Launcher: 1.18.0 portable version. Plugins Manager: 3.2.0 Explorer: 3.2.0
For those who want to downgrade to the previous version for the time being, download Explorer v3.1.6 zip from here.
First Close Flow Launcher from the task manager (All procesess should be terminated)
For Regular users:
1)Go to C:\Users\{User_name}\AppData\Local\FlowLauncher\app-1.18.0\Plugins Delete Explorer-3.2.0 and create a new folder Explorer-3.1.6
2)Transfer/Extract all the 'contents' of the zip file to the newly created folder Explorer-3.1.6
For Portable users:
1)Locate the FlowLauncher\app-1.18.0\Plugins and delete FlowLauncher.Plugin.Explorer and extract the zip file in the same directory
Now start the flow launcher again from the start menu You can do the same for plugins manager too. Download zip v 3.1.1 from here.
You can install with pm install <url of zip> directly.
You can install with
pm install <url of zip>directly.
The manager itself seems to be broken
My apologies everyone, I bumped the Explorer plugin in the dev branch as part of the new release and it appears you updated to the latest Explorer version before I was able to finalise the 1.19.0 release. The updated Explorer plugin actually depends on parts of the Plugin API that is not released yet and that's why there were errors.
To resolve this issue, just upgrade flow to 1.19.0. Future default plugin releases will also follow the timeline of flow's new releases, so we won't get this problem again.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh
This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.