Garulf / Browser-History

Search your Web Browser history
6 stars 6 forks source link

Plugin Crashes for Chrome browser #12

Closed z1nc0r3 closed 1 year ago

z1nc0r3 commented 1 year ago

Flow Launcher version: 1.11.0 OS Version: Microsoft Windows NT 10.0.22621.0 IntPtr Length: 8 x64: True

Python Path: C:\Python311\python.exe Node Path: C:\Program Files\nodejs\node.exe Date: 01/09/2023 23:09:23 Exception: Browser History Exception: Websites: https://github.com/Garulf/browser-history Author: Garulf Version: 0.2.0 Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Exception ignored in: <function Base.del at 0x0000024CC934BF60> Traceback (most recent call last): File "C:\Users\zincore\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.2.0\plugin\browsers.py", line 36, in del os.remove(self.temp_path) PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\zincore\AppData\Local\Temp\History'

---> System.IO.InvalidDataException: Exception ignored in: <function Base.del at 0x0000024CC934BF60> Traceback (most recent call last): File "C:\Users\zincore\AppData\Roaming\FlowLauncher\Plugins\Browser History-0.2.0\plugin\browsers.py", line 36, in del os.remove(self.temp_path) PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\zincore\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 293 at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 293 at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 309 at Flow.Launcher.Core.Plugin.PluginManager.<>cDisplayClass22_0.<b0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 191 --- 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 213 --- 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 213 at Flow.Launcher.ViewModel.MainViewModel.<>cDisplayClass135_0.<gQueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 821 --- End of stack trace from previous location --- at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 822 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)

Browser History plugin crashes just after the short cut keys pressed due to some file permission issues.