From e75036adde4946edb01dce9d21a1e1aebc32a795 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 6 Mar 2009 05:09:24 +0900 Subject: [PATCH] mention sox failure --- anki/sound.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/anki/sound.py b/anki/sound.py index f3faecfa8..873519f9f 100644 --- a/anki/sound.py +++ b/anki/sound.py @@ -164,7 +164,13 @@ class _Recorder(object): #print c ret = retryWait(subprocess.Popen(c, startupinfo=si)) if ret: - raise Exception("Problem with" + str(c)) + raise Exception(_(""" +Error processing audio. + +If you're on Linux and don't have sox 14.1+, you +need to disable normalization. See the wiki. + +Command was:\n""") + " ".join(c)) class PyAudioThreadedRecorder(threading.Thread):