You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user who is not me reported the following error on Reddit when using remove-library:
[2020-11-02 00:23:35] Retrieving all library albums...
[2020-11-02 00:23:35] Retrieved 0 albums from your library.
[2020-11-02 00:23:35] Retrieving all singles...
[2020-11-02 00:25:21] Retrieved 7037 singles from your library.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/ytmusic-deleter", line 8, in <module>
sys.exit(cli())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ytmusic_deleter/cli.py", line 182, in remove_library
filtered_songs = list({v["album"]["id"]: v for v in library_songs}.values())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ytmusic_deleter/cli.py", line 182, in <dictcomp>
filtered_songs = list({v["album"]["id"]: v for v in library_songs}.values())
TypeError: 'NoneType' object is not subscriptable
So far I'm unable to replicate the issue whether my library has songs/singles in it or not.
The text was updated successfully, but these errors were encountered:
A user who is not me reported the following error on Reddit when using
remove-library
:So far I'm unable to replicate the issue whether my library has songs/singles in it or not.
The text was updated successfully, but these errors were encountered: