Bug 525094
Summary: | [abrt] crash detected in yum-3.2.24-4.fc12 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Caolan McNamara <caolanm> | ||||||||
Component: | yum | Assignee: | Seth Vidal <skvidal> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | rawhide | CC: | ffesti, james.antill, maxamillion, pmatilai, tim.lauridsen | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | abrt_hash:eb0a64cd | ||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2009-09-24 16:21: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
Caolan McNamara
2009-09-23 10:46:45 UTC
Created attachment 362277 [details]
File: backtrace
Created attachment 362278 [details]
correct backtrace
oh for god sakes, abrt attached the wrong backtrace to this. Manually adding the correct one
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 801, in _getFile if self.mirrorurls: AttributeError: 'YumRepository' object has no attribute 'mirrorurls' Local variables in innermost frame: relative: abrt/0.0.9/1.fc12/x86_64/abrt-addon-python-0.0.9-1.fc12.x86_64.rpm cache: True remote: http://kojipkgs.fedoraproject.org/packages/abrt/0.0.9/1.fc12/x86_64/abrt-addon-python-0.0.9-1.fc12.x86_64.rpm ...what does "yum repolist -v" say? Created attachment 362302 [details]
output
I see, thanks. Here's the upstream proposed fix: Don't traceback on baseurl only repos. which have network failures, BZ 52509 diff --git a/yum/yumRepo.py b/yum/yumRepo.py index d860ef9..daf8095 100644 --- a/yum/yumRepo.py +++ b/yum/yumRepo.py @@ -798,7 +798,7 @@ class YumRepository(Repository, config.RepoConf): ) except URLGrabError, e: errstr = "failed to retrieve %s from %s\nerror was %s" % (relat - if self.mirrorurls: + if hasattr(self, 'mirrorurls'): errstr +="\n You could try running: yum clean expire-cache errstr +="\n To get a new set of mirrors." if e.errno == 256: not the above patch but something that ultimately achieves the same goal has been checked in upstream and the latest yum build in rawhide has this patch. |