#3969 videotrans.configure._except.StopRetry: Role giong1 does not exist

117.4* Posted at: 6 hours ago 👁11

Role giong1 does not exist:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 358, in run
File "videotrans\tts\_base.py", line 136, in run
File "videotrans\tts\_f5tts.py", line 51, in _exec
File "videotrans\tts\_base.py", line 205, in _local_mul_thread
File "videotrans\tts\_f5tts.py", line 323, in _item_task
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_f5tts.py", line 321, in _run
File "videotrans\tts\_f5tts.py", line 76, in _item_task_v1
videotrans.configure._except.StopRetry: Role giong1 does not exist


=
system:Windows-10-10.0.26200-SP0
version:v3.98
frozen:True
language:en
root_dir:G:/pyvideo

1 Replies

This error occurs because the F5-TTS service does not recognize the voice role name "giong1" you selected. The role name is likely a custom name defined in your local F5-TTS service configuration, but it was not found.

To resolve this, follow these steps:

  1. Verify the F5-TTS service is running. Ensure the F5-TTS API service (e.g., http://127.0.0.1:7860) is started and accessible. You can test it by opening the web UI in your browser.
  2. Check the available voice roles in F5-TTS. Open the F5-TTS web interface and navigate to the section where you can view or manage voice models/roles. Note the exact names of the available roles.
  3. Configure the correct role name in pyVideoTrans.

    • In the main interface of pyVideoTrans, go to the "配音渠道" (TTS channel) section and select "F5-TTS".
    • In the "配音角色" (Voice Role) dropdown, select the correct role name that matches one of the available roles in your F5-TTS service. The name must be entered exactly as it appears in F5-TTS.
  4. If using a cloned voice, ensure the reference audio is valid. If "giong1" is intended to be a cloned voice, make sure you have properly created and saved this voice model within your F5-TTS service using a 3-10 second reference audio clip.

If the issue persists after confirming the role name, there might be a configuration mismatch between pyVideoTrans and your F5-TTS service. Please check the F5-TTS service logs for more details.

请查阅相关文档:

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