Quantcast
Channel: The Echo Nest Developer Forum
Viewing all articles
Browse latest Browse all 1582

Error with LocalAudioFile(file) returns OSError: [Errno 2] No such file or directory

$
0
0

Hey,

I am using the echonest remix python library and for some reason I keep heading into this problem. Regardless of anything I do or even moving the file to the same folder the same error seems to pop up. Please advise. This is the same case for both my Mac and my linux computer.

audiofile = audio.LocalAudioFile(file) ['en-ffmpeg', '-i', '/home/ubuntu/test.mp3', '-y', '-ac', '2', '-ar', '44100', '/tmp/tmp9tU11T.wav'] Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/dist-packages/echonest/remix/audio.py", line 944, in init sampleRate=sampleRate, numChannels=numChannels) File "/usr/local/lib/python2.7/dist-packages/echonest/remix/audio.py", line 403, in init self.load() File "/usr/local/lib/python2.7/dist-packages/echonest/remix/audio.py", line 421, in load numChannels=self.numChannels, sampleRate=self.sampleRate, verbose=self.verbose) File "/usr/local/lib/python2.7/dist-packages/echonest/remix/support/ffmpeg.py", line 88, in ffmpeg close_fds=(not win) File "/usr/lib/python2.7/subprocess.py", line 710, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in executechild raise child_exception OSError: [Errno 2] No such file or directory


Viewing all articles
Browse latest Browse all 1582

Trending Articles