Bug 1176320

Summary: [abrt] youtube-dl: utils.py:884:write_string:IOError: [Errno 5] Input/output error
Product: [Fedora] Fedora Reporter: marcelo <marcelo_capital2006>
Component: youtube-dlAssignee: Till Maas <opensource>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: i, metherid, opensource
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/17711e4464ca2397f2bffb69c3686f68b6a6db27
Whiteboard: abrt_hash:b3023304b01fa13b59794ed2e8c8a9a36cdb2acb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-10 11:27:26 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 marcelo 2014-12-20 13:13:43 UTC
Description of problem:
El problema suscitó intentando anular una descarga.

Version-Release number of selected component:
youtube-dl-2014.12.10.3-1.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        python /usr/bin/youtube-dl -r 30K https://www.youtube.com/watch?v=Vg7fz_oNdTQ
dso_list:       python-libs-2.7.8-7.fc21.x86_64
executable:     /usr/bin/youtube-dl
kernel:         3.17.6-300.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
utils.py:884:write_string:IOError: [Errno 5] Input/output error

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 19, in <module>
    youtube_dl.main()
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 361, in main
    _real_main(argv)
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 351, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1168, in download
    self.report_error('unable to download video')
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 478, in report_error
    self.trouble(error_message, tb)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 431, in trouble
    self.to_stderr(message)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 385, in to_stderr
    self._write_string(output, self._err_file)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 364, in _write_string
    write_string(s, out=out, encoding=self.params.get('encoding'))
  File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 884, in write_string
    out.write(byt)
IOError: [Errno 5] Input/output error

Local variables in innermost frame:
byt: 'ERROR: unable to download video\n'
out: <open file '<stderr>', mode 'w' at 0x7f4da61a01e0>
s: u'ERROR: unable to download video\n'
encoding: None

Comment 1 marcelo 2014-12-20 13:13:46 UTC
Created attachment 971449 [details]
File: backtrace

Comment 2 marcelo 2014-12-20 13:13:47 UTC
Created attachment 971450 [details]
File: environ

Comment 3 Fedora Admin XMLRPC Client 2015-02-09 00:16:38 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Till Maas 2015-02-10 11:27:26 UTC
Aborting a download currently does not trigger a traceback here.