Bug 1064083
| Summary: | UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 2 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Heldwin <heldwin> |
| Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | akozumpl, packaging-team-maint, pnemade, rholy |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-12 07:46:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Just changing current locale to fr_CH.utf-8 and using the steps to reproduce, I am unable to reproduce this bug. I find no traceback for me in messages file. The only related change commit I find in the source code from 0.4.12 to 0.4.13 release is this https://github.com/akozumpl/dnf/commit/aa74c305622557c7b77308a76992b6f3e385c653 Hello, thank you for the report. *** This bug has been marked as a duplicate of bug 1063022 *** |
Description of problem: Since the last update of dnf, I get a traceback in /var/log/messages, when dnf is making his cache. Version-Release number of selected component (if applicable): dnf-0.4.13-2.fc20.noarch How reproducible: Always Steps to Reproduce: 1. systemctl start dnf-makecache 2. look in /var/log/messages 3. Actual results: Feb 12 01:41:29 rodin-666 systemd: Starting dnf makecache... Feb 12 01:41:29 rodin-666 dnf: Config time: 0.007 Feb 12 01:41:29 rodin-666 dnf: cachedir: /var/cache/dnf/x86_64/20 Feb 12 01:41:29 rodin-666 dnf: dnf version: 0.4.13 Feb 12 01:41:29 rodin-666 dnf: Traceback (most recent call last): Feb 12 01:41:29 rodin-666 dnf: File "/usr/lib64/python2.7/logging/__init__.py", line 874, in emit Feb 12 01:41:29 rodin-666 dnf: stream.write(fs % msg.encode("UTF-8")) Feb 12 01:41:29 rodin-666 dnf: File "/usr/lib/python2.7/site-packages/dnf/i18n.py", line 38, in write Feb 12 01:41:29 rodin-666 dnf: self.stream.write(s.decode(self.encoding, 'replace')) Feb 12 01:41:29 rodin-666 dnf: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 2: ordinal not in range(128) Feb 12 01:41:29 rodin-666 dnf: Logged from file commands.py, line 760 Feb 12 01:41:29 rodin-666 dnf: Metadata cache refreshed recently. Feb 12 01:41:29 rodin-666 systemd: Started dnf makecache. Additional info: I have my system in fr_CH.utf-8 u'\xe9' is probably 'é'