Artikash / Textractor

Extracts text from video games and visual novels. Highly extensible.
GNU General Public License v3.0
2.06k stars 202 forks source link

Devtool Deepl not working + Deepl error issues #898

Open Troy168 opened 1 year ago

Troy168 commented 1 year ago

I've been trying to test out this Devtool Deepl translations, yet everytime I've tried, it doesn't translate and it comes with the error that says Error while translating. I've even looked at the fix that was mention in #799 and tried that. But the results is still the same. Devtool Deepl issue proof Devtool Deepl issue proof  #2

I've even tried to use the normal Deepl translations. But while the result is a little faster, it has come with the same Error while translating with the message that says: {"jsonrpc":"2.0","error":{"code":1042912,"message":"Too many requests"}} Deepl issue proof

Is there something that I'm missing here?

Blu3train commented 1 year ago

Try this version which is the last one I posted. Also, don't use "auto" as the source language, but select the correct language. It works better. https://github.com/Artikash/Textractor/issues/843#issuecomment-1172932905

Troy168 commented 1 year ago

I have tested the version that you posted and the results are the same. I even had the language in Japanese and it didn't work. Devtool Deepl issue proof  #3

Blu3train commented 1 year ago

Isn't it the case that you minimize the browser? you have to leave it open or select to hide it.

Blu3train commented 1 year ago

Then disable the cache during the tests, because you may have mistakenly cached the error message as a translation text.

Troy168 commented 1 year ago

I did what you said, yet it shows the same error as before.

Devtool Deepl issue proof  #4

Blu3train commented 1 year ago

Look at the browser window. When translating the text it should go to the DeepL page and you should see the text to be translated written and the translated text. If by chance DeepL has banned you, you should understand this by looking at the browser page

Troy168 commented 1 year ago

I have looked at the browser window, it didn't take me to the DeepL page. Even when I went to the DeepL page itself, it still show the same error. Devtool Deepl issue proof  #5 Devtool Deepl issue proof  #6

Blu3train commented 1 year ago

That's the problem. Focus on getting the browser to work. It could be the antivirus that blocks textractor or other protection programs. Try disabling the antivirus.

Troy168 commented 1 year ago

I don't have a lot of anti-virus on my computer. So I turn off the one that I have. And the results are still the same. Devtool Deepl issue proof  #7 Devtool Deepl issue proof  #8

Blu3train commented 1 year ago

I don't know how to help you on this. The Visual C ++ Redistributable was distributed with the old textractor versions. No more now but it may be useful. Try looking for the latest version and download it from the microsoft site. Both the x86 and x64 versions.

https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0 If that doesn't solve it, I can't help you any further.

Troy168 commented 1 year ago

I've downloaded both and the results is still the same. Seems like Devtool Deepl still has a lot of work to go...

Artikash commented 1 year ago

I would also try restarting your computer and closing any existing Chrome tabs you may have before opening Textractor/starting DevTools.

Troy168 commented 1 year ago

Okay. I've restarted my computer and now it's working great. Also note that since I don't use Chrome as a browser, it was not needed to close any tabs.

Wislip commented 1 year ago

Hello, Sorry to disturb. but I also have the similar problem as Troy168. I use Devtool Deepl, got the same problem about browser not taking me to deepl page. Already disable antivirus,get the Error while translating. Tried other method recommend in this post like restart and closing chrome but problem still persist. Any help or advice you can give? The only translation that work is google, normal deepl also don't work properly (too many request problem).

deepl

Wislip commented 1 year ago

Update, the translation is working properly now. The problem cone from me messing order between devtool and clipboard. just swap devtool before clipboard and it's now work. however, there is still some inconveniennce that when i start devtool, it still doesn't link to deepl site. i have to manually go to the site myself. Is there any fix for this?