Bug 436143
Summary: | "yum info all" error | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Horst H. von Brand <vonbrand> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | ffesti, james.antill, katzj, pmatilai, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-03-12 16:53:38 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: |
Description
Horst H. von Brand
2008-03-05 16:39:26 UTC
Last entry written was truncated: Name : checkpolicy Arch : i386 Version : 2.0.10 Release : 1.fc9 Size : 791 k Repo : installed Summary : SELinux policy compiler License : GPL What locale are you running as? LANG=de_DE yum info checkpolicy ...fails for me. Although with a different traceback, and on the summary data (for both the Fed-8 and Fed-9 versions). So the problem is that the pkg.summary/pkg.description appear to be defined as "ascii", even though they are actually utf-8 and contain ® etc. Ok, so I this fixes it for me: diff --git a/output.py b/output.py index 0b1498b..06bf1d6 100644 --- a/output.py +++ b/output.py @@ -276,6 +276,7 @@ class YumOutput: if t != s: s = t break + s = unicode(s, "UTF-8") return s print _("Name : %s") % pkg.name print _("Arch : %s") % pkg.arch ...can you try that, Horst? Re 2: LANG=en_US.UTF-8 Re 6: Just tried again, no patches. Now it works! (?!) Only change is that I had to reboot (for completely unrelated reasons) after updating today. closing as fixed upstream as I believe it is. |