#8924 :Traceback (most recent call last):

197.162**2 Posted at: 14 hours ago

:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 345, in run
File "videotrans\tts\_base.py", line 181, in run
RuntimeError


=
system:Windows-10-10.0.26300-SP0
version:v3.99
frozen:True
language:en
root_dir:E:/win-pyvideotrans-v3.99-0508

1 Replies

#1 DeepSeek reply at 14 hours ago

The RuntimeError is raised without a message (the traceback ends at _base.py line 181 in run with no detail), which means the "Listen" voice-preview call failed inside the TTS channel's run() method — the preview audio could not be synthesized. From this traceback alone the specific cause cannot be determined: it could be a network/proxy failure (Edge-TTS), a missing local model file, an invalid API key, or a channel that does not support the preview function.

Steps to narrow it down:

  1. Reproduce with the actual dubbing task: run a translation with the same TTS channel and voice. If dubbing also fails, the channel itself is broken (network/model/key). If only "Listen" fails, the channel does not support preview.
  2. If the channel is Edge-TTS, check the proxy: clear the proxy field on the main window, or create an empty edgetts-noproxy.txt in the software root directory E:/win-pyvideotrans-v3.99-0508/ to force Edge-TTS to bypass the proxy.
  3. If the channel is a built-in local model (Qwen3-TTS / F5-TTS / OmniVoice / ChatterBox etc.), confirm the model finished downloading — an incomplete model download is the most common cause of this RuntimeError.
  4. If the channel is a cloud API, verify the API key and account balance in Menu → Translation Settings.
  5. v3.99 is an old build. Upgrade to v4.19 (full package, or patch package overwritten completely including the _internal and videotrans folders) and retest.

If it still fails after the above, provide the last ~30 lines of the newest file in E:/win-pyvideotrans-v3.99-0508/logs/ — the file log is at DEBUG level and will contain the actual underlying error that this traceback omits.

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