#1144 requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://www.jiujiuai.life/v1?target_language=en&sour

125.59* Posted at: 7 days ago 👁24

操作系统错误 (None): None:Traceback (most recent call last):
File "videotrans\translator\_base.py", line 79, in run
File "videotrans\translator\_base.py", line 97, 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 421, in exc_check
tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 17, in run
File "videotrans\translator\__init__.py", line 820, in run
File "videotrans\translator\_base.py", line 81, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_transapi.py", line 44, in _item_task
File "requests\models.py", line 1026, in raise_for_status
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://www.jiujiuai.life/v1?target_language=en&source_language=zh&text=%E4%BD%A0%E5%A5%BD%E5%95%8A%E6%88%91%E7%9A%84%E6%9C%8B%E5%8F%8B&secret=sk-P18l6m2n1ourHsh312318cD7C65f4d138a683d88BeBeEdC4


=
Windows-10-10.0.19045-SP0
version:v3.80
frozen:True
language:zh

1 Replies

这个错误是由于您使用的自定义翻译API接口返回了404错误。从错误信息可以看出,软件正在尝试访问 https://www.jiujiuai.life/v1 这个自定义翻译接口,但服务器返回"Not Found"。

请按以下步骤解决:

  1. 检查API接口地址:在菜单栏选择 翻译设置,确认您使用的翻译渠道是"自定义API",然后检查API地址是否正确。这个 jiujiuai.life 地址可能已经失效或配置错误。
  2. 更换翻译渠道:建议暂时切换到其他稳定的翻译渠道,如:

    • Google翻译(免费,无需配置)
    • Microsoft翻译(需要申请免费密钥)
    • DeepSeekGemini(性能较好的AI翻译)
  3. 验证API可用性:如果您确实需要使用这个自定义API,请:

    • 在浏览器中手动测试该API地址是否能正常访问
    • 检查API密钥是否正确
    • 确认API服务是否仍在运行
  4. 查看完整日志:如果问题持续,请提供 videotrans/logs/ 目录下的完整日志文件,以便进一步分析具体配置。

建议先切换到Google翻译测试是否正常工作,然后再排查自定义API的问题。

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

Similar issues already exist

Trending Questions