Red Hat Bugzilla – Bug 672141
[abrt] yum-3.2.29-2.fc15: __init__.py:1754:_lock:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128)
Last modified: 2015-02-17 08:35:04 EST
abrt version: 1.1.14
cmdline: /usr/bin/python /usr/bin/yum -d 0 -C list available netb*
comment: This seems to have to do with me using LANG="sv_SE-UTF8" since it complains about a decode error on the frase "\xc3\x85tkomst nekas" which should probably be "Åtkomst nekad" (Access denied in swedish). Something other seems to not go as planned because of the error message, but yum should still not crash because of it.
reason: __init__.py:1754:_lock:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128)
release: Fedora release 15 (Rawhide)
__init__.py:1754:_lock:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
File "/usr/share/yum-cli/yummain.py", line 262, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 97, in main
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1688, in doLock
while not self._lock(lockfile, mypid, 0644):
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1754, in _lock
errmsg = _('Could not create lock at %s: %s ') % (filename, str(msg))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128)
Local variables in innermost frame:
self: <cli.YumBaseCli object at 0x1d79f90>
msg: OSError(13, '\xc3\x85tkomst nekas')
How to reproduce
0. Install bash-completion
1. write "sudo yum install " in a terminal
2. press tab to get a list of installable packages
3. abrt reports a crash and you never get that list
Created attachment 474905 [details]
*** Bug 757386 has been marked as a duplicate of this bug. ***
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.
(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)
More information and reason for this action is here:
ERROR: Command failed:
# ['/usr/bin/yum-builddep', '--installroot', '/var/lib/mock/fedora-19-x86_64/root/', '/var/lib/mock/fedora-19-x86_64/root///builddir/build/SRPMS/dpkg-1.16.10-3.fc19.src.rpm']
Getting requirements for dpkg-1.16.10-3.fc19.src
Traceback (most recent call last):
File "/usr/bin/yum-builddep", line 263, in <module>
util = YumBuildDep()
File "/usr/bin/yum-builddep", line 70, in __init__
File "/usr/bin/yum-builddep", line 100, in main
File "/usr/bin/yum-builddep", line 237, in get_build_deps
File "/usr/bin/yum-builddep", line 166, in install_deps
pkg = self.returnPackageByDep(dep)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3974, in returnPackageByDep
raise Errors.YumBaseError, _('No Package found for %s') % errstring
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 0: ordinal not in range(128)
This message is a notice that Fedora 19 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 19. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 19 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.