Bug 219975 - AttributeError: 'YumRepository' object has no attribute 'grab'
Summary: AttributeError: 'YumRepository' object has no attribute 'grab'
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-18 01:08 UTC by Michael Schwendt
Modified: 2014-01-21 22:56 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-19 15:00:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2006-12-18 01:08:56 UTC
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'

Comment 1 Michael Schwendt 2006-12-19 15:00:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.