Closed compwright closed 10 years ago
I also get an error when running the fingerprint_file()
method:
Traceback (most recent call last):
File "go.py", line 64, in <module>
djv.fingerprint_file(filepath)
File "/Users/jhill/Sites/dejavu/dejavu/__init__.py", line 89, in fingerprint_file
song_name=song_name)
File "/Users/jhill/Sites/dejavu/dejavu/__init__.py", line 162, in _fingerprint_worker
channels, Fs = decoder.read(filename, limit)
File "/Users/jhill/Sites/dejavu/dejavu/decoder.py", line 29, in read
audiofile = AudioSegment.from_file(filename)
File "build/bdist.macosx-10.9-intel/egg/pydub/audio_segment.py", line 235, in from_file
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 524, in call
return Popen(*popenargs, **kwargs).wait()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Tracing through the code seems to implicate the pydub
package; perhaps it is not installed correctly?
ack, didn't have ffmpeg installed. A quick brew install ffmpeg
fixed everything.
When running the following:
I get the following error:
I have confirmed that the file does indeed exist. Is the real error being obscured by the multiprocessing? What should I do to fix this error?