Bug 435635
| Summary: | Unhandled exception: UnboundLocalError: local variable 'result' referenced before assignment | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Graham Leggett <minfrin> |
| Component: | yum-rhn-plugin | Assignee: | James Antill <james.antill> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.1 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-03-03 02:53:20 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: | |||
While running yum update for the first time on a vanilla RHEL5.1 install, the following uncaught exception is thrown: (58/96): rsh-0.17-38.el5. 100% |=========================| 44 kB 00:01 (59/96): openldap-2.3.27- 100% |=========================| 295 kB 00:22 Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 180, in main base.doTransaction() File "/usr/share/yum-cli/cli.py", line 395, in doTransaction problems = self.downloadPkgs(downloadpkgs) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 690, in downloadPkgs cache=po.repo.http_caching != 'none', File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 447, in getPackage cache=cache File "/usr/lib/yum-plugins/rhnplugin.py", line 209, in _getFile start, end, copy_local, checkfunc, text, reget, cache) File "/usr/lib/yum-plugins/rhnplugin.py", line 298, in _noExceptionWrappingGet return result UnboundLocalError: local variable 'result' referenced before assignment