Flow-Launcher / Flow-Launcher/Flow.Launcher

BUG: System.Data.OleDb.OleDbException causes QueryForPluginAsync long time to wait

Open
#4,469 1 comment 0 reactions 0 assignees View on GitHub
bug Explorer Plugin keep-fresh
Dominant language
C#
Stars
15.6k
Forks
644
Avg merge
16h 51m
Merged PRs (30d)
3

Description

### Checks

- [ ] I have checked that this issue has not already been reported.

- [x] I am using the latest version of Flow Launcher.

- [x] I am using the prerelease version of Flow Launcher.

### Problem Description

Occurred from version 1.19.4 to the latest version.

Log:
```
01:38:34.8760+08:00 - DEBUG - PluginManager.QueryForPluginAsync - Cost for Explorer <30018ms>
01:38:35.0728+08:00 - ERROR - WindowsIndex.ExecuteWindowsIndexSearchAsync - Failed to execute windows index search query: SELECT TOP 100 "System.FileName", "System.ItemUrl", "System.ItemType" FROM "SystemIndex" WHERE (System.FileName LIKE '48.24-47.3%' OR CONTAINS(System.FileName,'"48.24-47.3*"',2052)) AND scope='file:' ORDER BY System.Search.Rank DESC
EXCEPTION OCCURS: System.Data.OleDb.OleDbException (0x80041607): Unspecified error: -2147215865(0x80041607)
at void System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr)
at void System.Data.OleDb.OleDbDataReader.GetRowHandles()
at bool System.Data.OleDb.OleDbDataReader.Read()
at OleDbDataReader System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, string method)
at Task System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
at async IAsyncEnumerable Flow.Launcher.Plugin.Explorer.Search.WindowsIndex.WindowsIndex.ExecuteWindowsIndexSearchAsync(string indexQueryString, string connectionString, CancellationToken token)+MoveNext() in C:/projects/flow-launcher/Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/WindowsIndex.cs:line 32

```

### To Reproduce

_No response_

### Screenshots

_No response_

### Flow Launcher Version

2.1.2

### Windows Build Number

26200.8457

### Error Log

```shell

Replace this line with the important log contents.

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.