|
Hello, I've just installed echonest as per the instructions here (I'm on kubuntu 9)
http://code.google.com/p/echo-nest-remix/wiki/DebianLinuxInstallation
I've edited my config
API_KEY = 'VXLQXXXXXXXXXXKX2E'
(tried it with and without quotes)
when I try to run this
python drums.py music/HereComesTheSun.mp3 breaks/AmenBrother.wav HereComesTheDrums.mp3 64 4 0.6
I get this
Computed MD5 of file is d397fdc0f1e91106379fc3c4e2a22785
Probing for existing analysis
Traceback (most recent call last):
File "drums.py", line 146, in
measures, mix)
File "drums.py", line 71, in main
audiofile = audio.LocalAudioFile(input_filename)
File "/usr/local/lib/python2.6/dist-packages/echonest/audio.py", line 819, in init
tempanalysis.duration
File "/usr/local/lib/python2.6/dist-packages/echonest/audio.py", line 146, in getattribute
value = getter(object.getattribute(self, 'id'))
File "/usr/local/lib/python2.6/dist-packages/echonest/web/analyze.py", line 82, in get_duration
return util.apiFunctionPrototype( 'get_duration', id )
File "/usr/local/lib/python2.6/dist-packages/echonest/web/util.py", line 38, in apiFunctionPrototype
return parseXMLString(f.read())
File "/usr/local/lib/python2.6/dist-packages/echonest/web/util.py", line 85, in parseXMLString
raise EchoNestAPIKeyError(status_code, status_message)
echonest.web.util.EchoNestAPIKeyError: Echo Nest API Error 12: Invalid API key
I'm guessing the last line is the relevant one, any suggestions on how to fix it?
|