#6513 请检查appid是否正确,或是否已开通对应服务服务是否开通:Traceback (most recent call last): File

116.10.**5 Posted at: 1 day ago

请检查appid是否正确,或是否已开通对应服务服务是否开通:Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\_runner.py", line 63, in run
File "videotrans\translator\_base.py", line 68, in run
File "videotrans\translator\_base.py", line 107, in _run_text
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_baidu.py", line 43, in _item_task
videotrans.configure.excepts.StopTask: 请检查appid是否正确,或是否已开通对应服务服务是否开通


=
system:Windows-10-10.0.26200-SP0
version:v4.08
frozen:True
language:zh
root_dir:D:/pytran

1 Replies

这是百度翻译渠道的鉴权/开通失败提示,常见原因及解决方案如下:

  1. AppID 不正确:请重新核对在 菜单 → 翻译设置 → 百度翻译 中填写的 AppID 和密钥(Secret Key),注意不要有多余空格,不要混淆 AppID 与密钥。
  2. 未开通服务或欠费:请登录百度翻译开放平台,确认已创建应用并成功开通“通用文本翻译”服务,且账户状态正常、无欠费。
  3. IP 限制:百度翻译标准版仅限中国大陆 IP 使用,若使用了代理/海外网络,会导致鉴权失败,请关闭代理后重试。
  4. 若以上均正常:可能是短时接口异常,可稍后重试,或暂时切换为其他免费渠道(如 Google、微软,或内置 M2M100)继续任务。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Dondate via PayPal

Related resource