pysox icon indicating copy to clipboard operation
pysox copied to clipboard

sox.core.SoxiError: SoXI failed with exit code 1

Open wanghaisheng opened this issue 2 years ago • 0 comments


Exception in Tkinter callback
Traceback (most recent call last):
  File "D:\Program Files\anaconda3\lib\site-packages\sox\core.py", line 147, in soxi
    shell_output = subprocess.check_output(
  File "D:\Program Files\anaconda3\lib\subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "D:\Program Files\anaconda3\lib\subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['sox', '--i', '-D', 'D:\\Download\\audio-visual\\make-reddit-video\\auddit\\data\\raw\\trashy\\sound\\N2VudGNs\\N2VudGNs.mp3']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

    secs = sox.file_info.duration(titleaudiopath)
  File "D:\Program Files\anaconda3\lib\site-packages\sox\file_info.py", line 122, in duration
    output = soxi(input_filepath, 'D')
  File "D:\Program Files\anaconda3\lib\site-packages\sox\core.py", line 153, in soxi
    raise SoxiError("SoXI failed with exit code {}".format(cpe.returncode))
sox.core.SoxiError: SoXI failed with exit code 1

N2VudGNs.zip

wanghaisheng avatar Sep 13 '21 13:09 wanghaisheng