MichielvanBeers / Flow.Launcher.Plugin.ChatGPT

MIT License
36 stars 5 forks source link

ChatGPT plugin failed to start #46

Open evetech2021 opened 10 months ago

evetech2021 commented 10 months ago

2023-09-11.txt

Flow Launcher version: 1.16.1 OS Version: 23493.1000 IntPtr Length: 8 x64: True

Python Path: C:\Users\athar\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.8.9\pythonw.exe Node Path: Date: 09/11/2023 18:03:02 Exception: ChatGPT Exception: Websites: https://github.com/MichielvanBeers/Flow.Launcher.Plugin.ChatGPT Author: MichielvanBeers Version: 1.1.1 Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Traceback (most recent call last): File "C:\Users\athar\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.1\main.py", line 11, in from plugin.main import ChatGPT File "C:\Users\athar\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.1\plugin\main.py", line 7, in from flox import Flox # noqa: E402 File "C:\Users\athar\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.1\lib\flox__init__.py", line 51, in raise FileNotFoundError(LAUNCHER_NOT_FOUND_MSG) FileNotFoundError: Unable to locate Launcher directory Current working directory: C:\Users\athar\AppData\Local\FlowLauncher\app-1.16.1

---> System.IO.InvalidDataException: Traceback (most recent call last): File "C:\Users\athar\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.1\main.py", line 11, in from plugin.main import ChatGPT File "C:\Users\athar\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.1\plugin\main.py", line 7, in from flox import Flox # noqa: E402 File "C:\Users\athar\AppData\Roaming\FlowLauncher\Plugins\ChatGPT-1.1.1\lib\flox__init__.py", line 51, in raise FileNotFoundError(LAUNCHER_NOT_FOUND_MSG) FileNotFoundError: Unable to locate Launcher directory Current working directory: C:\Users\athar\AppData\Local\FlowLauncher\app-1.16.1

at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 291 at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 296 at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 311 at Flow.Launcher.Core.Plugin.PluginManager.<>cDisplayClass22_0.<b0>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.<>cDisplayClass139_0.<gQueryTask|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)

MichielvanBeers commented 9 months ago

Hi @evetech2021, thanks for the info. I'm currently working on getting to the root issue of this. It seems that this might be related directly to my plugin, since there are also reports of other plugins having this issue (see this issue on the Flow Launcher Github). I'll let you know when I have more info.