Bug 442289
Summary: | UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED RAWHIDE | 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: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-15 13:24: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
John Reiser
2008-04-13 23:08:56 UTC
This is actually a bug in yum. I don't think there is a bug filed on this yet, so I'll toss it in their queue. This is not as low priority as it seems. Case 1. After booting from Rawhide Live CD (build 04/04/08): 1. Select Russian language at login screen 2. Try running liveinst from command line. It failes due to the same reason. Case 2. Latest updates downloaded. (15 apr 08) Trying to install Adobe Flash player: 1. Set "Russian language" in system settings. 3. Go to http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Linux 3. Select version to download: YUM for Linux 4. After installing repo rpm: "yum search adobe" fails for the same reason. Details here: [root@toshiba rc.d]# yum search adobe Loaded plugins: fedorakmod, refresh-packagekit livna | 2.1 kB 00:00 adobe-linux-i386 | 951 B 00:00 rawhide | 2.4 kB 00:00 tigro | 1.1 kB 00:00 primary.xml.gz | 4.2 kB 00:00 tigro : ################################################## 11/11 ================================ Matched: adobe ================================ Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 236, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 111, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 309, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 501, in doCommand return base.search(extcmds) File "/usr/share/yum-cli/cli.py", line 697, in search self.matchcallback(po, matched_value, args) File "/usr/share/yum-cli/output.py", line 457, in matchcallback msg = self.fmtKeyValFill(msg, po.summary) File "/usr/share/yum-cli/output.py", line 256, in fmtKeyValFill val = str(val) UnicodeEncodeError: 'ascii' codec can't encode characters in position 22-30: ordinal not in range(128) The bug itself probably comes from Python issue: http://bugs.python.org/issue2517 I'd ask you to change issue severity to high since inconsistent unicode support by yum makes it impossible for user with non-english interface to do some updates and run install from Live CD. are you're still getting this after installing: http://koji.fedoraproject.org/packages/yum/3.2.14/7.fc9/noarch/yum-3.2.14-7.fc9.noarch.rpm As I figured out - in "Case 2" it previously failed with (tm) and (r) unicode characters in package descriptions. I don't know in which way it may relate to Russian language interface but it work's fine with "yum search" now. Thanks. No opportunity to check with liveinst though. |