From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20070718 Red Hat/1.5.0.12-3.el5 Firefox/1.5.0.12 Description of problem: I am able to initially register this computer with redhat using the "software updater" but after that I can't pull packages with yum or re-start the software updater. When I try either it gives me the same stack trace: Version-Release number of selected component (if applicable): yum-3.0.1-5.el5 How reproducible: Always Steps to Reproduce: 1. Run Software Updater or yum 2. voila! 3. Actual Results: It crashed Expected Results: I should have pulled info from redhat Additional info: Component: Software Manager Summary: TBfb95fe59 rhnplugin.py:303:_noExceptionWrappingGet:UnboundLocalError: local variable 'result' referenced before assignment Traceback (most recent call last): File "/usr/sbin/pirut", line 453, in ? main() File "/usr/sbin/pirut", line 449, in main pm.run() File "/usr/sbin/pirut", line 358, in run self.doRefresh() File "/usr/sbin/pirut", line 373, in doRefresh self.reposSetup(pbar) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 146, in reposSetup self.doRepoSetup(thisrepo) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 299, in doRepoSetup repo.setup(self.conf.cache) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 503, in setup self._loadRepoXML(text=self) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 530, in _loadRepoXML cache=self.http_caching == 'all') 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 303, in _noExceptionWrappingGet return result UnboundLocalError: local variable 'result' referenced before assignment Local variables in innermost frame: remote: https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-5/repodata/repomd.xml start: None url: None text: rhel-x86_64-server-5 self: rhel-x86_64-server-5 cache: False reget: None server: https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-5 relative: repodata/repomd.xml headers: (('X-RHN-Auth-Expire-Offset', '3600.0'), ('X-RHN-Auth-User-Id', ''), ('X-RHN-Auth', 'qJ6uTE2ldiPgMr+AlE/QWA=='), ('X-RHN-Auth-Server-Time', '1198273445.87'), ('X-RHN-Server-Id', 1009202644), ('Pragma', 'no-cache')) checkfunc: (<bound method RhnRepo._checkRepoXML of <rhnplugin.RhnRepo object at 0xff6e910>>, (), {}) copy_local: 1 end: None local: //var/cache/yum/rhel-x86_64-server-5/repomd.xml
*** This bug has been marked as a duplicate of 378911 ***