Bug 1100265 - dnf.yum.rpmtrans.RPMTransaction object failed, aborting!
Summary: dnf.yum.rpmtrans.RPMTransaction object failed, aborting!
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-22 11:51 UTC by Jan Synacek
Modified: 2014-05-22 12:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-22 12:19:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Synacek 2014-05-22 11:51:26 UTC
Description of problem:
I get a python callback whenever I'm trying to update my rawhide machine using dnf:

$ dnf -y update
...
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running 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 0x7fcbe71ae990>> failed, aborting!


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

Additional info:
It happens all the time. I tried rebuilding the rpm database and cleaning dnf caches, none of which helped.

Comment 1 Jan Synacek 2014-05-22 12:14:26 UTC
I investigated the problem a bit and I found out that updating texlive-base triggers the problem. I updated a lot of packages without a problem, but tex* packages trigger the error.

# rpm -q texlive-base
texlive-base-2013-8.20140305_r33094.fc21.noarch

# dnf update texlive-base
Dependencies resolved.

==============================================================================================================================================================================================
 Package                                     Arch                                  Version                                                       Repository                              Size
==============================================================================================================================================================================================
Upgrading:
 texlive-base                                noarch                                3:2013-12.20140512_r33995.fc21                                rawhide                                1.5 M

Transaction Summary
==============================================================================================================================================================================================
Upgrade  1 Package

Total size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] texlive-base-2013-12.20140512_r33995.fc21.noarch.rpm: Already downloaded                                                                                                           
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running 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 0x7f63e96bc990>> failed, aborting!

Comment 2 Radek Holy 2014-05-22 12:19:08 UTC
Hello, thank you for the report. It's a duplicate of bug 1095861.

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