翻译字幕阶段出错 [CAMB AI] Bad Request
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 97, in run
File "videotrans\translator\_base.py", line 161, 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 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 1046, in run
File "videotrans\translator\_base.py", line 100, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_camb.py", line 98, in _item_task
File "camb\translation\client.py", line 92, in translation_stream
File "camb\translation\raw_client.py", line 121, in translation_stream
camb.core.api_error.ApiError: headers: {'content-length': '147', 'content-type': 'application/json', 'date': 'Wed, 06 May 2026 08:12:59 GMT', 'server': 'envoy', 'x-envoy-upstream-service-time': '9'}, status_code: 400, body: {'status_code': 400, 'message': 'Bad Request', 'payload': 'Your plan only allows 1000 characters per request. Upgrade your plan to increase the limit.'}
TaskCfgSTS(is_cuda=False, uuid='21dacce092', cache_folder=None, target_dir='F:/pyvideotrans-v3.99-428/output/translate', source_language=None, source_language_code='en', source_sub='C:/Users/USER/Videos/pyvideotrans/recogn/BackroomCastingCouch.26.05.04.Lacee.Lusty.Lacees.Plan.B.XXX.1080p.MP4-PXXBAY.srt', source_wav=None, source_wav_output=None, target_language=None, target_language_code='zh-tw', target_sub='F:/pyvideotrans-v3.99-428/output/translate/BackroomCastingCouch.26.05.04.Lacee.Lusty.Lacees.Plan.B.XXX.1080p.MP4-PXXBAY.zh-tw.srt', target_wav=None, target_wav_output=None, name='C:/Users/USER/Videos/pyvideotrans/recogn/BackroomCastingCouch.26.05.04.Lacee.Lusty.Lacees.Plan.B.XXX.1080p.MP4-PXXBAY.srt', noextname='BackroomCastingCouch.26.05.04.Lacee.Lusty.Lacees.Plan.B.XXX.1080p.MP4-PXXBAY', basename='BackroomCastingCouch.26.05.04.Lacee.Lusty.Lacees.Plan.B.XXX.1080p.MP4-PXXBAY.srt', ext='srt', dirname='C:/Users/USER/Videos/pyvideotrans/recogn', shound_del_name=None, translate_type=24)
=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:zh
root_dir:F:/pyvideotrans-v3.99-428