Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error transferring" message #105

Closed
Katarn opened this issue Feb 19, 2020 · 7 comments
Closed

"Error transferring" message #105

Katarn opened this issue Feb 19, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@Katarn
Copy link

Katarn commented Feb 19, 2020

Bug description
I get this error after some time of entering of the text.

Steps to reproduce
Steps to reproduce the behavior:

  1. Check the box "Automatically translate".
  2. Select Google translate service.
  3. Enter text for some time in the original text box.
  4. See error.

Expected behavior
I expect to see a translation of the entered text.

Screenshots
image

Environment

  • OS: Windows 8.1
  • Crow Translate version: (e.g. 2.3.1)
@Katarn Katarn added the bug Something isn't working label Feb 19, 2020
@Shatur
Copy link
Member

Shatur commented Feb 19, 2020

Unfortunately, this is not a bug. Since the API is free, all translation providers have limited number of requests. When "Automatically translate" is enabled, Crow sends more requests than without this option and use see this error message.

@Shatur Shatur closed this as completed Feb 19, 2020
@Katarn
Copy link
Author

Katarn commented May 7, 2020

There is no way to mimic the Google Translate web-site? There are no such restrictions on the site.

@Shatur
Copy link
Member

Shatur commented May 7, 2020

Currently, not. Crow use public API instead of parsing website directly.

You can just temporary change the engine.

@Shatur Shatur pinned this issue Jun 4, 2020
@Shatur Shatur changed the title Error transferring when "Automctically translate" checkbox is checked "Error transferring" message Jun 4, 2020
@azjio
Copy link

azjio commented Jan 3, 2021

Make an adjustable timeout in the settings, for example 2 seconds, before accessing the API.
I enter the text, and the program translates without waiting end of input.

@Shatur
Copy link
Member

Shatur commented Jan 3, 2021

Make an adjustable timeout in the settings

This is a good idea. The already exists, but not configurable. I currently out of time, but PR's are welcome.

@azjio
Copy link

azjio commented Jan 4, 2021

When an error occurs, you can detect the text and return a readable version, for example: "Sorry, an error has occurred. Google is blocking multiple requests."

@ghost
Copy link

ghost commented Sep 27, 2021

New thread (looking for a C++ programmer to help with implementing unlimited Google Translate): crow-translate/QOnlineTranslator#17 (reference)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants