Bug 1201333 - [abrt] youtube-dl: YoutubeDL.py:761:process_ie_result:IndexError: list index out of range
Summary: [abrt] youtube-dl: YoutubeDL.py:761:process_ie_result:IndexError: list index ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: youtube-dl
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Till Maas
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9d4a4b1e393c442a6feda327bd9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-12 14:03 UTC by Peter H. Jones
Modified: 2018-04-11 11:11 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-15 08:23:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.78 KB, text/plain)
2015-03-12 14:03 UTC, Peter H. Jones
no flags Details
File: environ (3.27 KB, text/plain)
2015-03-12 14:03 UTC, Peter H. Jones
no flags Details

Description Peter H. Jones 2015-03-12 14:03:00 UTC
Version-Release number of selected component:
youtube-dl-2015.03.03.1-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python2 /usr/bin/youtube-dl --playlist-items 2 http://www.argentinetangovideos.net/2008/02/mauricio-castro.html
executable:     /usr/bin/youtube-dl
kernel:         3.18.8-100.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            3000

Truncated backtrace:
YoutubeDL.py:761:process_ie_result:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 6, in <module>
    youtube_dl.main()
  File "/usr/lib/python2.7/site-packages/youtube_dl/__init__.py", line 403, in main
    _real_main(argv)
  File "/usr/lib/python2.7/site-packages/youtube_dl/__init__.py", line 393, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1447, in download
    res = self.extract_info(url)
  File "/usr/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 659, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 761, in process_ie_result
    entries = [ie_entries[i - 1] for i in playlistitems]
IndexError: list index out of range

Local variables in innermost frame:
playlist: u'Argentine Tango Videos: Mauricio Castro'
playlistitems_str: '2'
i: 2
playlist_results: []
self: <youtube_dl.YoutubeDL.YoutubeDL object at 0x1a33750>
playliststart: 0
ie_entries: [{u'url': u'http://www.youtube.com/v/xO_l0k07PEQ', u'_type': u'url', u'ie_key': None}]
playlistend: None
playlistitems: <generator object iter_playlistitems at 0x1c175f0>
iter_playlistitems: <function iter_playlistitems at 0x1aae050>
download: True
n_all_entries: 1
ie_result: {u'extractor': u'generic', u'_type': u'playlist', u'title': u'Argentine Tango Videos: Mauricio Castro', u'extractor_key': 'Generic', u'webpage_url': u'http://www.argentinetangovideos.net/2008/02/mauricio-castro.html', u'entries': [{u'url': u'http://www.youtube.com/v/xO_l0k07PEQ', u'_type': u'url', u'ie_key': None}], u'id': u'mauricio-castro', u'webpage_url_basename': u'mauricio-castro.html'}
result_type: u'playlist'
extra_info: {}

Comment 1 Peter H. Jones 2015-03-12 14:03:04 UTC
Created attachment 1000999 [details]
File: backtrace

Comment 2 Peter H. Jones 2015-03-12 14:03:05 UTC
Created attachment 1001000 [details]
File: environ

Comment 3 Matěj Cepl 2015-05-15 08:23:38 UTC
This probably should be dealt better at upstream. Filed a bug there as https://github.com/rg3/youtube-dl/issues/5706

You can follow (and cooperate) the development upstream.

Comment 4 Matěj Cepl 2015-05-18 16:53:39 UTC
It should be fixed in the next release.


Note You need to log in before you can comment on or make changes to this bug.