#4547 TaskCfgSTS(is_cuda=False, uuid='b3096996f0', cache_folder=None, target_dir='C:/Users/Administrator/Documents/Downloads/w

64.118* Posted at: 19 hours ago 👁18

翻译字幕阶段出错 [DeepLx] 503 Server Error: Service Unavailable for url: http://localhost:1188/translate
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 98, in run
File "videotrans\translator\_base.py", line 119, 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\task\job.py", line 173, in run
File "videotrans\task\_translate_srt.py", line 44, in trans
File "videotrans\translator\__init__.py", line 1015, in run
File "videotrans\translator\_base.py", line 100, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_deeplx.py", line 63, in _item_task
File "requests\models.py", line 1026, in raise_for_status
requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: http://localhost:1188/translate
TaskCfgSTS(is_cuda=False, uuid='b3096996f0', cache_folder=None, target_dir='C:/Users/Administrator/Documents/Downloads/win-pyvideotrans-v3.99-0508/output/translate', source_language=None, source_language_code='EN-US', source_sub='D:/[English (auto-generated)] Fulfill - Oom Eisaya & Bam Saralee I Time to Talk EP.64 [DownSub.com].srt', source_wav=None, source_wav_output=None, target_language=None, target_language_code='ZH-HANS', target_sub='C:/Users/Administrator/Documents/Downloads/win-pyvideotrans-v3.99-0508/output/translate/[English (auto-generated)] Fulfill - Oom Eisaya & Bam Saralee I Time to Talk EP.64 [DownSub.com].ZH-HANS.srt', target_wav=None, target_wav_output=None, name='D:/[English (auto-generated)] Fulfill - Oom Eisaya & Bam Saralee I Time to Talk EP.64 [DownSub.com].srt', noextname='[English (auto-generated)] Fulfill - Oom Eisaya & Bam Saralee I Time to Talk EP.64 [DownSub.com]', basename='[English (auto-generated)] Fulfill - Oom Eisaya & Bam Saralee I Time to Talk EP.64 [DownSub.com].srt', ext='srt', dirname='D:/', shound_del_name=None, translate_type=17)


=
system:Windows-10-10.0.22631-SP0
version:v3.99
frozen:True
language:zh
root_dir:C:/Users/Administrator/Documents/Downloads/win-pyvideotrans-v3.99-0508

1 Replies

DeepLX 翻译服务报 503 Service Unavailable,说明本地部署的 DeepLX 服务未正常运行或未启动。

解决方案:

  1. 确认 DeepLX 服务是否已启动:检查终端/命令行窗口是否仍在运行 DeepLX 服务,且监听端口为 1188
  2. 重新启动 DeepLX 服务:若未启动,请重新运行 DeepLX 程序。部署方法可参考下方文档。
  3. 切换其他翻译渠道:临时改用 Google、微软翻译或百度翻译等渠道继续处理,避免延误任务。
  4. 检查防火墙/代理:确保无防火墙阻止 localhost:1188 的本地连接。

请查阅相关文档:

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.

Related resource