Forums » General Discussion Search

API key confusion New Reply

Author Post
Posts: 2
Registered: Jul 03, 2009

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?

Posts: 2
Registered: Jul 03, 2009

and here's the answer http://developer.echonest.com/forums/thread/109/

put in the API key BEFORE running the install

duh

Posts: 12
Registered: Mar 13, 2009

hi v mos can you please tell me where to edit the api key i cant find where please help me my e mail is mark0@melita.com please reply to me

Reply to this Thread

You must log in to post a reply.