YouTube playlist import broken #3147

Closed
opened 2018-06-28 09:24:27 +00:00 by rlx · 4 comments
Owner

(on Pad.ma)

URL: https://www.youtube.com/playlist?list=PL21QE1ppXjtOb4jHEQDprJSmX2zZtINOx


Traceback (most recent call last):

  File "/srv/pandora/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 149, in get_response
    response = self.process_exception_by_middleware(e, request)

  File "/srv/pandora/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 147, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File "/srv/pandora/pandora/oxdjango/api/views.py", line 53, in api
    response = f(request, data)

  File "/srv/pandora/pandora/oxdjango/decorators.py", line 17, in _wrapped_view
    return function(request, *args, **kwargs)

  File "/srv/pandora/pandora/archive/views.py", line 731, in getMediaUrlInfo
    response['data']['items'] = external.get_info(data['url'])

  File "/srv/pandora/pandora/archive/external.py", line 45, in get_info
    stderr=subprocess.PIPE, close_fds=True)

  File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
    restore_signals, start_new_session)

  File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
    raise child_exception_type(errno_num, err_msg)

FileNotFoundError: [Errno 2] No such file or directory: 'youtube-dl'


<WSGIRequest: POST '/api/'>

(on Pad.ma) URL: <https://www.youtube.com/playlist?list=PL21QE1ppXjtOb4jHEQDprJSmX2zZtINOx> ``` Traceback (most recent call last): File "/srv/pandora/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 149, in get_response response = self.process_exception_by_middleware(e, request) File "/srv/pandora/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 147, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/srv/pandora/pandora/oxdjango/api/views.py", line 53, in api response = f(request, data) File "/srv/pandora/pandora/oxdjango/decorators.py", line 17, in _wrapped_view return function(request, *args, **kwargs) File "/srv/pandora/pandora/archive/views.py", line 731, in getMediaUrlInfo response['data']['items'] = external.get_info(data['url']) File "/srv/pandora/pandora/archive/external.py", line 45, in get_info stderr=subprocess.PIPE, close_fds=True) File "/usr/lib/python3.5/subprocess.py", line 947, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'youtube-dl' <WSGIRequest: POST '/api/'> ```
rlx added the
backend
label 2018-06-28 09:24:27 +00:00
rlx added this to the 14.04 milestone 2018-06-28 09:24:27 +00:00
j was assigned by rlx 2018-06-28 09:24:27 +00:00
rlx added the
major
defect
labels 2018-06-28 09:24:27 +00:00
Author
Owner

The same applies to importing individual videos.

The same applies to importing individual videos.
Owner

pad.ma did not have youtube-dl installed, should be fixed now

pad.ma did not have youtube-dl installed, should be fixed now
j added the
fixed
label 2018-06-28 13:35:02 +00:00
j closed this issue 2018-06-28 13:35:02 +00:00
Author
Owner

100 videos not in playlist will be listed as already existing, prompts me to import -100 items.

Screenshot: https://i.imgur.com/mlmtGgo.png

100 videos not in playlist will be listed as already existing, prompts me to import -100 items. Screenshot: <https://i.imgur.com/mlmtGgo.png>
rlx removed the
fixed
label 2018-06-28 14:30:42 +00:00
rlx reopened this issue 2018-06-28 14:30:42 +00:00
Owner

update youtube-dl to latest version form pip, playlist import looks ok now.

update youtube-dl to latest version form pip, playlist import looks ok now.
j added the
fixed
label 2018-07-02 17:21:27 +00:00
j closed this issue 2018-07-02 17:21:27 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#3147
No description provided.