#4682 videotrans.configure.excepts.DubbingSrtError: All error for edge-tts

209.141* Posted at: 11 hours ago 👁24

All error for edge-tts
Traceback (most recent call last):
File "videotrans\tts\_base.py", line 81, in run
RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 84, in run
File "videotrans\task\trans_create.py", line 630, in dubbing
File "videotrans\task\trans_create.py", line 931, in _tts
File "videotrans\tts\__init__.py", line 181, in run
File "videotrans\tts\_base.py", line 85, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "videotrans\tts\_edgetts.py", line 200, in _exec
videotrans.configure.excepts.DubbingSrtError: All error for edge-tts


=
system:Windows-10-10.0.19045-SP0
version:v4.00
frozen:True
language:zh
root_dir:D:/Program Files/win-pyvideotrans-v4.00-522

1 Replies

这是由于 Edge-TTS 的异步事件循环未能正确初始化,通常发生在并发线程数过高时,子线程缺少运行中的事件循环导致。

解决方案:

  1. 降低 Edge-TTS 并发数:点击顶部菜单 工具/选项高级选项字幕配音调整,将 EdgeTTS配音渠道配音并发数 设为 1
  2. 增加配音后暂停秒数:同样在 字幕配音调整 中,将 配音后暂停秒 设为 5 或更高。
  3. 确保完整版安装:若你是通过升级补丁覆盖的,请重新下载完整版软件包(v4.00),解压到非系统盘且路径无中文的目录下运行。
  4. 重启软件:修改后关闭并重新启动软件,再次尝试。

若仍失败,请提供 logs/ 目录下最新的日志文件底部 30 行内容以便进一步分析。

请查阅相关文档:

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.

Related resource