Bug 1109323

Summary: More decoding errors
Product: [Fedora] Fedora Reporter: Ben Boeckel <fedora>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, packaging-team-maint, pnemade, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-14 08:41:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Boeckel 2014-06-13 16:23:37 UTC
Description of problem:
Python + unicode == lots of fun. Here's another backtrace in the middle of a transaction:

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)
FATAL ERROR: python callback <bound method RPMTransaction.callback of <dnf.yum.rpmtrans.RPMTransaction object at 0x7fede05a8850>> failed, aborting!

Not sure which package it is; there's 1000+ in the list.

Version-Release number of selected component (if applicable):
dnf-0.5.1-1.fc21.noarch

Comment 1 Parag Nemade 2014-06-14 08:41:39 UTC
This is already fixed in 0.5.2-1.fc21 release

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