#6341 :{'text': 'hello, my friend', 'role': 'Lennart Kurz', 'filename': 'D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/21400/1785

2405:**:7e14 Posted at: 6 hours ago

:
{'text': 'hello, my friend', 'role': 'Lennart Kurz', 'filename': 'D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/21400/1785854674.9756882-cambtts.wav', 'tts_type': 32}
Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 127, in iter
File "httpcore\_sync\connection_pool.py", line 367, in iter
File "httpcore\_sync\connection_pool.py", line 363, in iter
File "httpcore\_sync\http11.py", line 349, in iter
File "httpcore\_sync\http11.py", line 341, in iter
File "httpcore\_sync\http11.py", line 210, in _receive_response_body
File "httpcore\_sync\http11.py", line 224, in _receive_event
File "httpcore\_backends\sync.py", line 124, in read
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ReadTimeout: The read operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 221, in run
File "videotrans\tts\_base.py", line 130, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_cambtts.py", line 104, in _run
File "camb\text_to_speech\client.py", line 107, in tts
File "camb\text_to_speech\raw_client.py", line 136, in
File "httpx\_models.py", line 897, in iter_bytes
File "httpx\_models.py", line 951, in iter_raw
File "httpx\_client.py", line 153, in iter
File "httpx\_transports\default.py", line 126, in iter
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.ReadTimeout: The read operation timed out


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

1 Replies

这是网络请求读取超时(httpx.ReadTimeout),不是软件功能逻辑错误,根本原因是调用 CAMB TTS 接口时,服务器在预期时间内没有返回完整音频数据。

可依次尝试以下操作:

  1. 确认本机访问 CAMB AI 服务是否稳定,是否需要科学上网;若需要代理,请在主界面 网络代理 中填写正确的代理地址(如 http://127.0.0.1:端口),并确保代理可用。
  2. 如果不需要代理却填写了代理,请清空代理设置并保存,无效代理会导致所有网络请求失败。
  3. 菜单 → 工具 → 高级选项 → 通用设置 中适当调大 失败后重试次数,让软件自动重试恢复正常。
  4. 若短文本也持续超时,大概率是 CAMB 服务端响应异常或网络链路不稳,建议更换其他配音渠道(如 Edge-TTSQwen3-TTSOmniVoice)继续任务。
  5. 若仍无法解决,请提供软件安装目录下 logs/ 中最新的日志文件(复制底部约30行报错信息),以便进一步分析。打开软件时请一并确认左上角版本号 v4.08

请查阅相关文档:

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