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

KeyError: 'tracks' #106

Closed
ljfoster97 opened this issue Oct 25, 2020 · 3 comments · Fixed by #107
Closed

KeyError: 'tracks' #106

ljfoster97 opened this issue Oct 25, 2020 · 3 comments · Fixed by #107
Assignees
Milestone

Comments

@ljfoster97
Copy link

Not sure what is happening. I cannot get this to work as of v6 after previously using an older version on a different PC.

Starting spotify_dl
List ID: 2ZykzRtEZBJxOHeouRYrjz
List owner: 12157844456
List ID: 2ZykzRtEZBJxOHeouRYrjz
List owner: 12157844456
Saving songs to: Disco Drop #13
Traceback (most recent call last):
  File "c:\users\Admin\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\Admin\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\Scripts\spotify_dl.exe\__main__.py", line 7, in <module>
  File "c:\users\Admin\appdata\local\programs\python\python37\lib\site-packages\spotify_dl\spotify_dl.py", line 116, in spotify_dl
    songs = fetch_tracks(sp, playlist_id, current_user_id)
  File "c:\users\Admin\appdata\local\programs\python\python37\lib\site-packages\spotify_dl\spotify.py", line 28, in fetch_tracks
    for item in results['tracks']['items']:
KeyError: 'tracks'
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit
@ljfoster97 ljfoster97 added the bug label Oct 25, 2020
@SathyaBhat
Copy link
Owner

SathyaBhat commented Oct 25, 2020

Hi, yes it’s an unfortunate regression. I’ll try to fix this soon as possible, within couple of days max. Addressing #104 should fix this

@rahulnegi20
Copy link

Getting same error!
Help plox

@SathyaBhat
Copy link
Owner

this has been fixed in latest version. Please upgrade your install using

pip install spotify_dl --upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants