#3663 TaskCfgSTT(is_cuda=True, uuid='85dcbee4ea', cache_folder='/media/charlie/Tub8/Vids/pyvideotrans/tmp/40291/85dcbee4ea', t

104.234* Posted at: 1 day ago 👁24

ASR Error [Qwen-ASR(Local)] System Error (None): None
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/charlie/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/lib/python3.10/concurrent/futures/process.py", line 246, in _process_worker

r = call_item.fn(*call_item.args, **call_item.kwargs)

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/task/vad.py", line 86, in get_speech_timestamp

initial_segments = _detect_raw_segments(data, adjusted_threshold, min_sil_frames, max_speech_frames=None)

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/task/vad.py", line 234, in _detect_raw_segments

ten_vad_instance = TenVad(hop_size, threshold)

File "/media/charlie/Tub8/Vids/pyvideotrans/.venv/lib/python3.10/site-packages/ten_vad/__init__.py", line 29, in init

self.vad_library = CDLL(pip_path)

File "/home/charlie/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/lib/python3.10/ctypes/__init__.py", line 374, in init

self._handle = _dlopen(self._name, mode)

OSError: libc++.so.1: cannot open shared object file: No such file or directory
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/task/job.py", line 105, in run

trk.recogn()

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/task/_speech2text.py", line 159, in recogn

raw_subtitles = run(

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/recognition/__init__.py", line 243, in run

return QwenasrlocalRecogn(**kwargs).run()

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/recognition/_base.py", line 143, in run

res = self._exec()

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/recognition/_qwenasrlocal.py", line 40, in _exec

Path(cut_audio_list_file).write_text(json.dumps(self.cut_audio()),encoding='utf-8')

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/recognition/_base.py", line 317, in cut_audio

self._vad_split()

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/recognition/_base.py", line 121, in _vad_split

self.speech_timestamps = self._new_process(

File "/media/charlie/Tub8/Vids/pyvideotrans/videotrans/configure/_base.py", line 285, in _new_process

_rs = future.result()

File "/home/charlie/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/lib/python3.10/concurrent/futures/_base.py", line 458, in result

return self.__get_result()

File "/home/charlie/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result

raise self._exception

OSError: libc++.so.1: cannot open shared object file: No such file or directory
TaskCfgSTT(is_cuda=True, uuid='85dcbee4ea', cache_folder='/media/charlie/Tub8/Vids/pyvideotrans/tmp/40291/85dcbee4ea', target_dir='/media/charlie/Tub8/Vids/pyvideotrans/output/recogn', source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='/media/charlie/Tub8/Vids/pyvideotrans/output/recogn/Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho].srt', target_wav=None, target_wav_output=None, name='/media/charlie/Tub8/Books/Magick/Videos/Sefer_Yetzirah_Spanish/Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho].mp4', noextname='Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho]', basename='Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho].mp4', ext='mp4', dirname='/media/charlie/Tub8/Books/Magick/Videos/Sefer_Yetzirah_Spanish', shound_del_name=None, detect_language='es', recogn_type=2, model_name='1.7B', shibie_audio='/media/charlie/Tub8/Vids/pyvideotrans/tmp/40291/85dcbee4ea/Kabbalah: Sefer Yetzirah - clase 2 [2K1BYmzZrho]-1773774995.1400144.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)


=
system:Linux-6.8.0-94-generic-x86_64-with-glibc2.35
version:v3.98
frozen:False
language:en
root_dir:/media/charlie/Tub8/Vids/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:42:18) [Clang 21.1.4 ]

1 Replies

The error is caused by a missing system library (libc++.so.1) required by the ten-vad VAD (Voice Activity Detection) module on your Linux system.

Solution:

  1. Install the required C++ library. The specific package name may vary by Linux distribution.

    • For Ubuntu/Debian-based systems, run:

      sudo apt update && sudo apt install libc++1
    • For Fedora/RHEL-based systems, run:

      sudo dnf install libcxx
    • For Arch Linux, run:

      sudo pacman -S libc++
  2. After installation, restart pyVideoTrans and try the Qwen-ASR(Local) recognition again.

Alternative Workaround:
If the issue persists or you cannot install the library, you can change the VAD setting in the software to avoid using ten-vad:

  1. Go to Menu -> Tools/Options -> Advanced Options.
  2. In the Speech Recognition Parameters section, find the "Select VAD" dropdown.
  3. Change the VAD from ten-vad to silero or another available option.
  4. Click Save and restart the recognition task.

Please refer to the relevant documentation:

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