#8583 Error during TTS dubbing stage [ChatterBox(Built-in)] ChatterBox-TTS dubbing errorTraceback (most recent call last):

91.255**7 Posted at: 1 hour ago

Error during TTS dubbing stage [ChatterBox(Built-in)] ChatterBox-TTS dubbing error
Traceback (most recent call last):

File "/Users/videomaker/Desktop/Translate video/pyvideotrans/videotrans/task/job.py", line 35, in run

self.process_task(trk)

File "/Users/videomaker/Desktop/Translate video/pyvideotrans/videotrans/task/job.py", line 155, in process_task

trk.dubbing()

File "/Users/videomaker/Desktop/Translate video/pyvideotrans/videotrans/task/_stage_dubbing.py", line 24, in dubbing

self._tts()

File "/Users/videomaker/Desktop/Translate video/pyvideotrans/videotrans/task/_stage_dubbing.py", line 101, in _tts

run_tts(

File "/Users/videomaker/Desktop/Translate video/pyvideotrans/videotrans/tts/__init__.py", line 132, in run

return _cls(**kwargs).run()  # type:ignore

File "/Users/videomaker/Desktop/Translate video/pyvideotrans/videotrans/tts/_base.py", line 98, in run

self._exec()

File "/Users/videomaker/Desktop/Translate video/pyvideotrans/videotrans/tts/_chatterbox.py", line 97, in _exec

raise _except if _except else DubbingSrtError('ChatterBox-TTS dubbing error')

videotrans.configure.excepts.DubbingSrtError: ChatterBox-TTS dubbing error
trk=[TransCreate]: uuid='111fc355a1', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 批量翻译模式
原始输入文件名: /Users/videomaker/Downloads/Audio da tradurre/9.mp3,
输出结果保存到文件夹: /Users/videomaker/Downloads/Audio da tradurre/_video_out/9-mp3,
临时文件夹: /Users/videomaker/Desktop/Translate video/pyvideotrans/tmp/81881/111fc355a1
已选 清理已存在
未启用CUDA加速
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Italian, , 数据类型:default
TranslateSrt:Google Translate (Free),原始语言:Italian,目标语言:English, 已选 SendSRT, settings.get('trans_thread')=5, settings.get('aitrans_thread')=40
TTS Service:ChatterBox(Built-in), 角色:clone, 配音语言:English, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: Hard Subtitles , precent=15, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=False, is_copy_video=False, video_codec_num=264, ignore_align=False, is_audio_trans=True, clone_ref='', should_recogn2=False, do_diarize=False


=
system:macOS-26.6.2-arm64-arm-64bit
version:v4.17
frozen:False
language:en_US
root_dir:/Users/videomaker/Desktop/Translate video/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]

1 Replies

#1 DeepSeek reply at 1 hour ago

The shared traceback alone does not reveal the root cause: _chatterbox.py discards the underlying exception and raises only the generic DubbingSrtError('ChatterBox-TTS dubbing error'), so the actual failure appears in the log lines above that traceback.

The three most common causes for ChatterBox (Built-in) failing on macOS source deployment:

  1. Missing auxiliary files (most likely): ChatterBox needs 2 extra files besides the model — features.msgpack and weights.npz. If the automatic download from github.com failed (common on macOS without a proxy), dubbing fails immediately.

  2. Incomplete model download: verify 软件目录/models/models--ResembleAI--chatterbox contains the full model. If it is partial, delete it and let it re-download, or download manually from https://huggingface.co/ResembleAI/chatterbox/tree/main.
  3. Invalid clone reference audio: you selected 角色:clone. Clone slices reference audio from the original file at the subtitle timing, so the subtitle segments must be long enough.

    • In 菜单 → 工具/选项 → 高级选项 → 语音识别(ASR), set 最短语音时长(ms) to ≥ 3000 and 最长语音时长(s) to 5~10.
    • Re-run with 清除输出 checked.

Further troubleshooting:

  • Run uv sync again in the project directory and confirm the command line can reach https://github.com (chatterbox-tts installation fails otherwise).
  • Try a non-clone voice (any fixed voice) to determine whether the fault is in the model/reference audio or in the channel as a whole.

If the issue persists, provide the log file in the logs/ folder (the ~30 lines just before this traceback) so the real exception can be identified.

Please refer to the related documentation:

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