Bug 1109323 - More decoding errors
Summary: More decoding errors
Keywords:
Status: CLOSED DUPLICATE of bug 1095861
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-13 16:23 UTC by Ben Boeckel
Modified: 2014-06-14 08:41 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-14 08:41:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.