#1114 翻译字幕阶段出错:[302.AI] 运行时错误:无返回翻译结果:Traceback (most recent call last): File "videotrans\task\job.py", line 146, in run Fil

91.229* Posted at: 1 day ago 👁12

翻译字幕阶段出错:[302.AI] 运行时错误:无返回翻译结果:
Traceback (most recent call last):
File "videotrans\task\job.py", line 146, in run
File "videotrans\task\_translate_srt.py", line 45, in trans
File "videotrans\translator\__init__.py", line 887, in run
File "videotrans\translator\_base.py", line 80, in run
File "videotrans\translator\_base.py", line 145, in _run_srt
RuntimeError: 无返回翻译结果

1 Replies

这个错误表明AI翻译渠道没有返回任何翻译结果。请按以下步骤排查:

  1. 检查翻译渠道设置

    • 在菜单栏选择 翻译设置,确认您选择的AI翻译渠道(如OpenAI、Gemini等)配置正确
    • 检查API密钥是否正确有效
    • 确认网络连接正常,能够访问对应的AI服务
  2. 调整翻译参数

    • 在菜单栏选择 工具/选项 -> 高级选项
    • 将"同时翻译的字幕数"设置为 1
    • 取消勾选"发送完整字幕"选项
    • 这可以避免因字幕过长或格式问题导致的翻译失败
  3. 尝试备用翻译渠道

    • 如果当前AI渠道持续失败,可暂时切换到Google、Microsoft等更稳定的翻译服务

如果问题仍然存在,请提供完整的日志文件(位于软件根目录的 logs/ 文件夹中),以便进一步分析具体原因。

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions