Skip to content

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

@Jack251970

Description

@Jack251970

Checks

  • I have checked that this issue has not already been reported.

  • I am using the latest version of Flow Launcher.

  • 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<DbDataReader> System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
   at async IAsyncEnumerable<SearchResult> 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

Details
Replace this line with the important log contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Explorer PluginIssue or Enhancement Link to Explorer PluginbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions