Flow-Launcher / Flow.Launcher

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

BUG: Flow crashes when searching with Everything #2519

Open jonasrafa opened 5 months ago

jonasrafa commented 5 months ago

Checks

Problem Description

Flow crashes when I search for some keywords on Everything. I've tried installing an older version of everything and even 1.5a and the same thing always happens, the only thing that changes are the keywords to crash.

Everything version: 1.4.1.1024

2024-02-01 09-10-44 - Trim.webm

To Reproduce

  1. ...
  2. ...
  3. ...

Screenshots

No response

Flow Launcher Version

1.16.2

Windows Build Number

10.0.22631.3007

Error Log

09:20:09.1502-03:00 - INFO - App.OnStartup - Begin Flow Launcher startup ---------------------------------------------------- 09:20:09.1502-03:00 - INFO - App.OnStartup - Runtime info: Flow Launcher version: 1.16.2 OS Version: 22631.3007 IntPtr Length: 8 x64: True 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <12ms> 09:20:09.4053-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.4053-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <21ms> 09:20:09.4053-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms> 09:20:09.4096-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <20ms> 09:20:09.4096-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <3ms> 09:20:09.4096-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <170> 09:20:09.4096-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <22> 09:20:09.4096-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <27ms> 09:20:09.4096-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <30ms> 09:20:09.4280-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.4280-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.4280-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json 09:20:09.4280-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <45ms> 09:20:09.4280-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <54ms> 09:20:09.5556-03:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 142 plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.5556-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <171ms> 09:20:09.7035-03:00 - INFO - App.OnStartup - Dependencies Info: Python Path: Node Path: 09:20:09.8842-03:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
09:20:09.8842-03:00 - INFO - App.OnStartup - Startup cost <797ms> 09:20:10.5886-03:00 - INFO - ImageLoader.Initialize - Preload images cost <1404ms> 09:20:10.5886-03:00 - INFO - ImageLoader.Initialize - Number of preload images is <74>, Images Number: 74, Unique Items 53

z1nc0r3 commented 5 months ago

Can you please insert the whole log file for the day the error happened?

jonasrafa commented 5 months ago

09:20:09.1502-03:00 - INFO - App.OnStartup - Begin Flow Launcher startup ---------------------------------------------------- 09:20:09.1502-03:00 - INFO - App.OnStartup - Runtime info: Flow Launcher version: 1.16.2 OS Version: 22631.3007 IntPtr Length: 8 x64: True 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <12ms> 09:20:09.4053-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.4053-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <21ms> 09:20:09.4053-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms> 09:20:09.4096-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <20ms> 09:20:09.4096-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <3ms> 09:20:09.4096-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <170> 09:20:09.4096-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <22> 09:20:09.4096-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <27ms> 09:20:09.4096-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <30ms> 09:20:09.4280-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.4280-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.4280-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json 09:20:09.4280-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <45ms> 09:20:09.4280-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <54ms> 09:20:09.5556-03:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 142 plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.5556-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <171ms> 09:20:09.7035-03:00 - INFO - App.OnStartup - Dependencies Info: Python Path: Node Path: 09:20:09.8842-03:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
09:20:09.8842-03:00 - INFO - App.OnStartup - Startup cost <797ms> 09:20:10.5886-03:00 - INFO - ImageLoader.Initialize - Preload images cost <1404ms> 09:20:10.5886-03:00 - INFO - ImageLoader.Initialize - Number of preload images is <74>, Images Number: 74, Unique Items 53 09:22:44.7040-03:00 - INFO - App.OnStartup - Begin Flow Launcher startup ---------------------------------------------------- 09:22:44.7040-03:00 - INFO - App.OnStartup - Runtime info: Flow Launcher version: 1.16.2 OS Version: 22631.3007 IntPtr Length: 8 x64: True 09:22:44.9558-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <2ms> 09:22:44.9558-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <2ms> 09:22:44.9558-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:22:44.9558-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <12ms> 09:22:44.9733-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:22:44.9733-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <18ms> 09:22:44.9733-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms> 09:22:44.9733-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms> 09:22:44.9733-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <3ms> 09:22:44.9733-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <170> 09:22:44.9733-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <22> 09:22:44.9733-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <27ms> 09:22:44.9867-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <31ms> 09:22:44.9867-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <45ms> 09:22:44.9867-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:22:44.9867-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:22:44.9867-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json 09:22:45.0132-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <64ms> 09:22:45.1270-03:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 142 plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:22:45.1295-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <176ms> 09:22:45.2880-03:00 - INFO - App.OnStartup - Dependencies Info: Python Path: Node Path: 09:22:45.4656-03:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
09:22:45.4656-03:00 - INFO - App.OnStartup - Startup cost <827ms> 09:22:45.9154-03:00 - INFO - ImageLoader.Initialize - Preload images cost <1176ms> 09:22:45.9154-03:00 - INFO - ImageLoader.Initialize - Number of preload images is <56>, Images Number: 56, Unique Items 40 09:27:04.6522-03:00 - ERROR - ImageLoader.Load - Failed to get thumbnail for C:\Windows\Fonts\LeelUIsl.ttf on first try EXCEPTION OCCURS: System.ArgumentException: Value does not fall within the expected range. at IntPtr Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetHBitmap(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 129 at BitmapSource Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetThumbnail(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 120 at ImageResult Flow.Launcher.Infrastructure.Image.ImageLoader.GetThumbnailResult(ref string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 236 at async ValueTask Flow.Launcher.Infrastructure.Image.ImageLoader.LoadInternalAsync(string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 160

09:27:04.6522-03:00 - ERROR - ImageLoader.Load - Failed to get thumbnail for C:\Windows\Fonts\LeelUIsl.ttf on second try EXCEPTION OCCURS: System.ArgumentException: Value does not fall within the expected range. at IntPtr Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetHBitmap(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 129 at BitmapSource Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetThumbnail(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 120 at ImageResult Flow.Launcher.Infrastructure.Image.ImageLoader.GetThumbnailResult(ref string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 236 at async ValueTask Flow.Launcher.Infrastructure.Image.ImageLoader.LoadInternalAsync(string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 160

10:38:22.4093-03:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception ------------- 10:38:22.4093-03:00 - ERROR - - Exception full name: System.Runtime.InteropServices.COMException Error status: UNKNOWN Class name: IShellLinkW Calling method: retrieveTargetPath Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player Legacy.lnk InnerException number: 1 Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component. Exception error type: HResult -2147467259 Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32) Possible interpretation of the error: Error caused likely due to trying to get the description of the program Possible resolution: Not yet known 10:38:22.4093-03:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception ------------- 10:38:22.4550-03:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception ------------- 10:38:22.4550-03:00 - ERROR - - Exception full name: System.Runtime.InteropServices.COMException Error status: UNKNOWN Class name: IShellLinkW Calling method: retrieveTargetPath Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\ODBC Data Sources (32-bit).lnk InnerException number: 1 Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component. Exception error type: HResult -2147467259 Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32) Possible interpretation of the error: Error caused likely due to trying to get the description of the program Possible resolution: Not yet known 10:38:22.4550-03:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception -------------

z1nc0r3 commented 5 months ago

Does this error happen for every query or a specific one?

jonasrafa commented 5 months ago

in several queries, but in most of them it works normally

z1nc0r3 commented 5 months ago

Can you add the C:\Windows\Fonts path to the Index Search Excluded Paths in Explorer settings and confirm whether the error still happens?

image

jonasrafa commented 5 months ago

I cant add. I tried to add C:\Windows instead, but it keeps crashing Flow Launcher_kCIMMxabit

jonasrafa commented 5 months ago

In Everything I was able to exclude this folder, but it still crashes

z1nc0r3 commented 5 months ago

Please insert the log file again. Also, try searching the same query on the Everything application directly.

jonasrafa commented 5 months ago

In everything I can search for mica normally.

Log file: 09:20:09.1502-03:00 - INFO - App.OnStartup - Begin Flow Launcher startup ---------------------------------------------------- 09:20:09.1502-03:00 - INFO - App.OnStartup - Runtime info: Flow Launcher version: 1.16.2 OS Version: 22631.3007 IntPtr Length: 8 x64: True 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:20:09.3896-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <12ms> 09:20:09.4053-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.4053-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <21ms> 09:20:09.4053-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms> 09:20:09.4096-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <20ms> 09:20:09.4096-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <3ms> 09:20:09.4096-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <170> 09:20:09.4096-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <22> 09:20:09.4096-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <27ms> 09:20:09.4096-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <30ms> 09:20:09.4280-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.4280-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.4280-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json 09:20:09.4280-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <45ms> 09:20:09.4280-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <54ms> 09:20:09.5556-03:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 142 plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:20:09.5556-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <171ms> 09:20:09.7035-03:00 - INFO - App.OnStartup - Dependencies Info: Python Path: Node Path: 09:20:09.8842-03:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
09:20:09.8842-03:00 - INFO - App.OnStartup - Startup cost <797ms> 09:20:10.5886-03:00 - INFO - ImageLoader.Initialize - Preload images cost <1404ms> 09:20:10.5886-03:00 - INFO - ImageLoader.Initialize - Number of preload images is <74>, Images Number: 74, Unique Items 53 09:22:44.7040-03:00 - INFO - App.OnStartup - Begin Flow Launcher startup ---------------------------------------------------- 09:22:44.7040-03:00 - INFO - App.OnStartup - Runtime info: Flow Launcher version: 1.16.2 OS Version: 22631.3007 IntPtr Length: 8 x64: True 09:22:44.9558-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <2ms> 09:22:44.9558-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <2ms> 09:22:44.9558-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 09:22:44.9558-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <12ms> 09:22:44.9733-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:22:44.9733-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <18ms> 09:22:44.9733-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms> 09:22:44.9733-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms> 09:22:44.9733-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <3ms> 09:22:44.9733-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <170> 09:22:44.9733-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <22> 09:22:44.9733-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <27ms> 09:22:44.9867-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <31ms> 09:22:44.9867-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <45ms> 09:22:44.9867-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:22:44.9867-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:22:44.9867-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json 09:22:45.0132-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <64ms> 09:22:45.1270-03:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 142 plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 09:22:45.1295-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <176ms> 09:22:45.2880-03:00 - INFO - App.OnStartup - Dependencies Info: Python Path: Node Path: 09:22:45.4656-03:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
09:22:45.4656-03:00 - INFO - App.OnStartup - Startup cost <827ms> 09:22:45.9154-03:00 - INFO - ImageLoader.Initialize - Preload images cost <1176ms> 09:22:45.9154-03:00 - INFO - ImageLoader.Initialize - Number of preload images is <56>, Images Number: 56, Unique Items 40 09:27:04.6522-03:00 - ERROR - ImageLoader.Load - Failed to get thumbnail for C:\Windows\Fonts\LeelUIsl.ttf on first try EXCEPTION OCCURS: System.ArgumentException: Value does not fall within the expected range. at IntPtr Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetHBitmap(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 129 at BitmapSource Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetThumbnail(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 120 at ImageResult Flow.Launcher.Infrastructure.Image.ImageLoader.GetThumbnailResult(ref string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 236 at async ValueTask Flow.Launcher.Infrastructure.Image.ImageLoader.LoadInternalAsync(string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 160

09:27:04.6522-03:00 - ERROR - ImageLoader.Load - Failed to get thumbnail for C:\Windows\Fonts\LeelUIsl.ttf on second try EXCEPTION OCCURS: System.ArgumentException: Value does not fall within the expected range. at IntPtr Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetHBitmap(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 129 at BitmapSource Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetThumbnail(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 120 at ImageResult Flow.Launcher.Infrastructure.Image.ImageLoader.GetThumbnailResult(ref string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 236 at async ValueTask Flow.Launcher.Infrastructure.Image.ImageLoader.LoadInternalAsync(string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 160

10:38:22.4093-03:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception ------------- 10:38:22.4093-03:00 - ERROR - - Exception full name: System.Runtime.InteropServices.COMException Error status: UNKNOWN Class name: IShellLinkW Calling method: retrieveTargetPath Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player Legacy.lnk InnerException number: 1 Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component. Exception error type: HResult -2147467259 Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32) Possible interpretation of the error: Error caused likely due to trying to get the description of the program Possible resolution: Not yet known 10:38:22.4093-03:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception ------------- 10:38:22.4550-03:00 - ERROR - - ------------- BEGIN Flow.Launcher.Plugin.Program exception ------------- 10:38:22.4550-03:00 - ERROR - - Exception full name: System.Runtime.InteropServices.COMException Error status: UNKNOWN Class name: IShellLinkW Calling method: retrieveTargetPath Program path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\ODBC Data Sources (32-bit).lnk InnerException number: 1 Exception message: Error HRESULT E_FAIL has been returned from a call to a COM component. Exception error type: HResult -2147467259 Exception thrown in called method: Void GetDescription(System.Text.StringBuilder, Int32) Possible interpretation of the error: Error caused likely due to trying to get the description of the program Possible resolution: Not yet known 10:38:22.4550-03:00 - ERROR - - ------------- END Flow.Launcher.Plugin.Program exception ------------- 12:42:42.6235-03:00 - INFO - App.OnStartup - Begin Flow Launcher startup ---------------------------------------------------- 12:42:42.6235-03:00 - INFO - App.OnStartup - Runtime info: Flow Launcher version: 1.16.2 OS Version: 22631.3007 IntPtr Length: 8 x64: True 12:42:44.1668-03:00 - INFO - ImageLoader.Initialize - Preload images cost <1476ms> 12:42:44.1668-03:00 - INFO - ImageLoader.Initialize - Number of preload images is <56>, Images Number: 56, Unique Items 40 12:42:45.0093-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <28ms> 12:42:45.0093-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <35ms> 12:42:45.0093-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <48ms> 12:42:45.0235-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <83ms> 12:42:45.0235-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <93ms> 12:42:45.0235-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <84ms> 12:42:45.0235-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <91ms> 12:42:45.0394-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <107ms> 12:42:45.0750-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:42:45.0750-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <255ms> 12:42:45.0809-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <49ms> 12:42:45.0809-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <170> 12:42:45.0809-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <22> 12:42:45.1147-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <271ms> 12:42:45.1147-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <163ms> 12:42:45.1549-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:42:45.1549-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:42:45.1549-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json 12:42:45.3310-03:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 142 plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:42:45.3331-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <395ms> 12:42:45.6184-03:00 - INFO - App.OnStartup - Dependencies Info: Python Path: Node Path: 12:42:45.9163-03:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
12:42:45.9163-03:00 - INFO - App.OnStartup - Startup cost <3806ms> 12:43:49.0767-03:00 - INFO - App.OnStartup - Begin Flow Launcher startup ---------------------------------------------------- 12:43:49.0767-03:00 - INFO - App.OnStartup - Runtime info: Flow Launcher version: 1.16.2 OS Version: 22631.3007 IntPtr Length: 8 x64: True 12:43:49.3169-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 12:43:49.3169-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <2ms> 12:43:49.3169-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 12:43:49.3169-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <11ms> 12:43:49.3330-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:43:49.3330-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms> 12:43:49.3330-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <19ms> 12:43:49.3330-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <23ms> 12:43:49.3330-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <2ms> 12:43:49.3330-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <170> 12:43:49.3330-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <22> 12:43:49.3330-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <28ms> 12:43:49.3330-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <30ms> 12:43:49.3558-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:43:49.3558-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:43:49.3558-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json 12:43:49.3558-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <45ms> 12:43:49.3642-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <54ms> 12:43:49.5359-03:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 142 plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json 12:43:49.5359-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <224ms> 12:43:49.6789-03:00 - INFO - App.OnStartup - Dependencies Info: Python Path: Node Path: 12:43:49.8915-03:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
12:43:49.8915-03:00 - INFO - App.OnStartup - Startup cost <877ms> 12:43:50.2436-03:00 - INFO - ImageLoader.Initialize - Preload images cost <1134ms> 12:43:50.2436-03:00 - INFO - ImageLoader.Initialize - Number of preload images is <56>, Images Number: 56, Unique Items 40 12:47:27.6283-03:00 - INFO - App.OnStartup - Begin Flow Launcher startup ---------------------------------------------------- 12:47:27.6283-03:00 - INFO - App.OnStartup - Runtime info: Flow Launcher version: 1.16.2 OS Version: 22631.3007 IntPtr Length: 8 x64: True 12:47:27.8706-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <2ms> 12:47:27.8706-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <2ms> 12:47:27.8706-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <1ms> 12:47:27.8706-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <12ms> 12:47:27.8871-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:47:27.8871-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <22ms> 12:47:27.8871-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <23ms> 12:47:27.8871-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <20ms> 12:47:27.8871-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <3ms> 12:47:27.8871-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <170> 12:47:27.8871-03:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <22> 12:47:27.8975-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <30ms> 12:47:27.8975-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <30ms> 12:47:27.9113-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:47:27.9113-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:47:27.9113-03:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json 12:47:27.9113-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <47ms> 12:47:27.9113-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <60ms> 12:47:28.0415-03:00 - INFO - CommunityPluginSource.FetchAsync - Loaded 142 plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 12:47:28.0415-03:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <177ms> 12:47:28.2051-03:00 - INFO - App.OnStartup - Dependencies Info: Python Path: Node Path: 12:47:28.4229-03:00 - INFO - App.OnStartup - End Flow Launcher startup ----------------------------------------------------
12:47:28.4229-03:00 - INFO - App.OnStartup - Startup cost <860ms> 12:47:28.8600-03:00 - INFO - ImageLoader.Initialize - Preload images cost <1199ms> 12:47:28.8600-03:00 - INFO - ImageLoader.Initialize - Number of preload images is <56>, Images Number: 56, Unique Items 40

jonasrafa commented 5 months ago

Is there any way to exclude the folder from the search for some file other than where you showed it, like a settings.json or something?

z1nc0r3 commented 5 months ago

I thought the error was this.

EXCEPTION OCCURS: System.ArgumentException: Value does not fall within the expected range. at IntPtr Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetHBitmap(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 129 at BitmapSource Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetThumbnail(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 120 at ImageResult Flow.Launcher.Infrastructure.Image.ImageLoader.GetThumbnailResult(ref string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 236 at async ValueTask Flow.Launcher.Infrastructure.Image.ImageLoader.LoadInternalAsync(string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 160

But the latest Log file doesn't have any errors shown o_0.

ii). afaik, you can exclude any folder using Index Search Excluded Paths and it's working. Another way to exclude a folder is by using the Everything application (Tools > Options).

image

jonasrafa commented 5 months ago

not even excluding it got better, I'm going to use it for Windows Indexing. Thanks for the help and for your time

mlazzarotto commented 5 months ago

not even excluding it got better, I'm going to use it for Windows Indexing. Thanks for the help and for your time

I am having the same issue. Would you mind to describe the steps you took that fixed the problem?

jonasrafa commented 5 months ago

mlazzarotto commented Feb 8, 2024

I had to reinstall Windows, that's the only way I could solve it

z1nc0r3 commented 5 months ago

I am having the same issue. Would you mind to describe the steps you took that fixed the problem?

could you please add the log file?

jjw24 commented 5 months ago

mlazzarotto commented Feb 8, 2024

I had to reinstall Windows, that's the only way I could solve it

Sorry for the late reply, sometimes rebuilding the Windows Index database via Windows Indexer settings could also help. Not sure but maybe it could have been a corrupted database as well.

mlazzarotto commented 5 months ago

Apparently, excluding C:\Windows on Flow and C:\Windows\Fonts on Everything solved the issue.
EDIT: I thought it was fixed, but it was not.

09:57:53.2882+01:00 - ERROR - ImageLoader.Load - Failed to get thumbnail for C:\Users\user\AppData\Local\FlowLauncher\app-1.17.2\Plugins\Flow.Launcher.Plugin.WebSearch\Images\web_search.png on second try
EXCEPTION OCCURS: System.Runtime.InteropServices.COMException (0x80004005): Error while extracting thumbnail for C:\Users\user\AppData\Local\FlowLauncher\app-1.17.2\Plugins\Flow.Launcher.Plugin.WebSearch\Images\web_search.png
 ---> System.Runtime.InteropServices.COMException (0x8004B201): 0x8004B201
   at IntPtr Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetHBitmap(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 129
   at BitmapSource Flow.Launcher.Infrastructure.Image.WindowsThumbnailProvider.GetThumbnail(string fileName, int width, int height, ThumbnailOptions options) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs:line 120
   at ImageResult Flow.Launcher.Infrastructure.Image.ImageLoader.GetThumbnailResult(ref string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 247
   at async ValueTask<ImageResult> Flow.Launcher.Infrastructure.Image.ImageLoader.LoadInternalAsync(string path, bool loadFullImage) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Image/ImageLoader.cs:line 169
tiefer commented 3 months ago

any updates?

GeorgeG92 commented 2 months ago

I am having the same problem. On specific queries, Flow Launcher crashes with nothing added to the log file. I can perform the same queries in Everything without any issues.

jjw24 commented 3 weeks ago

any updates?

Unfortunately no updates because afaik no one in the team can reproduce this or in a consistent way. Once we can we will be able to fix it.