#6173 Traceback (most recent call last): File

124.232* Posted at: 2 hours 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 73, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 63, 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:a7030435-23b7-4843-aa07-5100ceefb6c0

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/1/_video_out/624c59ea0be4f05dc3fcfe72042fbeb5.mp4,
输出结果保存到文件夹: D:/1/_video_out/_video_out/624c59ea0be4f05dc3fcfe72042fbeb5-mp4,
临时文件夹: D:/win-pyvideotrans-v4.07/tmp/32920/098c0ea66e
已选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 西班牙语, 断句方式:默认断句
翻译渠道:腾讯翻译,原始语言:西班牙语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Xiaoyi(Female/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入软字幕
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.07
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v4.07

1 Replies

核心原因是腾讯翻译服务未开通。日志明确报错 FailedOperation.UserNotRegistered:该腾讯云账号尚未开通机器翻译服务。

请按以下步骤解决:

  1. 登录腾讯云控制台,找到「机器翻译」服务,点击开通(通常需实名认证)。
  2. 开通后重新在软件菜单-翻译设置中填写正确的 SecretId 和 SecretKey。
  3. 若不想开通或急用,可临时切换至 Microsoft翻译Google翻译 等免费渠道。
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

Dondate via PayPal

Related resource