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

error while downloading added playlist #61

Open
saveyour opened this issue Jan 7, 2019 · 1 comment
Open

error while downloading added playlist #61

saveyour opened this issue Jan 7, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@saveyour
Copy link

saveyour commented Jan 7, 2019

i'm using a fresh install of the latest version (git clone'd it yesterday). after adding a playlist to download i eventually encounter this error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/apscheduler/executors/base.py", line 125, in run_job
    retval = job.func(*job.args, **job.kwargs)
  File "/home/ubuntu/ytsm/app/YtManagerApp/management/jobs/synchronize.py", line 114, in synchronize
    __check_new_videos_sub(subscription, yt_api)
  File "/home/ubuntu/ytsm/app/YtManagerApp/management/jobs/synchronize.py", line 21, in __check_new_videos_sub
    for item in yt_api.playlist_items(subscription.playlist_id):
  File "/home/ubuntu/ytsm/app/external/pytaw/pytaw/youtube.py", line 494, in __next__
    return create_resource_from_api_response(self.youtube, item)
  File "/home/ubuntu/ytsm/app/external/pytaw/pytaw/youtube.py", line 651, in create_resource_from_api_response
    return PlaylistItem(youtube, id, item)
  File "/home/ubuntu/ytsm/app/external/pytaw/pytaw/youtube.py", line 719, in __init__
    self._update_attributes()
  File "/home/ubuntu/ytsm/app/external/pytaw/pytaw/youtube.py", line 799, in _update_attributes
    for key, val in raw_value.items():
AttributeError: 'NoneType' object has no attribute 'items'
@chibicitiberiu chibicitiberiu self-assigned this Jan 9, 2019
@chibicitiberiu chibicitiberiu added the bug Something isn't working label Jan 9, 2019
@enemyjay
Copy link

enemyjay commented Dec 3, 2019

I have this same issue, but have found that it doesnt effect all playlists.
https://www.youtube.com/playlist?list=PLAzrgbu8gEMIIK3r4Se1dOZWSZzUSadfZ (Hot Ones) fails on me, same errors as @saveyour
https://www.youtube.com/playlist?list=PL59B9338E1B079557 (We Are Scientists) works without issue

Just wanted to add that in case it turns out to be relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants