Bug 445916
Summary: | "yumdownloader --help" fails with traceback | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sebastian Vahl <fedora> |
Component: | yum-utils | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | CC: | james.antill, pmatilai, roth, s.adam, tim.lauridsen |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-06-02 11:41:55 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
Sebastian Vahl
2008-05-09 20:03:55 UTC
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Please retest i cant reproduce this error. But I can confirm it on F9: refresh-packagekit Traceback (most recent call last): File "/usr/bin/yumdownloader", line 277, in <module> util = YumDownloader() File "/usr/bin/yumdownloader", line 42, in __init__ self.main() File "/usr/bin/yumdownloader", line 51, in main opts = self.doUtilConfigSetup() File "/usr/share/yum-cli/utils.py", line 83, in doUtilConfigSetup (opts, self.cmds) = self._parser.setupYumConfig() File "/usr/share/yum-cli/cli.py", line 1009, in setupYumConfig (opts, cmds) = self.parse_args() File "/usr/lib/python2.5/optparse.py", line 1378, in parse_args stop = self._process_args(largs, rargs, values) File "/usr/lib/python2.5/optparse.py", line 1418, in _process_args self._process_long_opt(rargs, values) File "/usr/lib/python2.5/optparse.py", line 1493, in _process_long_opt option.process(opt, value, values, self) File "/usr/lib/python2.5/optparse.py", line 782, in process self.action, self.dest, opt, value, values, parser) File "/usr/lib/python2.5/optparse.py", line 802, in take_action self.callback(self, opt, value, parser, *args, **kwargs) File "/usr/share/yum-cli/cli.py", line 1102, in _wrapOptParseUsage self.base.usage() File "/usr/share/yum-cli/cli.py", line 909, in usage sys.stdout.write(self.optparser.format_help()) AttributeError: 'YumDownloader' object has no attribute 'optparser rpm -q yum-utils yum-utils-1.1.13-2.fc9.noarch please upgrade to yum-utils 1.1.14 in updates-testing. I think you'll find it goes away. Nope, now we have another error: yumdownloader --help Geladene Plugins: refresh-packagekit Traceback (most recent call last): File "/usr/bin/yumdownloader", line 277, in <module> util = YumDownloader() File "/usr/bin/yumdownloader", line 42, in __init__ self.main() File "/usr/bin/yumdownloader", line 51, in main opts = self.doUtilConfigSetup() File "/usr/share/yum-cli/utils.py", line 83, in doUtilConfigSetup (opts, self.cmds) = self._parser.setupYumConfig() File "/usr/share/yum-cli/cli.py", line 1009, in setupYumConfig (opts, cmds) = self.parse_args() File "/usr/lib/python2.5/optparse.py", line 1378, in parse_args stop = self._process_args(largs, rargs, values) File "/usr/lib/python2.5/optparse.py", line 1418, in _process_args self._process_long_opt(rargs, values) File "/usr/lib/python2.5/optparse.py", line 1493, in _process_long_opt option.process(opt, value, values, self) File "/usr/lib/python2.5/optparse.py", line 782, in process self.action, self.dest, opt, value, values, parser) File "/usr/lib/python2.5/optparse.py", line 802, in take_action self.callback(self, opt, value, parser, *args, **kwargs) File "/usr/share/yum-cli/cli.py", line 1102, in _wrapOptParseUsage self.base.usage() File "/usr/share/yum-cli/cli.py", line 909, in usage sys.stdout.write(self.optparser.format_help()) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 1387: ordinal not in range(128) $ rpm -q yum-utils yum-utils-1.1.13-2.fc9.noarch $ yumdownloader --help Traceback (most recent call last): File "/usr/bin/yumdownloader", line 277, in <module> util = YumDownloader() File "/usr/bin/yumdownloader", line 42, in __init__ self.main() File "/usr/bin/yumdownloader", line 51, in main opts = self.doUtilConfigSetup() File "/usr/share/yum-cli/utils.py", line 84, in doUtilConfigSetup (opts, self.cmds) = self._parser.setupYumConfig() File "/usr/share/yum-cli/cli.py", line 1009, in setupYumConfig (opts, cmds) = self.parse_args() File "/usr/lib64/python2.5/optparse.py", line 1378, in parse_args stop = self._process_args(largs, rargs, values) File "/usr/lib64/python2.5/optparse.py", line 1418, in _process_args self._process_long_opt(rargs, values) File "/usr/lib64/python2.5/optparse.py", line 1493, in _process_long_opt option.process(opt, value, values, self) File "/usr/lib64/python2.5/optparse.py", line 782, in process self.action, self.dest, opt, value, values, parser) File "/usr/lib64/python2.5/optparse.py", line 802, in take_action self.callback(self, opt, value, parser, *args, **kwargs) File "/usr/share/yum-cli/cli.py", line 1102, in _wrapOptParseUsage self.base.usage() File "/usr/share/yum-cli/cli.py", line 909, in usage sys.stdout.write(self.optparser.format_help()) AttributeError: 'YumDownloader' object has no attribute 'optparser' (In reply to comment #6) > $ rpm -q yum-utils > yum-utils-1.1.13-2.fc9.noarch right, upgrade to 1.1.14 which is in updates-testing. Oh, my bad... I should have read all comments first. It works now :) yumdwonloader from yum-utils-1.1.14-3.fc9.noarch is still not working with LANG=de_DE.UTF-8. But the traceback has changed: $ yumdownloader --help Konfigurationsdatei /etc/yum/pluginconf.d/fastestmirror-asyncore.conf nicht gefunden Kann Konfigurationsdatei für Plugin fastestmirror-asyncore nicht finden Geladene Plugins: fastestmirror, refresh-packagekit, versionlock Traceback (most recent call last): File "/usr/bin/yumdownloader", line 277, in <module> util = YumDownloader() File "/usr/bin/yumdownloader", line 42, in __init__ self.main() File "/usr/bin/yumdownloader", line 51, in main opts = self.doUtilConfigSetup() File "/usr/share/yum-cli/utils.py", line 83, in doUtilConfigSetup (opts, self.cmds) = self._parser.setupYumConfig() File "/usr/share/yum-cli/cli.py", line 1009, in setupYumConfig (opts, cmds) = self.parse_args() File "/usr/lib/python2.5/optparse.py", line 1378, in parse_args stop = self._process_args(largs, rargs, values) File "/usr/lib/python2.5/optparse.py", line 1418, in _process_args self._process_long_opt(rargs, values) File "/usr/lib/python2.5/optparse.py", line 1493, in _process_long_opt option.process(opt, value, values, self) File "/usr/lib/python2.5/optparse.py", line 782, in process self.action, self.dest, opt, value, values, parser) File "/usr/lib/python2.5/optparse.py", line 802, in take_action self.callback(self, opt, value, parser, *args, **kwargs) File "/usr/share/yum-cli/cli.py", line 1102, in _wrapOptParseUsage self.base.usage() File "/usr/share/yum-cli/cli.py", line 909, in usage sys.stdout.write(self.optparser.format_help()) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 1387: ordinal not in range(128) Fixed upstream http://devel.linux.duke.edu/gitweb/?p=yum-utils.git;a=blob_plain;f=yumdownloader.py;hb=47ca95c29fe4fd6b2d74e8ad9be83264385e5c0a Confirmed to be working with LANG=de_DE.UTF-8 Thanks, it will be available in yum-utils-1.1.15. yum-utils-1.1.15-1.fc9 has been submitted as an update for Fedora 9 yum-utils-1.1.15-1.fc8 has been submitted as an update for Fedora 8 yum-utils-1.1.15-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. yum-utils-1.1.15-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. |