Open jonasrafa opened 5 months ago
Can you please insert the whole log file for the day the error happened?
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
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
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
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
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 -------------
Does this error happen for every query or a specific one?
in several queries, but in most of them it works normally
Can you add the C:\Windows\Fonts
path to the Index Search Excluded Paths in Explorer settings and confirm whether the error still happens?
I cant add. I tried to add C:\Windows instead, but it keeps crashing
In Everything I was able to exclude this folder, but it still crashes
Please insert the log file again. Also, try searching the same query on the Everything application directly.
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
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
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
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
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
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
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
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
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?
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).
not even excluding it got better, I'm going to use it for Windows Indexing. Thanks for the help and for your time
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?
mlazzarotto commented Feb 8, 2024 •
I had to reinstall Windows, that's the only way I could solve it
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?
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.
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
any updates?
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.
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.
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
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
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