#6786 版本号v1.09 压缩包下载 win11INFO:VideoTrans:开始翻译INFO:VideoTrans:data,i=0, {'text': 'Vá, vá logo.', 'source_lang': 'auto', 'targe

2401:**: Posted at: 7 hours ago

版本号v1.09 压缩包下载 win11
INFO:VideoTrans:开始翻译
INFO:VideoTrans:data,i=0, {'text': 'Vá, vá logo.', 'source_lang': 'auto', 'target_lang': 'EN'}
INFO:VideoTrans:DeepLx response.text='{"code":200,"data":"","id":1000000,"method":"Official API","source_lang":"auto","target_lang":"EN"}'
INFO:VideoTrans:第2次出错重试
INFO:VideoTrans:data,i=0, {'text': 'Vá, vá logo.', 'source_lang': 'auto', 'target_lang': 'EN'}
INFO:VideoTrans:DeepLx response.text='{"code":200,"data":"","id":1000000,"method":"Official API","source_lang":"auto","target_lang":"EN"}'
INFO:VideoTrans:第3次出错重试
INFO:VideoTrans:data,i=0, {'text': 'Vá, vá logo.', 'source_lang': 'auto', 'target_lang': 'EN'}
INFO:VideoTrans:DeepLx response.text='{"code":200,"data":"","id":1000000,"method":"Official API","source_lang":"auto","target_lang":"EN"}'
INFO:VideoTrans:第4次出错重试
INFO:VideoTrans:data,i=0, {'text': 'Vá, vá logo.', 'source_lang': 'auto', 'target_lang': 'EN'}
INFO:VideoTrans:DeepLx response.text='{"code":200,"data":"","id":1000000,"method":"Official API","source_lang":"auto","target_lang":"EN"}'
INFO:VideoTrans:第5次出错重试
INFO:VideoTrans:data,i=0, {'text': 'Vá, vá logo.', 'source_lang': 'auto', 'target_lang': 'EN'}
INFO:VideoTrans:DeepLx response.text='{"code":200,"data":"","id":1000000,"method":"Official API","source_lang":"auto","target_lang":"EN"}'
ERROR:VideoTrans:[error]: 5次重试后依然出错:response.text='{"code":200,"data":"","id":1000000,"method":"Official API","source_lang":"auto","target_lang":"EN"}'

1 Replies

#1 DeepSeek reply at 7 hours ago

这是 DeepLx 翻译服务返回了异常空数据导致的。日志中 DeepLx 响应内容为 {"code":200,"data":""},即服务端已响应 HTTP 请求,但 data 字段为空字符串,没有返回实际译文,因此软件连续重试 5 次后停止。

请在确认 DeepLx 服务可用时按以下步骤排查:

  1. 检查 DeepLx 服务端本身是否正常:

    • 若为本地部署,确认 DeepLx 进程已启动且日志里没有上游请求失败记录;
    • 若为远程公共 DeepLx 服务,可先单独用浏览器/工具访问该接口,看是否能正常返回非空 data
  2. 更换或重配 DeepLx 上游源:

    • DeepLx 的实质翻译能力依赖其配置的免费源或官方 API 源。若上游源被限流、失效或配额用尽,就会出现 code:200data:"" 的情况;
    • 可尝试更换其他可用的 DeepLx 免费源地址,或直接改用其他翻译渠道。
  3. 临时更换翻译渠道继续任务:

    • 例如改用 DeepSeek(需自行到 DeepSeek 开放平台申请 API Key)或 Google 翻译Microsoft 翻译,避免任务被阻塞。
  4. 更新软件版本:

    • 你提供的版本号 v1.09 明显过旧,当前最新版本为 v4.10。旧版本对 DeepLx 的适配可能存在兼容问题,建议下载最新完整包或补丁包覆盖后重试。
    • 下载地址:https://pyvideotrans.com/downpackage

如果更换翻译渠道后仍失败,或你希望继续排查 DeepLx 问题,请提供软件安装目录下 logs/ 文件夹中最新日志文件的部分内容,以及 DeepLx 服务端的运行日志。

请查阅相关文档:

Thinking...
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

Related resource