question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when activate translate plugin Direct Traslate

See original GitHub issue

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

Python Path: Date: 09/22/2021 21:43:24 Exception: System.IO.InvalidDataException: Direct Translate|Traceback (most recent call last): File “C:\Users\Yang\AppData\Roaming\FlowLauncher\Plugins\Direct Translate-1.0.0\main.py”, line 2, in <module> from textblob import TextBlob, exceptions ModuleNotFoundError: No module named ‘textblob’

at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 261 at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 275 at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 286 at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<<QueryForPluginAsync>b__0>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.<>c__DisplayClass111_0.<<QueryResults>g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 563 — End of stack trace from previous location — at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 527 at System.Threading.Tasks.Task.<>c.<ThrowAsync>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)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
taooceroscommented, Sep 23, 2021

I would consider the direct translate plugin doesn’t update to the new embedded python installed by Flow. This is the current workaround for this. Install python separately and install the required lib for python with command line pip install *. And then set the python path in Flow to the python path you installed, and restart Flow. https://github.com/Drimix20/Flow.Launcher.Plugin.DirectTranslate/issues/1

0reactions
taooceroscommented, Nov 1, 2021

https://github.com/Drimix20/Flow.Launcher.Plugin.DirectTranslate I think it would be better for you to raise the issue instead of me🧐

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting
Is TranslatePress not working as it should? Here's a list of the most common issues that might arise and how to troubleshoot them....
Read more >
How to Fix Google Chrome Translate Not Working
Head into the Chrome Extensions screen (Chrome menu > More Tools > Extensions), and then keep disabling extensions while attempting to translate ...
Read more >
How to Translate a WordPress Plugin in Your Language
By translating a WordPress plugin into another language, ... First, you will need to install and activate the Loco Translate plugin.
Read more >
Google Language Translator – WordPress plugin
Translate WordPress with Google Language Translator multilanguage plugin which allows to insert Google Translate widget anywhere on your website.
Read more >
Plugin is activated but not seen on the website
I have Google Language Translator status activated, website original language as well as target languages chosen, the language switcher set to show switcher ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found