#812 videotrans.configure._except.StopRetry: Output data may contain inappropriate content.

*228.12* Posted at: 20 hours ago 👁7

翻译字幕阶段出错:Output data may contain inappropriate content. [阿里百炼]:

Traceback (most recent call last):

File "videotrans\task\job.py", line 129, in run

File "videotrans\task\_translate_srt.py", line 48, in trans

File "videotrans\translator\__init__.py", line 800, in run

File "videotrans\translator\_base.py", line 78, in run

File "videotrans\translator\_base.py", line 155, in _run_srt

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 400, in

File "concurrent\futures\_base.py", line 439, in result

File "concurrent\futures\_base.py", line 391, in __get_result

File "tenacity\__init__.py", line 480, in __call__

File "videotrans\translator\_qwenmt.py", line 70, in _item_task

videotrans.configure._except.StopRetry: Output data may contain inappropriate content.

=====

Windows-10-10.0.22000-SP0

version:v3.80

frozen:True

language:zh

1 Replies

本条内容由 DeepSeek 回复
这个问题是在使用阿里百炼进行字幕翻译时,被阿里云的内容安全检测拦截导致的。错误信息 "Output data may contain inappropriate content" 表明阿里云认为翻译结果中可能包含不合适的内容。

解决方案:

1. 检查字幕内容:查看你要翻译的字幕中是否包含敏感词汇、不当内容或特殊符号。

2. 修改翻译渠道

  • 暂时切换到其他翻译渠道,如 Google翻译、百度翻译或腾讯翻译
  • 在软件界面左侧选择其他可用的翻译服务

3. 调整翻译设置

  • 如果必须使用阿里百炼,可以尝试减少每次翻译的字幕行数
  • 在"菜单-工具-高级选项"中,将"AI翻译每次发送字幕行数"调小(如从默认值调为1-3行)

4. 清理字幕文本

  • 在翻译前,先检查并清理字幕中的特殊字符、网址链接或可能触发内容检测的词汇

5. 等待重试

  • 阿里云的内容检测可能有误判,稍等一段时间后重试可能成功

如果问题持续存在,建议优先使用其他翻译渠道完成当前任务。

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

Trending Questions