Bug 1334023
Summary: | [abrt] dnf: i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\xa0' in position 20: ordinal not in range(128) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sylvain Réault <vindicators> | ||||||||||
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: | 24 | CC: | dov.grobgeld, jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | x86_64 | ||||||||||||
OS: | Unspecified | ||||||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/771aadb0e176005948802ec5d385a64b1be0f3ab | ||||||||||||
Whiteboard: | abrt_hash:ca02044d9193e53cab370f517da958a06aa97c0b; | ||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2016-05-09 11:47:02 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Sylvain Réault
2016-05-07 08:59:39 UTC
Created attachment 1154820 [details]
File: _var_log_dnf.log
Created attachment 1154821 [details]
File: backtrace
Created attachment 1154822 [details]
File: dnf-makecache.log
Created attachment 1154823 [details]
File: environ
*** This bug has been marked as a duplicate of bug 1332012 *** I don't agree that this is a duplicate of 1332012 as its solution does not solve this bug: https://github.com/rpm-software-management/dnf/pull/484 This pull request does not touch .../dnf/i18.py which is where this bug crashes. To solve this bug the same treatment of the print statement as in pull 484 is needed. I.e. something similar like: - print(ucstring, end='') + try: + print(ucstring, end='') + except UnicodeEncodeError: + print(ucstring.encode(sys.stdout.encoding, 'backslashreplace')) |