Skip to content

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

@hmdavis

Description

@hmdavis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions