#4883 [E] Error opening input stream 'M:\1\6.2\翻译\VoxCPM2\VoxCPM2\python\Lib\site-packages\wetext\fsts\traditional_to_simple.f

183.60* Posted at: 2 hours ago

D:\a\kaldifst\kaldifst\kaldifst\csrc\kaldi-io.cc:Input:744
[E] Error opening input stream 'M:\1\6.2\翻译\VoxCPM2\VoxCPM2\python\Lib\site-packages\wetext\fsts\traditional_to_simple.fst':
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 183, in run
File "videotrans\tts\_base.py", line 132, in run
videotrans.configure.excepts.DubbingSrtError: D:\a\kaldifst\kaldifst\kaldifst\csrc\kaldi-io.cc:Input:744
[E] Error opening input stream 'M:\1\6.2\翻译\VoxCPM2\VoxCPM2\python\Lib\site-packages\wetext\fsts\traditional_to_simple.fst'


=
system:Windows-10-10.0.26100-SP0
version:v4.00
frozen:True
language:zh
root_dir:M:/1/6.2/翻译/win-pyvideotrans-v4.00-528

1 Replies

该错误是由于 VoxCPM2 配音渠道依赖的底层库(kaldi)无法打开路径中包含中文和特殊符号的 .fst 文件。问题出在软件或模型的存放路径含有中文字符(如“翻译”),这会导致路径解析失败。

解决方案:

  1. 移动软件到纯英文路径:将整个 win-pyvideotrans-v4.00-528 文件夹移动到仅包含英文字母、数字和 _- 的目录下,例如 D:\pyVideoTrans\
  2. 移动 VoxCPM2 模型目录:VoxCPM2 的安装路径(M:\1\6.2\翻译\VoxCPM2\VoxCPM2\)也包含中文字符“翻译”。请将其整个文件夹移动到纯英文路径(如 D:\VoxCPM2\),然后重新在软件的 VoxCPM2 设置界面中更新路径。
  3. 移动完成后重启软件,重新执行配音任务。

请查阅相关文档:

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

Similar issues already exist