Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range in song.Song('<invalid id>') #34

Open
hmdavis opened this issue May 5, 2015 · 0 comments
Open

IndexError: list index out of range in song.Song('<invalid id>') #34

hmdavis opened this issue May 5, 2015 · 0 comments

Comments

@hmdavis
Copy link

hmdavis commented May 5, 2015

example from documentation: s = song.Song('SOPEXHZ12873FD2AC7)'

calls this request: http://developer.echonest.com/api/v4/song/profile?api_key=&id=SOPEXHZ12873FD2AC7

which returns successfully despite not having any results in "songs"

as a result, this initialization results in the following stack trace:

Traceback (most recent call last):
  File "chordials.py", line 51, in <module>
    s = song.Song('SOPEXHZ12873FD2AC7')
  File "build/bdist.macosx-10.9-intel/egg/pyechonest/song.py", line 72, in __init__
  File "build/bdist.macosx-10.9-intel/egg/pyechonest/proxies.py", line 153, in __init__
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant