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

TypeError: 'NoneType' object is not subscriptable #4

Open
KSu42 opened this issue Nov 20, 2018 · 0 comments
Open

TypeError: 'NoneType' object is not subscriptable #4

KSu42 opened this issue Nov 20, 2018 · 0 comments

Comments

@KSu42
Copy link

KSu42 commented Nov 20, 2018

- Unavailable track Yea!! [USUYG1227510]
- Unavailable track Plastic [QMJMT1801953]
- Unavailable track Order [USUM71816897]
Traceback (most recent call last):
  File "spotify-restore.py", line 353, in <module>
    start_import()
  File "spotify-restore.py", line 300, in start_import
    if 'isrc' not in trk['track']['external_ids']:
TypeError: 'NoneType' object is not subscriptable

Above is the error I got upon first running script on a new deezer account. Below error happens every subsequent run.

+ Found track Yea!!
+ Found track Plastic
+ Found track Order
Traceback (most recent call last):
  File "spotify-restore.py", line 353, in <module>
    start_import()
  File "spotify-restore.py", line 300, in start_import
    if 'isrc' not in trk['track']['external_ids']:
TypeError: 'NoneType' object is not subscriptable
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