Bug 556215

Summary: [abrt] crash in yum-utils-1.1.24-2.fc12
Product: [Fedora] Fedora Reporter: Till Maas <opensource>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: james.antill, maxamillion, opensource, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:3b229d1a
Fixed In Version: 1.1.25-1.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-18 16:45:13 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
File: backtrace none

Description Till Maas 2010-01-17 08:13:20 UTC
abrt 1.0.3 detected a crash.

How to reproduce: 1. repoquery --repofrompath epel,http://epel.uni-oldenburg.de/5/i386/ --repoid=epel --groupmember build
Comment: repoquery groupmember buil on a Repo that does not contain groupinf or this group creates a traceback. I used a EPEL repository.

backtrace
-----
Summary: TB3b229d1a __init__.py:703:_getGroups:GroupsError: <unprintable GroupsError object>

Traceback (most recent call last):
  File "/usr/bin/repoquery", line 866, in <module>
    main(sys.argv)
  File "/usr/bin/repoquery", line 857, in main
    repoq.doGroupSetup()
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 641, in doGroupSetup
    return self._getGroups()
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 703, in _getGroups
    raise Errors.GroupsError, _('No Groups Available in any repository')
GroupsError: <unprintable GroupsError object>

Local variables in innermost frame:
group_st: 1263715906.51
self: <__main__.YumBaseQuery object at 0x115fad0>
reposWithGroups: []
overwrite: False

cmdline: /usr/bin/python -tt /usr/bin/repoquery --repofrompath epel,http://epel.uni-oldenburg.de/5/i386/ --repoid=epel --groupmember build
component: yum-utils
executable: /usr/bin/repoquery
kernel: 2.6.31.9-174.fc12.x86_64
package: yum-utils-1.1.24-2.fc12
uuid: 3b229d1a

Comment 1 Till Maas 2010-01-17 08:13:23 UTC
Created attachment 384887 [details]
File: backtrace

Comment 2 Till Maas 2010-01-17 21:16:09 UTC
btw. the repo does contain group information, so probably it's more repofrompath related.

Comment 3 seth vidal 2010-01-18 16:06:07 UTC
confirmed - I can make this happen. looking into it further.

Comment 4 seth vidal 2010-01-18 16:45:13 UTC
fixed upstream. If you want - try this patch:

http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commitdiff;h=318e4dbf39d3f3bd6aa5c34d4a91761e93b88acc

Comment 5 Till Maas 2010-01-18 21:07:20 UTC
(In reply to comment #4)
> fixed upstream. If you want - try this patch:
> 
> http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commitdiff;h=318e4dbf39d3f3bd6aa5c34d4a91761e93b88acc    

Thanks for the fast fix, it works as expected.

Just wondering, will this bug be referenced when yum-utils will be updated in F12?

Comment 6 Tim Lauridsen 2010-01-22 10:22:36 UTC
Yes, if there is a rhbz # in the commit then i will add it to Bodhi, when doing a release.

Comment 7 Fedora Update System 2010-01-27 12:13:42 UTC
yum-utils-1.1.25-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/yum-utils-1.1.25-1.fc12

Comment 8 Fedora Update System 2010-02-11 14:48:11 UTC
yum-utils-1.1.25-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.