Bug 730447

Summary: [abrt] youtube-dl-2011.08.04-1.fc14: youtube-dl:1085:<genexpr>:KeyError: 'url'
Product: [Fedora] Fedora Reporter: Peter Janes <bugzilla.redhat.com>
Component: youtube-dlAssignee: Till Maas <opensource>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: metherid, opensource, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:6992611f
Fixed In Version: youtube-dl-2011.12.08-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-16 19:58:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Peter Janes 2011-08-13 02:37:23 UTC
abrt version: 1.1.18
architecture: x86_64
component: youtube-dl
executable: /usr/bin/youtube-dl
kernel: 2.6.35.13-91.fc14.x86_64
package: youtube-dl-2011.08.04-1.fc14
reason: youtube-dl:1085:<genexpr>:KeyError: 'url'
release: Fedora release 14 (Laughlin)
time: 1313202972
uid: 500

backtrace
-----
youtube-dl:1085:<genexpr>:KeyError: 'url'

Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 2987, in <module>
    retcode = fd.download(all_urls)
  File "/usr/bin/youtube-dl", line 604, in download
    ie.extract(url)
  File "/usr/bin/youtube-dl", line 844, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl", line 1085, in _real_extract
    url_map = dict((ud['itag'], urllib.unquote(ud['url'])) for ud in url_data)
  File "/usr/bin/youtube-dl", line 1085, in <genexpr>
    url_map = dict((ud['itag'], urllib.unquote(ud['url'])) for ud in url_data)
KeyError: 'url'

Local variables in innermost frame:
.0: <listiterator object at 0x7fd1cde03fd0>
ud: {'type': 'video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22', 'quality': 'hd720', 'stream': 'c5%2Fid%2Fa9d6eb22b1716acd%2Fitag%2F45', 'conn': 'rtmpe%3A%2F%2Fcp59009.edgefcs.net%2Fyoutube%3Fauth%3DdaEaIcydnc0cqbocFb5bJbWbnbbbBaJaVcy-borEmk-eS-LzHFGmpd%26aifp%3DYT2008121701%26slist%3Dc5%2Fid%2Fa9d6eb22b1716acd%2Fitag%2F45', 'itag': '45'}

How to reproduce
-----
1. youtube-dl http://www.youtube.com/watch?v=qdbrIrFxas0

Comment 1 Peter Janes 2011-08-13 02:37:27 UTC
Created attachment 518134 [details]
File: backtrace

Comment 2 Till Maas 2011-08-20 08:42:37 UTC
I guess it is already known upstream:
https://github.com/rg3/youtube-dl/issues/140

Comment 3 Fedora Update System 2011-12-11 11:49:49 UTC
youtube-dl-2011.12.08-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/youtube-dl-2011.12.08-1.fc15

Comment 4 Fedora Update System 2011-12-11 11:50:22 UTC
youtube-dl-2011.12.08-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/youtube-dl-2011.12.08-1.fc16

Comment 5 Fedora Update System 2011-12-11 21:48:24 UTC
Package youtube-dl-2011.12.08-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing youtube-dl-2011.12.08-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16958/youtube-dl-2011.12.08-1.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-12-16 19:58:31 UTC
youtube-dl-2011.12.08-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-12-30 22:57:23 UTC
youtube-dl-2011.12.08-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.