字幕翻译结束等待下一步
配音阶段
Traceback (most recent call last):
File "d:\pyvideotrans\videotrans\tts\_base.py", line 127, in run
loop = asyncio.get_running_loop()RuntimeError: no running event loop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\pyvideotrans\videotrans\tts\_edgetts.py", line 61, in _create_audio_with_retry
communicate = Communicate(File "d:\pyvideotrans.venv\lib\site-packages\edge_tts\communicate.py", line 333, in init
self.tts_config = TTSConfig(voice, rate, volume, pitch, boundary)File "", line 8, in init
File "d:\pyvideotrans.venv\lib\site-packages\edge_tts\data_classes.py", line 54, in post_init
raise TypeError("voice must be str")TypeError: voice must be str
Traceback (most recent call last):
File "d:\pyvideotrans\videotrans\tts\_base.py", line 127, in run
loop = asyncio.get_......
", line 54, in post_init
raise TypeError("voice must be str")TypeError: voice must be str
Traceback (most recent call last):
File "d:\pyvideotrans\videotrans\tts\_base.py", line 127, in run
loop = asyncio.get_running_loop()RuntimeError: no running event loop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\pyvideotrans\videotrans\tts\_edgetts.py", line 61, in _create_audio_with_retry
communicate = Communicate(File "d:\pyvideotrans.venv\lib\site-packages\edge_tts\communicate.py", line 333, in init
self.tts_config = TTSConfig(voice, rate, volume, pitch, boundary)File "", line 8, in init
File "d:\pyvideotrans.venv\lib\site-packages\edge_tts\data_classes.py", line 54, in post_init
raise TypeError("voice must be str")TypeError: voice must be str
Traceback (most recent call last):
File "d:\pyvideotrans\videotrans\tts\_base.py", line 127, in run
loop = asyncio.get_running_loop()RuntimeError: no running event loop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\pyvideotrans\videotrans\tts\_edgetts.py", line 61, in _create_audio_with_retry
communicate = Communicate(File "d:\pyvideotrans.venv\lib\site-packages\edge_tts\communicate.py", line 333, in init
self.tts_config = TTSConfig(voice, rate, volume, pitch, boundary)File "", line 8, in init
File "d:\pyvideotrans.venv\lib\site-packages\edge_tts\data_classes.py", line 54, in post_init
raise TypeError("voice must be str")TypeError: voice must be str
Traceback (most recent call last):
File "d:\pyvideotrans\videotrans\tts\_base.py", line 127, in run
loop = asyncio.get_running_loop()RuntimeError: no running event loop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\pyvideotrans\videotrans\tts\_edgetts.py", line 61, in _create_audio_with_retry
communicate = Communicate(File "d:\pyvideotrans.venv\lib\site-packages\edge_tts\communicate.py", line 333, in init
self.tts_config = TTSConfig(voice, rate, volume, pitch, boundary)File "", line 8, in init
File "d:\pyvideotrans.venv\lib\site-packages\edge_tts\data_classes.py", line 54, in post_init
raise TypeError("voice must be str")TypeError: voice must be str
[67] errors, 0 succeed
Traceback (most recent call last):
File "d:\pyvideotrans\videotrans\tts\_base.py", line 127, in run
loop = asyncio.get_running_loop()RuntimeError: no running event loop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\pyvideotrans\cli.py", line 490, in
main()File "d:\pyvideotrans\cli.py", line 479, in main
vtv_fun({**common_params, **vtv_params})File "d:\pyvideotrans\cli.py", line 281, in vtv_fun
trk.dubbing()File "d:\pyvideotrans\videotrans\task\trans_create.py", line 702, in dubbing
self._tts()File "d:\pyvideotrans\videotrans\task\trans_create.py", line 979, in _tts
run_tts(File "d:\pyvideotrans\videotrans\tts\__init__.py", line 324, in run
EdgeTTS(**kwargs).run()File "d:\pyvideotrans\videotrans\tts\_base.py", line 189, in run
raise self.errorFile "d:\pyvideotrans\videotrans\tts\_edgetts.py", line 61, in _create_audio_with_retry
communicate = Communicate(File "d:\pyvideotrans.venv\lib\site-packages\edge_tts\communicate.py", line 333, in init
self.tts_config = TTSConfig(voice, rate, volume, pitch, boundary)File "", line 8, in init
File "d:\pyvideotrans.venv\lib\site-packages\edge_tts\data_classes.py", line 54, in post_init
raise TypeError("voice must be str")TypeError: voice must be str
d:\pyvideotrans>