Skip to content

error on nvidia jeston orin nano #453

@TigerHH6866

Description

@TigerHH6866

NVIDIA Jetson Orin NX Engineering Reference Developer Kit
Package: nvidia-l4t-core
Version: 36.4.0-20240912212859
cuda 12.6

py 3.10.9
soundfile=0.12.1

using edgetts

Exception in thread Thread-2 (process_tts):
Traceback (most recent call last):
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/threading.py", line 953, in run
self._target(self._args, **self._kwargs)
File "/home/aiyo/avatarhuman/avatarhuman/ttsreal.py", line 71, in process_tts
self.txt_to_audio(msg)
File "/home/aiyo/avatarhuman/avatarhuman/ttsreal.py", line 91, in txt_to_audio
stream = self.__create_bytes_stream(self.input_stream)
File "/home/aiyo/avatarhuman/avatarhuman/ttsreal.py", line 105, in __create_bytes_stream
stream, sample_rate = sf.read(byte_stream) # [T
sample_rate,] float64
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/site-packages/soundfile.py", line 285, in read
with SoundFile(file, 'r', samplerate, channels,
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/site-packages/soundfile.py", line 658, in init
self._file = self._open(file, mode_int, closefd)
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/site-packages/soundfile.py", line 1216, in _open
raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening <_io.BytesIO object at 0xffff12dd4590>: Format not recognised.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions