Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

BUG: Libre translate issues

Open Allagisid opened this issue 1 year ago • 1 comments

Checks

  • [x] I have checked that this issue has not already been reported.

  • [x] I am using the latest version of Flow Launcher.

Problem Description

Flow Launcher version:

2025-03-12.txt

OS Version: 26100.3323 IntPtr Length: 8 x64: True

Python Path: C:\Users\siddh\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe Node Path: Date: 03/12/2025 11:18:05 Exception: LibreTranslate Exception: Websites: https://github.com/taooceros/Flow.Launcher.Plugin.LibreTranslate Author: taooceros Version: 1.0.1 Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Value cannot be null. (Parameter 'source') ---> System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable1 source, Func2 selector) at Flow.LibreTranslate.LibreTranslate.QueryAsync(Query query, CancellationToken token) in D:\Document\Dotnet\Flow.LibreTranslate\Flow.LibreTranslate\Main.cs:line 44 at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass28_0.<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.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.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)

To Reproduce

  1. ...
  2. ...
  3. ...

Screenshots

No response

Flow Launcher Version

1.19.5

Windows Build Number

10.0.26100.3323]

Error Log

Libre translate issue; it isn't working


[2025-03-12.txt](https://github.com/user-attachments/files/19203903/2025-03-12.txt)

OS Version: 26100.3323
IntPtr Length: 8
x64: True

Python Path: C:\Users\siddh\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
Node Path: 
Date: 03/12/2025 11:18:05
Exception:
LibreTranslate Exception: 
Websites: https://github.com/taooceros/Flow.Launcher.Plugin.LibreTranslate
Author: taooceros
Version: 1.0.1
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Value cannot be null. (Parameter 'source')
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at Flow.LibreTranslate.LibreTranslate.QueryAsync(Query query, CancellationToken token) in D:\Document\Dotnet\Flow.LibreTranslate\Flow.LibreTranslate\Main.cs:line 44
   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)[](url)

[2025-03-12.txt](https://github.com/user-attachments/files/19203914/2025-03-12.txt)

Allagisid avatar Mar 12 '25 05:03 Allagisid

Hi, can you post this in the plugins repo so the author can investigate?

https://github.com/taooceros/Flow.LibreTranslate

Thanks

deefrawley avatar Mar 12 '25 06:03 deefrawley