Red Hat Bugzilla – Bug 1044502
[abrt] dnf: base.py:125:_add_repo_to_sack:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 113: ordinal not in range(128)
Last modified: 2014-02-02 17:30:00 EST
Description of problem:
message came after boot the system
Version-Release number of selected component:
cmdline: /usr/bin/python /usr/bin/dnf -v makecache timer
runlevel: N 5
base.py:125:_add_repo_to_sack:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 113: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/bin/dnf", line 35, in <module>
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 260, in user_main
errcode = main(args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 63, in main
return _main(base, args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 122, in _main
result, resultmsgs = cli.run()
File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1471, in run
return self.command.doCommand(self.base.basecmd, self.base.extcmds)
File "/usr/lib/python2.7/site-packages/dnf/cli/commands.py", line 953, in doCommand
self.base.fill_sack() # performs the md sync
File "/usr/lib/python2.7/site-packages/dnf/base.py", line 214, in fill_sack
File "/usr/lib/python2.7/site-packages/dnf/base.py", line 125, in _add_repo_to_sack
msg = _("%s, disabling.") % str(e)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 113: ordinal not in range(128)
Local variables in innermost frame:
repo: <Repo _local>
hrepo: <_hawkey.Repo object at 0x7f9eaf7a7480>
self: <dnf.cli.cli.BaseCli object at 0x1b4e090>
Created attachment 838322 [details]
Created attachment 838323 [details]
The correct fix to this is a str() => ucd() replace, but since this spills all over the code it's going to be a huge patch.
*** Bug 1046661 has been marked as a duplicate of this bug. ***
dnf-0.4.10-1.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.4.10-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-0.4.10-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.