Bug 1383490

Summary: [abrt] dnf: output.py:2202:scriptout:OSError: [Errno 5] Input/output error
Product: [Fedora] Fedora Reporter: lejeczek <peljasz>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: dimapunk80, jmracek, jsilhan, mluscon, packaging-team-maint, pnemade, rpm-software-management, spichka21, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/365f5158221036ed1f7ff27ccdfddfdc22fa770c
Whiteboard: abrt_hash:645c13569a8b12da64de997619e2b592f9fbf4be;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-17 14:49:15 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: _var_log_dnf.log
none
File: backtrace
none
File: dnf-makecache.log
none
File: environ none

Description lejeczek 2016-10-10 18:45:13 UTC
Version-Release number of selected component:
dnf-1.1.10-1.fc24

Additional info:
reporter:       libreport-2.7.2
cmdline:        /usr/bin/python3 /usr/bin/dnf update
executable:     /usr/bin/dnf
kernel:         4.8.0-1.fc26.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
output.py:2202:scriptout:OSError: [Errno 5] Input/output error

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 431, in callback
    self._scriptStop(bytes, total, h);
  File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 573, in _scriptStop
    self._scriptout()
  File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 219, in _scriptout
    display.scriptout(msgs)
  File "/usr/lib/python3.5/site-packages/dnf/cli/output.py", line 2202, in scriptout
    sys.stdout.write(ucd(msgs))
OSError: [Errno 5] Input/output error

Local variables in innermost frame:
self: <dnf.cli.output.CliTransactionDisplay object at 0x7fcca2078be0>
msgs: b'warning: %post(selinux-policy-targeted-3.13.1-191.18.fc24.noarch) scriptlet failed, signal 1\n'

Comment 1 lejeczek 2016-10-10 18:45:21 UTC
Created attachment 1208935 [details]
File: _var_log_dnf.log

Comment 2 lejeczek 2016-10-10 18:45:23 UTC
Created attachment 1208936 [details]
File: backtrace

Comment 3 lejeczek 2016-10-10 18:45:26 UTC
Created attachment 1208937 [details]
File: dnf-makecache.log

Comment 4 lejeczek 2016-10-10 18:45:27 UTC
Created attachment 1208938 [details]
File: environ

Comment 5 Igor Gnatenko 2016-10-14 06:06:56 UTC
*** Bug 1384338 has been marked as a duplicate of this bug. ***

Comment 6 Jaroslav Mracek 2016-10-17 11:48:35 UTC
There are several option how to handle it. It depends what and why the stdout was not available. Anyway it should not rise the traceback.

Comment 7 Honza Silhan 2016-10-17 14:49:15 UTC

*** This bug has been marked as a duplicate of bug 1382224 ***