Red Hat Bugzilla – Bug 443341
Global name RefreshYumCacheFailed is not defined
Last modified: 2008-04-26 04:57:19 EDT
See the attached screenshot for screenshot of the error I have encountered (do
not me why didn't I copy and paste the text). The problem was triggered by
searching for "source code indexer" and terminating with "Cancel" after a while.
Happened with yesterday's rawhide.
Created attachment 303075 [details]
screenshot of the problem
Created attachment 303080 [details]
Robi, you can reproduce doing:
sudo yum clean all
<search for power, package lists start downloading>
Error Type: <type 'exceptions.NameError'>
Error Value: global name 'RefreshYumCacheFailed' is not defined
File : /usr/share/PackageKit/helpers/yum/search-name.py , line 21, in
File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 422, in
except RefreshYumCacheFailed, e:
Patch attached fixes the problem. Okay to apply?
Robin has applied the patch to master. I'll pull to stable in a few minutes, and
build a F9 snapshot tmw.