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.54k stars 102 forks source link

[错误报告] 使用谷歌免费等任何翻译都报错 #295

Open lqh771 opened 2 months ago

lqh771 commented 2 months ago

Traceback (most recent call last): File "calibre_plugins.ebook_translator.components.engine", line 67, in translate_text File "calibre_plugins.ebook_translator.engines.google", line 52, in translate File "calibre_plugins.ebook_translator.engines.base", line 209, in get_result Exception: 无法解析返回的响应。原始数据:

Traceback (most recent call last): File "calibre_plugins.ebook_translator.engines.base", line 196, in get_result File "mechanize_mechanize.py", line 257, in open File "mechanize_mechanize.py", line 287, in _mech_open File "mechanize_opener.py", line 193, in open File "mechanize_urllib2_fork.py", line 425, in _open File "mechanize_urllib2_fork.py", line 414, in _call_chain File "mechanize_urllib2_fork.py", line 1283, in https_open File "mechanize_urllib2_fork.py", line 1240, in do_open urllib.error.URLError:

lqh771 commented 2 months ago

deepl 可以 但谷歌免费就不行

lqh771 commented 2 months ago

deepl也不行。。

bookfere commented 2 months ago

由于错误信息中没有足够的线索排查问题,你可能需要按照下面的步骤再排查一下:

  1. 你使用的是否是最新版本插件,如果不是请下载安装最新版本插件;
  2. 如果翻译服务需要使用代理访问,你需要设置可正常使用的代理;
  3. 你可使用插件设置中的测试功能测试,看能否出现更具体的错误信息。
gengmu commented 1 month ago

应该calibre版本问题,我安装7.10.0后出现上面的问题,退回7.7.0版本后正常了

wenzy commented 1 month ago

我退回7.7.0也是一样不行。 google free不行;deepl free 有带宽和数量限制;microsoft edge free可以。

anging commented 1 month ago

遇到一模一样的问题,不论选择哪个引擎,测试功能和正常使用时都会报错 系统win 10 插件版本2.3.4. calibre版本:7.11(旧版也安装过,也是同样报错 捕获