simonschellaert / spotify2am

Import your Spotify library into Apple Music
360 stars 68 forks source link

Index Error running retrieve-identifiers.py #10

Closed H3avyC closed 9 years ago

H3avyC commented 9 years ago

All ready to go, and receiving an index error when running the first script. I am new to python, so this could very much be user error on my part. Google pointed me in the right direction, but figured it was just better to post it here.

Running retrieve-identifiers from terminal:

python3 retrieve-identifiers.py

Output:

Traceback (most recent call last): File "retrieve-identifiers.py", line 43, in title, artist = row[1], row[2] IndexError: list index out of range

H3avyC commented 9 years ago

Still struggling with this. Thought that running it in IDLE would solve it. Here's a screen print.

screen shot 2015-07-06 at 8 17 03 pm

H3avyC commented 9 years ago

Figured it out. Changed Ln 43 to read:

title, artist = row[0], row[1]

It was originally set to row[1], row[2]