Skip to content

Automatically switch the query browser to chrome #19

@sephony

Description

@sephony

error

i only have Edge on my computer, so i change the default browser to Edge, but when I click on the query result option with the mouse, the browser is switched to Chrome and an error is reported.
image

image

information about error

Flow Launcher version: 1.16.2
OS Version: 19045.3803
IntPtr Length: 8
x64: True

Python Path: D:\anaconda3\pythonw.exe
Node Path: D:\nvm\v20.10.0\node.exe
Date: 12/13/2023 15:23:27
Exception:
Browser History Exception:
Websites: https://github.com/Garulf/browser-history
Author: Garulf
Version: 0.4.0
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Exception ignored in: <function Base.del at 0x000002231BD63EC0>
Traceback (most recent call last):
File "D:\Scoop\apps\Flow-Launcher\current\app-1.16.2\UserData\Plugins\Browser History-0.4.0\plugin\browsers.py", line 39, in del
os.remove(self.temp_path)
PermissionError: [WinError 32] ��һ����������ʹ�ô��ļ��������޷����ʡ�: 'C:\Users\User\AppData\Local\Temp\History'

---> System.IO.InvalidDataException: Exception ignored in: <function Base.del at 0x000002231BD63EC0>
Traceback (most recent call last):
File "D:\Scoop\apps\Flow-Launcher\current\app-1.16.2\UserData\Plugins\Browser History-0.4.0\plugin\browsers.py", line 39, in del
os.remove(self.temp_path)
PermissionError: [WinError 32] ��һ����������ʹ�ô��ļ��������޷����ʡ�: 'C:\Users\User\AppData\Local\Temp\History'

at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 297
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 297
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 313
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 194
--- 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 40
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 216
--- End of inner exception stack trace ---
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 216
at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass139_0.<g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 849
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.QueryResults(Boolean isReQuery) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 850
at System.Threading.Tasks.Task.<>c.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