Bug 574052
Summary: | preupgrade-cli has encoding problems | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Hjalmarsson <kanelxake> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | dueno, fedora, ffesti, james.antill, johan.heikkila, jonas, maxamillion, nberrehouc, pmatilai, ppisar, richard, 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: | 2012-08-16 20:34:58 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
Peter Hjalmarsson
2010-03-16 13:46:15 UTC
*** Bug 557434 has been marked as a duplicate of this bug. *** This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. I think this is a bug of yum. "preupgrade-cli -h" error should be fixed with the patch posted to #520773. https://bugzilla.redhat.com/show_bug.cgi?id=520773 The following change (to /usr/share/yum-cli/output.py) is needed for the second error: - choice = raw_input(_('Is this ok [y/N]: ')) + choice = raw_input(_('Is this ok [y/N]: ').encode(sys.stdout.encoding)) This is duplicate of bug #539246. However feel free to close that because this report is advanced. *** Bug 539246 has been marked as a duplicate of this bug. *** Problem still exists in preupgrade-1.1.8-1.fc13.noarch. This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. 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 prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 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 please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. 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. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Problem still exists in preupgrade-1.1.8-1.fc13.noarch. Jonas, have you tested this in f14? Same problem on f14, preupgrade-1.1.8-1.fc14.noarch Inlästa insticksmoduler: blacklist, whiteout Ingen insticksmodul matchar: rpm-warm-cache Ingen insticksmodul matchar: auto-update-debuginfo Ingen insticksmodul matchar: presto Inlästa insticksmoduler: refresh-packagekit, remove-with-leaves Traceback (most recent call last): File "/usr/share/preupgrade/preupgrade-cli.py", line 317, in <module> release = pu.getconfig() # sets pu.opts File "/usr/share/preupgrade/preupgrade-cli.py", line 146, in getconfig opts = self.doUtilConfigSetup() File "/usr/share/yum-cli/utils.py", line 271, in doUtilConfigSetup (opts, self.cmds) = self._parser.setupYumConfig() File "/usr/share/yum-cli/cli.py", line 1304, in setupYumConfig (opts, cmds) = self.parse_args() File "/usr/lib64/python2.7/optparse.py", line 1394, in parse_args stop = self._process_args(largs, rargs, values) File "/usr/lib64/python2.7/optparse.py", line 1434, in _process_args self._process_long_opt(rargs, values) File "/usr/lib64/python2.7/optparse.py", line 1509, in _process_long_opt option.process(opt, value, values, self) File "/usr/lib64/python2.7/optparse.py", line 788, in process self.action, self.dest, opt, value, values, parser) File "/usr/lib64/python2.7/optparse.py", line 808, in take_action self.callback(self, opt, value, parser, *args, **kwargs) File "/usr/share/yum-cli/cli.py", line 1425, in _wrapOptParseUsage self.base.usage() File "/usr/share/yum-cli/cli.py", line 1192, in usage sys.stdout.write(self.optparser.format_help()) File "/usr/lib64/python2.7/optparse.py", line 1644, in format_help result.append(self.format_option_help(formatter)) File "/usr/lib64/python2.7/optparse.py", line 1631, in format_option_help return "".join(result[:-1]) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128) Still a problem in F16, preupgrade-1.1.10-1.fc16 Traceback (most recent call last): File "/usr/share/preupgrade/preupgrade-cli.py", line 330, in <module> pu.main(release) File "/usr/share/preupgrade/preupgrade-cli.py", line 268, in main if not self.userconfirm(): File "/usr/share/yum-cli/output.py", line 969, in userconfirm choice = raw_input(_('Is this ok [y/N]: ')) UnicodeEncodeError: 'ascii' codec can't encode character u'\xc4' in position 0: ordinal not in range(128) This is on locale sv_FI. It works when setting LANG=C. Same bug with same message when trying upgrading from Fedora 16 to Fedora 17 with preupgrade-cli. locale fr_FR.utf8 and preupgrade-1.1.10-1.fc16 Set LANG=C before works This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached 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 to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. 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. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |