Bug 349241 - pirut: unhandled exception
Summary: pirut: unhandled exception
Keywords:
Status: CLOSED DUPLICATE of bug 325771
Alias: None
Product: Fedora
Classification: Fedora
Component: pirut
Version: 7
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-23 18:37 UTC by Dan Roberts
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-10-31 13:39:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
pirut - crash dump with "exception occurred" (1.79 KB, application/octet-stream)
2007-10-31 13:29 UTC, Barry Coleman
no flags Details

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 ***


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