Bug 431576 - Pirut crash. AttributeError: 'YumRepository' object has no attribute 'metadata_cookie'
Pirut crash. AttributeError: 'YumRepository' object has no attribute 'metadat...
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
8
All Linux
low Severity low
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-05 11:21 EST by Greg Martyn
Modified: 2008-05-28 15:50 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-28 15:50:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Greg Martyn 2008-02-05 11:21:38 EST
Description of problem:
Had 1 update available. Clicked the install updates popup. Pirut launched. 
Clicked install. It asked for Fedora DVD. I didn't want to bother, so I 
clicked the configure repositories button. Removed the DVD, added 
fedora-source and -debug, and updates-source and -debug. Crash.

Version-Release number of selected component (if applicable):
pirut.noarch        1.3.28-1.fc8           installed

How reproducible:
It wasn't reproducible.

Steps to Reproduce:
N/A
  
Actual results:
Component: pirut
Summary: TB9deafc8e 
yumRepo.py:735:_loadRepoXML:AttributeError: 'YumRepository' object has no 
attribute 'metadata_cookie'

Traceback (most recent call last):
  File "/usr/sbin/pup", line 611, in <module>
    main()
  File "/usr/sbin/pup", line 607, in main
    pup.run()
  File "/usr/sbin/pup", line 447, in run
    self.doRefresh()
  File "/usr/sbin/pup", line 262, in doRefresh
    pbar = self.doRefreshRepos(destroy=False)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 339, in 
doRefreshRepos
    self.reposSetup(pbar, thisrepo)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 303, in 
reposSetup
    self.doTsSetup()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 72, in 
doTsSetup
    return self._getTs()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 85, in _getTs
    self._getTsInfo()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 91, in 
_getTsInfo
    self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 529, in 
<lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 384, in 
_getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.5/site-packages/yum/repos.py", line 242, in 
populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 142, in 
populate
    if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 199, in 
_check_db_version
    if repo.repoXML.repoData.has_key(mdtype):
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 774, in 
<lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 766, in 
_getRepoXML
    self._loadRepoXML(text=self)
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 735, in 
_loadRepoXML
    if self.cache or self.withinCacheAge(self.metadata_cookie, 
self.metadata_expire):
AttributeError: 'YumRepository' object has no attribute 'metadata_cookie'

Local variables in innermost frame:
remote: repodata/repomd.xml
self: updates-source
local: /repomd.xml
text: updates-source


Expected results:

Additional info:
Comment 1 Jeremy Katz 2008-02-05 11:38:12 EST
What version of yum do you hvae installed?
Comment 2 Greg Martyn 2008-02-05 11:51:22 EST
yum.noarch        3.2.8-2.fc8            installed
Comment 3 Jeremy Katz 2008-05-28 15:33:20 EDT
Are you still seeing this problem?
Comment 4 Greg Martyn 2008-05-28 15:42:08 EDT
i'm using f9 now

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