Bug 453883

Summary: TB57133dcb __init__.py:526:_getGroups:GroupsError: No Groups Available in any repository
Product: Red Hat Enterprise Linux 5 Reporter: John Craig <john>
Component: pirutAssignee: James Antill <james.antill>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 5.2CC: aanandka, bkearney, chiyoda, john_ormonde, sureshd
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-12 16:15:14 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
pirut error dump none

Description John Craig 2008-07-02 21:06:06 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9b5) Gecko/2008042803 Red Hat/3.0b5-0.beta5.6.el5 Firefox/3.0b5

Description of problem:
Traceback (most recent call last):
  File "/usr/sbin/pirut", line 122, in _pageSwitch
    self.pageMap[num]()
  File "/usr/sbin/pirut", line 327, in _showBrowse
    grpsel.doRefresh()
  File "/usr/lib/python2.4/site-packages/pirut/GroupSelector.py", line 523, in doRefresh
    if len(self.ayum.comps.categories) == 0:
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 553, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 526, in _getGroups
    raise Errors.GroupsError, 'No Groups Available in any repository'
GroupsError: No Groups Available in any repository

Local variables in innermost frame:
self: <__main__.PackageManager object at 0x1ef70110>
reposWithGroups: []
overwrite: False


Version-Release number of selected component (if applicable):
pirut-1.3.28-13.el5

How reproducible:
Always


Steps to Reproduce:
1. (as root) Open Applications > Add/Remove Software
2. Uncheck something to remove it
3. Apply (says successful before crash)

Actual Results:
Unhandled exception as above; program exits.

Expected Results:
Presumably, should have redisplayed the list of loaded software.

Additional info:
Configured for software development, mainly.
Comment 1 James Antill 2008-10-06 11:06:45 EDT
*** Bug 465799 has been marked as a duplicate of this bug. ***
Comment 2 Suresh 2008-12-11 09:38:22 EST
Created attachment 326622 [details]
pirut error dump
Comment 3 James Antill 2009-07-09 09:58:25 EDT
*** Bug 510468 has been marked as a duplicate of this bug. ***
Comment 4 James Antill 2013-03-12 16:15:14 EDT
I believe the packaging GUI in RHEL-6 handles not having any groups, although it is a very unusual setup.


This request was evaluated by Red Hat Engineering for inclusion in a Red 
Hat Enterprise Linux maintenance release.

Red Hat does not currently plan to provide this change in a Red Hat 
Enterprise Linux update release for currently deployed products.

With the goal of minimizing risk of change for deployed systems, and in 
response to customer and partner requirements, Red Hat takes a 
conservative approach when evaluating enhancements for inclusion in 
maintenance updates for currently deployed products. The primary 
objectives of update releases are to enable new hardware platform 
support and to resolve critical defects.