Flow-Launcher / Flow.Launcher

:mag: Quick file search & app launcher for Windows with community-made plugins
https://flowlauncher.com
MIT License
8.12k stars 316 forks source link

LibreTranslate API Limit #723

Closed fhwid closed 3 years ago

fhwid commented 3 years ago

Flow Launcher version: 1.8.3 OS Version: Microsoft Windows NT 10.0.19042.0 IntPtr Length: 8 x64: True

Python Path: Date: 10/04/2021 20:38:18 Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Text.Json.JsonElement.GetProperty(String propertyName) at Flow.Launcher.Plugin.LibreTranslate.LibreTranslate.QueryAsync(Query query, CancellationToken token) in D:\Document\Dotnet\Flow.LibreTranslate\Flow.LibreTranslate\Main.cs:line 89 at Flow.Launcher.Core.Plugin.PluginManager.<>cDisplayClass22_0.<b0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 192 --- 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 211 at Flow.Launcher.ViewModel.MainViewModel.<>cDisplayClass111_0.<gQueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 571 --- End of stack trace from previous location --- at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 572 at System.Threading.Tasks.Task.<>c.b__140_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) 2021-10-04.txt

taooceros commented 3 years ago

Probably their api has changed. Let me take a look today.

taooceros commented 3 years ago

They have limited the api usage. Though, some mirror has been established, and I will switch to them later.

taooceros commented 3 years ago

Flow.LibreTranslate.zip I build a simple change and you can use it for now. Will update it in the future.

fanhwid commented 3 years ago

Flow.LibreTranslate.zip I build a simple change and you can use it for now. Will update it in the future.

It's OK now, Thank you very much!

fanhwid commented 3 years ago

Flow.LibreTranslate.zip I build a simple change and you can use it for now. Will update it in the future.

The new debug version crashed again! (lll¬ω¬)

taooceros commented 3 years ago

Same log?

taooceros commented 3 years ago

weird, both mirror is not working now.....Will take a look on that later.

taooceros commented 3 years ago

Debug.zip I update to another mirror