Hi.
Some times using Google or DeepL free, i get the error "HTTP Error 429: Too Many Requests".
I know....I know it's my fault to want to translate a lot.
But, It might be possible when this happens that in the next translation process of this book I ask for a new start or do I continue the previous translation? In this way it could be possible to translate a book several times.
Also, I think it could also be interesting that when this error's happens, it could be possible to set a time interval (for example hours) to automatically continue the translation.
The log is:
Original: Mike was born on 5 March 1942. He sold his first article in 1957, his first short story in 1959 and his first book in 1962.
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.engines.base", line 89, in get_result.
File "mechanize_mechanize.py", line 257, in open
File "mechanize_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class..httperror_seek_wrapper: HTTP Error 429: Too Many Requests
The translation engine API data could not be retrieved.
Will try again in 5 seconds.
Retrying... (timeout is 300 seconds).
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.engines.base", line 89, in get_result.
File "mechanize_mechanize.py", line 257, in open
File "mechanize_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class..httperror_seek_wrapper: HTTP Error 429: Too Many Requests
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.translation", line 65, in _translate_text
File "calibre_plugins.ebook_translator.engines.google", line 25, in translate
File "calibre_plugins.ebook_translator.engines.base", line 100, in get_result
Exception: Could not parse the returned response. Raw Data: HTTP Error 429: Too Many Requests
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.engines.base", line 89, in get_result
File "mechanize_mechanize.py", line 257, in open
File "mechanize_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class..httperror_seek_wrapper: HTTP Error 429: Too Many Requests
Could not retrieve data from the translation engine API.
Will try again in 10 seconds.
Retrying... (timeout is 300 seconds).
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.engines.base", line 89, in get_result.
File "mechanize_mechanize.py", line 257, in open
File "mechanize_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class..httperror_seek_wrapper: HTTP Error 429: Too Many Requests
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.translation", line 65, in _translate_text
File "calibre_plugins.ebook_translator.engines.google", line 25, in translate
File "calibre_plugins.ebook_translator.engines.base", line 100, in get_result
Exception: Could not parse the returned response. Raw Data: HTTP Error 429: Too Many Requests
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.engines.base", line 89, in get_result
File "mechanize_mechanize.py", line 257, in open
File "mechanize_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class..httperror_seek_wrapper: HTTP Error 429: Too Many Requests
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.translation", line 65, in _translate_text
File "calibre_plugins.ebook_translator.engines.google", line 25, in translate
File "calibre_plugins.ebook_translator.engines.base", line 100, in get_result
Exception: Could not parse the returned response. Raw Data: HTTP Error 429: Too Many Requests
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.ebook_translator.engines.base", line 89, in get_result
File "mechanize_mechanize.py", line 257, in open
File "mechanize_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class..httperror_seek_wrapper: HTTP Error 429: Too Many Requests
The translation engine API data could not be retrieved.
Will try again in 30 seconds.