Bug 219975
| Summary: | AttributeError: 'YumRepository' object has no attribute 'grab' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Schwendt <bugs.michael> |
| Component: | yum | Assignee: | Jeremy Katz <katzj> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6 | ||
| 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: | 2006-12-19 15:00:32 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: | |||
Apparently only happens when a repository is not enabled(). So, I assume this to be a user error, albeit the code ought not run into any AttributeError in that case. |
yum.YumBase.downloadHeader(pkg) here crashes (this used to work with FC5): Traceback (most recent call last): File "./confcheck-remote.py", line 327, in ? main() File "./confcheck-remote.py", line 298, in main lister1.downloadHeader(pkg2) # TODO File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 760, in downloadHeader cache=repo.http_caching != 'none', File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 458, in getHeader cache=cache, File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 421, in __get result = self.grab.urlgrab(relative, local, AttributeError: 'YumRepository' object has no attribute 'grab'