Flow-Launcher / Flow.Launcher

:mag: Quick file search & app launcher for Windows with community-made plugins
https://flowlauncher.com
MIT License
8.09k stars 316 forks source link

Flow Launcher errors out every couple of minutes #771

Closed johnathanz closed 2 years ago

johnathanz commented 3 years ago

Describe the bug/issue Flow Launcher works, but pop ups an error every couple of minutes

To Reproduce Steps to reproduce the behavior: Error is random and I can't reproduce on command. It comes up every couple of minutes. I've attached text in error window and Flow Launcher error log below.

Screenshots image

Your System


Flow Launcher version: 1.8.3
OS Version: Microsoft Windows NT 10.0.19043.0
IntPtr Length: 8
x64: True

Python Path: 
Date: 10/25/2021 17:05:06
Exception:
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
   at Flow.Launcher.Plugin.WebSearch.Main.UpdateResultsFromSuggestionAsync(List`1 results, String keyword, String subtitle, SearchSource searchSource, Query query, CancellationToken token) in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.WebSearch\Main.cs:line 123
   at Flow.Launcher.Plugin.WebSearch.Main.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.WebSearch\Main.cs:line 99
   at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 192
--- 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 40
   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 211
   at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass111_0.<<QueryResults>g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 563
--- End of stack trace from previous location ---
   at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 564
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_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)

Flow Launcher Error Log

2021-10-25.txt

jjw24 commented 3 years ago

This is coming from the websearch plugin when it provides suggested results. Have u added/modified any of the sources?

johnathanz commented 3 years ago

thanks @jjw24 .

I did have:

I've now turned Search suggestion off, and will see if error still comes up: image

jjw24 commented 3 years ago

set brower from path to use Edge instead of Chrome (incidentally, I have Edge set as my Default browser, but FL still launches Chrome)

Hm, shouldn't be the case. If u have nothing in the browser path it should launch your default browser or the browser set with the path. I will test this out later when I get a chance.

Search suggestions turned on

Also shouldn't be erroring out, I got mine on and never saw any errors. Will take a look at your full log later. I'm afk ATM.

johnathanz commented 3 years ago

I've been running FL now without the Search Suggestions setting for 12+ hours. Plus still have MS Edge path set in the Set browser from path option.

Haven't had the error comes resurface.

Happy that FL is working for me error free. Will report back if error returns!

Thanks @onesounds and @jjw24 for responding so quickly!

I did start my computer a couple of times since I first reported the error. Not sure if related: image

jjw24 commented 2 years ago

I did start my computer a couple of times since I first reported the error.

I see u found the ultimate cheat code for fixing all things computer

jjw24 commented 2 years ago

Closing, please reopen if problem persists.