Bug 1096398

Summary: [abrt] dnf: output.py:2429:scriptout:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Taylor Smock <smocktaylor>
Component: dnfAssignee: Honza Silhan <jsilhan>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, bugzilla, cunio, dennis, fzatlouk, ignatenko, lpetrovi, nonamedotc, pnemade, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/605af2ad806697553b4df11004968dfb1d91a567
Whiteboard: abrt_hash:f928b57668c0b3a25c8b740584e6bf2841201c80
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-16 18:38:55 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 Taylor Smock 2014-05-09 20:37:36 UTC
Description of problem:
Steps to Reproduce:
1. Clean install of Fedora Rawhide (09 May, 2014)
2. Run dnf group install "Engineering and Scientific" -y
3. Watch it download the packages (308 on my machine), run and passes the transaction checks and tests. 
4. Fails while running transaction.

Note:
"D Development Tools and Libraries" and "Design Suite" installed without a problem. It may just be something in the "Engineering and Scientific" group.

Version-Release number of selected component:
dnf-0.5.1-1.fc21

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python /bin/dnf group install Office/Productivity LibreOffice 'Fedora Eclipse' 'Engineering and Scientific' 'Development Tools' Editors 'D Development Tools and Libraries' 'Design Suite' 'Authoring and Publishing'
executable:     /bin/dnf
kernel:         3.15.0-0.rc4.git3.1.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
output.py:2429:scriptout:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dnf/yum/rpmtrans.py", line 404, in callback
    self._scriptStop(bytes, total, h);
  File "/usr/lib/python2.7/site-packages/dnf/yum/rpmtrans.py", line 537, in _scriptStop
    self._scriptout()
  File "/usr/lib/python2.7/site-packages/dnf/yum/rpmtrans.py", line 201, in _scriptout
    self.display.scriptout(msgs)
  File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 2429, in scriptout
    sys.stdout.write(unicode(msgs))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6: ordinal not in range(128)

Local variables in innermost frame:
self: <dnf.cli.output.CliTransactionDisplay object at 0x274f9d0>
msgs: 'find: \xe2\x80\x98/home/*/.texlive*\xe2\x80\x99: No such file or directory\n'

Comment 1 Taylor Smock 2014-05-09 20:37:40 UTC
Created attachment 894187 [details]
File: backtrace

Comment 2 Taylor Smock 2014-05-09 20:37:42 UTC
Created attachment 894188 [details]
File: environ

Comment 3 Heiko Adams 2014-05-10 15:42:06 UTC
Got the same issue when trying to reinstall a local rpm file.

Comment 4 Ales Kozumplik 2014-05-12 07:43:40 UTC
Moving to Jan, possibly the same issue as bug 1095861.

Comment 5 Ales Kozumplik 2014-05-14 10:05:13 UTC
*** Bug 1097437 has been marked as a duplicate of this bug. ***

Comment 6 Honza Silhan 2014-05-16 18:38:55 UTC

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