MichielvanBeers / Flow.Launcher.Plugin.ChatGPT

MIT License
37 stars 5 forks source link

Plugin fail to load #36

Closed AFaustini closed 11 months ago

AFaustini commented 1 year ago

2023-05-23.txt

Flow Launcher version: 1.15.0 OS Version: 22621.1702 IntPtr Length: 8 x64: True

Python Path: D:\Programas\FlowLauncher\app-1.15.0\UserData\Environments\Python\PythonEmbeddable-v3.8.9\pythonw.exe Node Path: D:\Programas\FlowLauncher\app-1.15.0\UserData\Environments\Node.js\Node-v16.18.0\node-v16.18.0-win-x64\node.exe Date: 05/23/2023 15:52:17 Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Programas\FlowLauncher\app-1.15.0\UserData\Logs\1.15.0'. at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator1.Init() at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized) at System.IO.Enumeration.FileSystemEnumerableFactory.FileInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized) at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) at System.IO.DirectoryInfo.GetFiles(String searchPattern, EnumerationOptions enumerationOptions) at Flow.Launcher.ReportWindow.SetException(Exception exception) in C:\projects\flow-launcher\Flow.Launcher\ReportWindow.xaml.cs:line 44 at Flow.Launcher.ReportWindow..ctor(Exception exception) in C:\projects\flow-launcher\Flow.Launcher\ReportWindow.xaml.cs:line 23 at Flow.Launcher.Helper.ErrorReporting.Report(Exception e) in C:\projects\flow-launcher\Flow.Launcher\Helper\ErrorReporting.cs:line 15 at Flow.Launcher.Helper.ErrorReporting.DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in C:\projects\flow-launcher\Flow.Launcher\Helper\ErrorReporting.cs:line 28 at System.Windows.Threading.Dispatcher.CatchException(Exception e) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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 1 year ago

Hi @AFaustini, it looks like Flow Launcher cannot find the general logging directory. I believe that this isn't related to my Plugin though. Can try reinstalling Flow Launcher to see if the issue is resvoled?

AFaustini commented 1 year ago

I am using portable version of Flow Launcher and the logging directory is here, and the majority of other plugins works and use the directory.

MichielvanBeers commented 1 year ago

Allright. I still see no link with the error with the plugin though. Can you try installing Flow Launcher using the installer?

AFaustini commented 1 year ago

Using installed version works well

MichielvanBeers commented 1 year ago

That is good news! Will that resolve your problem in that case?

AFaustini commented 1 year ago

No, because i use the portable version.

AFaustini commented 11 months ago

When i manually remove all plugin folders and reinstall the plugin, works again

MichielvanBeers commented 11 months ago

Cool, thanks for the update!