#1108 tencentcloud.common.exception.tencent_cloud_sdk_exception.TencentCloudSDKException: [TencentCloudSDKException] code:Fail

125.75* Posted at: 1 day ago 👁17

Service has not been opened, please open service at Tencent Cloud console:Traceback (most recent call last):
File "videotrans\translator\_base.py", line 81, in run
File "videotrans\translator\_base.py", line 99, 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 19, in run
File "videotrans\translator\__init__.py", line 863, in run
File "videotrans\translator\_base.py", line 83, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_tencent.py", line 60, 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:8aaf445e-3c92-48a7-bad2-8128fcd7b7df


=
system:Windows-10-10.0.17763-SP0
version:v3.82
frozen:True
language:zh
root_dir:G:/Udemy/3tanslar/win-videotrans-v3.82_20251019_125144

1 Replies

这个错误表明您选择的腾讯云翻译服务尚未开通。错误信息 "Service has not been opened, please open service at Tencent Cloud console" 明确指出需要在腾讯云控制台开通相应的服务。

请按以下步骤解决:

  1. 登录腾讯云控制台:访问 腾讯云官网 并登录您的账号。
  2. 开通机器翻译服务

    • 在控制台搜索或找到 "机器翻译"(TMT)服务。
    • 进入服务页面,点击"立即开通"或类似按钮。
    • 按照提示完成实名认证(如果需要)和服务开通流程。
  3. 获取并配置密钥

    • 开通服务后,在腾讯云控制台的 访问管理 页面创建或获取您的 SecretIdSecretKey
    • 在 pyVideoTrans 软件中,进入 菜单 -> 翻译设置
    • 在"翻译渠道"中选择"腾讯翻译",然后将获取到的 SecretIdSecretKey 正确填写到对应的输入框中。

完成以上步骤后,腾讯云翻译服务应该就能正常使用了。如果问题依旧,请确保您的腾讯云账户余额充足,且机器翻译服务在您所在区域可用。

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