Bug 1035819

Summary: [abrt] youtube-dl-2013.11.13-1.fc20: urllib2.py:1186:do_open:URLError: <urlopen error [Errno 101] Network is unreachable>
Product: [Fedora] Fedora Reporter: Mallikarjun <mallikarjunspatil>
Component: youtube-dlAssignee: Christopher Meng <i>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: i, metherid, opensource
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f36205ca8e5ebf3993582e38d2367a137330f38d
Whiteboard: abrt_hash:9b7873bb35624d28a67c18f25846d47e8ef647d5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-29 03:48:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Mallikarjun 2013-11-28 14:47:01 UTC
Description of problem:
I was downloading a youtube video when this bug occured.

Version-Release number of selected component:
youtube-dl-2013.11.13-1.fc20

Additional info:
reporter:       libreport-2.1.9
cmdline:        python /usr/bin/youtube-dl -o 1.flv http://www.youtube.com/watch?annotation_id=annotation_3011934763
dso_list:       python-libs-2.7.5-9.fc20.x86_64
executable:     /usr/bin/youtube-dl
kernel:         3.11.8-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1001

Truncated backtrace:
urllib2.py:1186:do_open:URLError: <urlopen error [Errno 101] Network is unreachable>

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 768, in main
    _real_main(argv)
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 721, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 715, in download
    videos = self.extract_info(url)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 348, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 125, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 149, in _real_extract
    new_url = self._test_redirect(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 131, 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 1216, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.7/urllib2.py", line 1186, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 101] Network is unreachable>

Local variables in innermost frame:
err: error(101, 'Network is unreachable')
h: <httplib.HTTPConnection instance at 0x1720710>
self: <urllib2.HTTPHandler instance at 0x1620d88>
req: <youtube_dl.extractor.generic.HeadRequest instance at 0x1720908>
headers: {'Host': 'www.youtube.com', 'Connection': 'close', 'User-Agent': 'Python-urllib/2.7'}
host: 'www.youtube.com'
http_class: <class httplib.HTTPConnection at 0x1075460>

Comment 1 Mallikarjun 2013-11-28 14:47:10 UTC
Created attachment 830275 [details]
File: backtrace

Comment 2 Mallikarjun 2013-11-28 14:47:14 UTC
Created attachment 830276 [details]
File: environ