Bug 1100822 - UnicodeDecodeError: 'ascii' codec -> FATAL ERROR: python callback
Summary: UnicodeDecodeError: 'ascii' codec -> FATAL ERROR: python callback
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-05-23 14:10 UTC by Zdenek Kabelac
Modified: 2014-05-26 06:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-26 06:30:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zdenek Kabelac 2014-05-23 14:10:22 UTC
Description of problem:

This looks like 'ever-green'  bug with   yum as well as now with dnd - I'm currious if there is any hope one day I could run yum/dnf installer with non C locales and hope there will be no abort....
---
  ...
  Aktualizace  : shared-mime-info-1.3-3.fc21.x86_64                   62/412 
  Aktualizace  : glibc-headers-2.19.90-17.fc21.x86_64                 63/412 
  Aktualizace  : glibc-devel-2.19.90-17.fc21.x86_64                   64/412 
  Aktualizace  : gcc-4.9.0-5.fc21.x86_64                              65/412 
  Aktualizace  : systemtap-devel-2.6-0.62.gb50e1cd22c61.fc21.x86_64   66/412 
  Instalování  : crypto-policies-0.9-3.20140520git81364e4.fc21.noarch 67/412 

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 0xc3 in position 39: ordinal not in range(128)
FATAL ERROR: python callback <bound method RPMTransaction.callback of <dnf.yum.rpmtrans.RPMTransaction object at 0x23fa790>> failed, aborting!
---

It especially bad when it leaves tons of duplicate packages in the system, and there is no reliable way to remove them other - then manually select duplicated packages and remove them with  'rpm -e --nodeps'  - any other auto-method seems to lead to seriously damaged system.


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


How reproducible:


Steps to Reproduce:
1.  dnf upgrade on rawhide system
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ales Kozumplik 2014-05-26 06:30:23 UTC
Hello Zdenek, we're working on this.

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