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

Where is AllOnTheOne.mp3?

$
0
0

Still confounded on this. Thought maybe it could be a permissions issue so tried running add_blips using sudo and get following errors. Not sure if they will shed any light.

$ sudo python add_blips.py DrumnBangStereoMix.mp3 DrumnBangStereoMix_blips.mp3 beats bars
Password:
blipping beats.
blipping bars.
en-ffmpeg -i "DrumnBangStereoMix.mp3" -y -ac 2 -ar 44100 "/tmp/tmpE5TdpN.wav"
Computed MD5 of file is ab3cf10d3c06eff8cf8ff87d9b04e9bb
Probing for existing analysis
Analysis not found. Uploading...
Traceback (most recent call last):
  File "add_blips.py", line 123, in <module>
    main(input_filename, output_filename, tatums, beats, bars)
  File "add_blips.py", line 43, in main
    audiofile = audio.LocalAudioFile(input_filename)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/echonest/remix/audio.py", line 936, in __init__
    tempanalysis = AudioAnalysis(filename)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/echonest/remix/audio.py", line 125, in __init__
    self.pyechonest_track = track.track_from_filename(initializer)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyechonest/track.py", line 271, in track_from_filename
    result = track_from_file(file_object, filetype, timeout, force_upload)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyechonest/track.py", line 252, in track_from_file
    return _track_from_data(file_object.read(), filetype, timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyechonest/track.py", line 223, in _track_from_data
    return _upload(param_dict, timeout, data = audio_data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyechonest/track.py", line 208, in _upload
    result = util.callm('track/upload', param_dict, POST = True, socket_timeout = 300,  data = data) 
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyechonest/util.py", line 241, in callm
    response_dict = get_successful_response(f)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyechonest/util.py", line 111, in get_successful_response
    raise EchoNestAPIError(code, message, headers)
pyechonest.util.EchoNestAPIError: (u'Echo Nest API Error 1: 1|Invalid key: Unknown',)

My key is returned by:

from pyechonest import config
print config.ECHO_NEST_API_KEY

Viewing all articles
Browse latest Browse all 1582

Trending Articles