Bug 1003392

Summary: [abrt] youtube-dl-2013.08.29-1.fc19: urllib2.py:1184:do_open:URLError: <urlopen error [Errno -2] Name or service not known>
Product: [Fedora] Fedora Reporter: Nivag <gavinflower>
Component: youtube-dlAssignee: Christopher Meng <i>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: i, metherid, opensource
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:6915aa97d8d09713f233d2f57286db8e57a377cb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-02 00:19:59 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
File: environ none

Description Nivag 2013-09-01 22:50:52 UTC
Description of problem:
Sorry, forgot.

I think I may have tried to down load video from the BBC,.

Version-Release number of selected component:
youtube-dl-2013.08.29-1.fc19

Additional info:
reporter:       libreport-2.1.6
cmdline:        python /usr/bin/youtube-dl http://www.bbc.co.uk/news/world-asia-23918707
dso_list:       python-libs-2.7.5-4.fc19.x86_64
executable:     /usr/bin/youtube-dl
kernel:         3.10.9-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
urllib2.py:1184:do_open:URLError: <urlopen error [Errno -2] Name or service not known>

Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/bin/youtube-dl/__main__.py", line 18, in <module>
    youtube_dl.main()
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 666, in main
    _real_main(argv)
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 650, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 573, in download
    videos = self.extract_info(url)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 324, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 103, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 113, in _real_extract
    new_url = self._test_redirect(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 100, in _test_redirect
    response = opener.open(HeadRequest(url))
  File "/usr/lib64/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno -2] Name or service not known>

Local variables in innermost frame:
err: gaierror(-2, 'Name or service not known')
h: <httplib.HTTPConnection instance at 0x13b9a70>
self: <urllib2.HTTPHandler instance at 0x13b9290>
req: <youtube_dl.extractor.generic.HeadRequest instance at 0x13b9128>
headers: {'Host': 'www.bbc.co.uk', 'Connection': 'close', 'User-Agent': 'Python-urllib/2.7'}
host: 'www.bbc.co.uk'
http_class: <class httplib.HTTPConnection at 0xf23d50>

Comment 1 Nivag 2013-09-01 22:50:56 UTC
Created attachment 792683 [details]
File: backtrace

Comment 2 Nivag 2013-09-01 22:50:59 UTC
Created attachment 792684 [details]
File: environ

Comment 3 Christopher Meng 2013-09-02 00:19:59 UTC
youtube-dl doesn't support it now, close.