Skip to content

Search browser history for Firefox failed #30

@singeev

Description

@singeev

Hello dear developers!
Thank you for the nice plugin!

Right after installing it and configuring the Firefox as a default browser, i'm getting an error "Browser History! Failed to respond".

I assume it's the same issue as in #29

Here's my log file: 2025-03-14.txt

Here's the exception message in the app:

Flow Launcher version: 1.19.5
OS Version: 19045.5487
IntPtr Length: 8
x64: True

Python Path: C:\Users\alex\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
Node Path: 
Date: 03/14/2025 17:18:51
Exception:
Browser History Exception: 
Websites: https://github.com/Garulf/browser-history
Author: Garulf
Version: 0.6.0
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Traceback (most recent call last):
  File "C:\Users\alex\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.6.0\run.py", line 12, in <module>
    BrowserHistory()
  File "C:\Users\alex\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.6.0\plugin\main.py", line 19, in __init__
    self.browser = browsers.get(self.default_browser.lower())
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\alex\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.6.0\plugin\browsers.py", line 25, in get
    return Firefox()
           ^^^^^^^^^
  File "C:\Users\alex\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.6.0\plugin\browsers.py", line 101, in __init__
    self.database_path = self.find_database(database_path)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\alex\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.6.0\plugin\browsers.py", line 105, in find_database
    release_folder = Path(path).glob('*.default-release').__next__()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

 ---> System.IO.InvalidDataException: Traceback (most recent call last):
  File "C:\Users\alex\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.6.0\run.py", line 12, in <module>
    BrowserHistory()
  File "C:\Users\alex\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.6.0\plugin\main.py", line 19, in __init__
    self.browser = browsers.get(self.default_browser.lower())
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\alex\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.6.0\plugin\browsers.py", line 25, in get
    return Firefox()
           ^^^^^^^^^
  File "C:\Users\alex\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.6.0\plugin\browsers.py", line 101, in __init__
    self.database_path = self.find_database(database_path)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\alex\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.6.0\plugin\browsers.py", line 105, in find_database
    release_folder = Path(path).glob('*.default-release').__next__()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 243
   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 248
   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 261
   at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass28_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 248
--- 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 34
   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 247
   --- End of inner exception stack trace ---
   at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass28_1.<QueryForPluginAsync>b__1(ActionContext _) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 276
   at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in /_/Flow.Launcher.Plugin/Result.cs:line 246
   at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 389
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions