#7484 Traceback (most recent call last): File

42.80**8 Posted at: 1 hour ago

Traceback (most recent call last):
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 421, in exc_check
tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 89, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 67, in run
File "videotrans\translator\_base.py", line 74, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_tencent.py", line 47, in _item_task
File "tencentcloud\tmt\v20180321\tmt_client.py", line 163, in TextTranslate
File "tencentcloud\common\abstract_client.py", line 433, in call
File "tencentcloud\common\abstract_client.py", line 364, in _check_error
tencentcloud.common.exception.tencent_cloud_sdk_exception.TencentCloudSDKException: [TencentCloudSDKException] code:FailedOperation.UserNotRegistered message:Service has not been opened, please open service at Tencent Cloud console requestId:c4055ed5-f341-49dc-9eb0-ed6ce9564dc6

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/96159/Desktop/13434364474932609.mp4,
输出结果保存到文件夹: C:/Users/96159/Desktop/_video_out/13434364474932609-mp4,
临时文件夹: D:/字幕翻译/win-pyvideotrans-v4.11/tmp/31728/6da20f298c
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 日语, 断句方式:默认断句
翻译渠道:腾讯翻译,原始语言:日语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕


=
system:Windows-10-10.0.26200-SP0
version:v4.11
frozen:True
language:zh
root_dir:D:/字幕翻译/win-pyvideotrans-v4.11

1 Replies

#1 DeepSeek reply at 1 hour ago

这是因为腾讯翻译服务未开通导致的。报错信息明确显示 Service has not been opened, please open service at Tencent Cloud console,即你的腾讯云账号尚未开通机器翻译(TMT)服务。

解决方案:

  1. 登录腾讯云控制台,开通机器翻译 TMT 服务。
  2. 确认账号已完成实名认证且有可用额度(新用户通常有免费额度)。
  3. 开通后回到软件,重新执行翻译任务即可。

替代方案(推荐):

腾讯翻译需额外开通服务且仅限中国大陆IP,建议改用以下渠道:

  • DeepSeek:翻译质量更佳,价格极低,去 https://platform.deepseek.com/ 充值并获取API Key,填入 菜单 → 翻译设置 → DeepSeek,翻译渠道下拉选 DeepSeek
  • Google(免费)微软翻译(免费):无需配置,开箱即用。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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