bookfere / Ebook-Translator-Calibre-Plugin

A Calibre plugin to translate ebook into a specified language.
https://translator.bookfere.com
GNU General Public License v3.0
1.74k stars 115 forks source link

[错误报告] 翻译失败 #356

Closed LSA16011 closed 3 weeks ago

LSA16011 commented 1 month ago

基础信息

描述错误 翻译失败

期待变化 前几次翻译都没问题,突然就无法翻译了。重装插件也没用

屏幕截图 添加合适的截图来帮助你解释问题 ══════════════════════════════════════ 行号:0 原文:Acknowledgments ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 状态:失败 1 次 / 等待 5 秒 ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 错误信息:Traceback (most recent call last): File "calibre_plugins.ebook_translator.lib.translation", line 136, in _translate_text translation = self.translator.translate(text) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "calibre_plugins.ebook_translator.engines.google", line 53, in translate return self.get_result( ^^^^^^^^^^^^^^^^ File "calibre_plugins.ebook_translator.engines.base", line 210, in get_result raise Exception( Exception: 无法解析返回的响应。原始数据:

Traceback (most recent call last): File "calibre_plugins.ebook_translator.engines.base", line 197, in get_result br.open(request) 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

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=zh-CN&dt=t&dj=1&q=Acknowledgments



About this page

Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. Why did this happen?

IP address: 43.231.187.162
Time: 2024-10-17T07:14:34Z
URL: https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=zh-CN&dt=t&dj=1&q=Acknowledgments

══════════════════════════════════════ 行号:0 原文:Acknowledgments ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 状态:失败 2 次 / 等待 10 秒 ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 错误信息:Traceback (most recent call last): File "calibre_plugins.ebook_translator.lib.translation", line 136, in _translate_text translation = self.translator.translate(text) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "calibre_plugins.ebook_translator.engines.google", line 53, in translate return self.get_result( ^^^^^^^^^^^^^^^^ File "calibre_plugins.ebook_translator.engines.base", line 210, in get_result raise Exception( Exception: 无法解析返回的响应。原始数据:

Traceback (most recent call last): File "calibre_plugins.ebook_translator.engines.base", line 197, in get_result br.open(request) 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

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=zh-CN&dt=t&dj=1&q=Acknowledgments



About this page

Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. Why did this happen?

IP address: 43.231.187.162
Time: 2024-10-17T07:14:39Z
URL: https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=zh-CN&dt=t&dj=1&q=Acknowledgments

══════════════════════════════════════ 行号:0 原文:Acknowledgments ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 状态:失败 3 次 / 等待 15 秒 ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 错误信息:Traceback (most recent call last): File "calibre_plugins.ebook_translator.lib.translation", line 136, in _translate_text translation = self.translator.translate(text) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "calibre_plugins.ebook_translator.engines.google", line 53, in translate return self.get_result( ^^^^^^^^^^^^^^^^ File "calibre_plugins.ebook_translator.engines.base", line 210, in get_result raise Exception( Exception: 无法解析返回的响应。原始数据:

Traceback (most recent call last): File "calibre_plugins.ebook_translator.engines.base", line 197, in get_result br.open(request) 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

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=zh-CN&dt=t&dj=1&q=Acknowledgments



About this page

Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. Why did this happen?

IP address: 43.231.187.162
Time: 2024-10-17T07:14:50Z
URL: https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=zh-CN&dt=t&dj=1&q=Acknowledgments
bookfere commented 1 month ago

看起来是请求超过了 Google 翻译允许的频率,建议等一段时间,降低请求频率。如果使用了代理,可以更换线路再试试看。