Bug 349241

Summary: pirut: unhandled exception
Product: [Fedora] Fedora Reporter: Dan Roberts <daniel.roberts>
Component: pirutAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 7CC: james.antill
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-31 13:39:46 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:
Attachments:
Description Flags
pirut - crash dump with "exception occurred" none

Description Dan Roberts 2007-10-23 18:37:34 UTC
Description of problem:

Trying to open "Add/Remove Software" or "Software Updater" results in a
unhandled exception and the apps fail.

Version-Release number of selected component (if applicable):

Unknown.

How reproducible:

Steps to Reproduce:
1. go to Applicatons | Add/Remove Software
2. go to Application | System Tools | Software Updater
  
Actual results:
Component: pirut
Summary: TB8f5a3431 yumRepo.py:749:_getRepoXML:RepoError: Cannot retrieve
repository metadata (repomd.xml) for repository: fedora. Please verify its path
and try again

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 441, in <module>
    main()
  File "/usr/sbin/pirut", line 434, in main
    pm = PackageManager(options.config, options.onlyrepo)
  File "/usr/sbin/pirut", line 61, in __init__
    GraphicalYumBase.__init__(self, False, config)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 124, in __init__
    self.reset()
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 223, in reset
    self.doTsSetup()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 64, in doTsSetup
    return self._getTs()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 78, in _getTs
    self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 521, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 381, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.5/site-packages/yum/repos.py", line 239, 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 753, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 749, in _getRepoXML
    raise Errors.RepoError, (msg)
RepoError: Cannot retrieve repository metadata (repomd.xml) for repository:
fedora. Please verify its path and try again

Local variables in innermost frame:
msg: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.
Please verify its path and try again
self: fedora
e: Cannot find a valid baseurl for repo: fedora


Expected results:


Additional info:

Comment 1 Jeremy Katz 2007-10-23 18:56:29 UTC
Can you download the test update of pirut from the f7-updates-testing repository
and see if it helps
  yum --enablerepo=updates-testing update pirut 



Comment 2 Dan Roberts 2007-10-23 19:03:05 UTC
Jeremy, 
Sure, but not immediately.  I'll post the results.

Comment 3 Dan Roberts 2007-10-23 19:22:35 UTC
I downloaded pirut-1.3.23-1.fc7.noarch.rpm.  Now I get the same pirut unhandled
exception when trying to install the package.

Comment 4 Barry Coleman 2007-10-31 13:29:11 UTC
Created attachment 244541 [details]
pirut - crash dump with "exception occurred"

Comment 5 Jeremy Katz 2007-10-31 13:39:46 UTC

*** This bug has been marked as a duplicate of 325771 ***