Bug 443341
| Summary: | Global name RefreshYumCacheFailed is not defined | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lubomir Kundrak <lkundrak> | ||||||
| Component: | gnome-packagekit | Assignee: | Robin Norwood <robin.norwood> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | richard | ||||||
| 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: | 2008-04-26 08:57:19 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 441857 | ||||||||
| Attachments: |
|
||||||||
|
Description
Lubomir Kundrak
2008-04-20 21:29:51 UTC
Created attachment 303075 [details]
screenshot of the problem
Created attachment 303080 [details]
test patch
Robi, you can reproduce doing:
sudo yum clean all
gpk-application
<search for power, package lists start downloading>
<click cancel>
Bam:
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
<module>
backend.search_name(options,searchterms)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 422, in
search_name
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. |