Bug 232851

Summary: Python2.5 error when updating software
Product: [Fedora] Fedora Reporter: Andrew <andrew.fingerson>
Component: pythonAssignee: Andrew <andrew.fingerson>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-20 03:12:07 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
plain text document
none
yum repository file
none
yum repository file
none
yum repository file none

Description Andrew 2007-03-18 22:28:51 UTC
Description of problem:
Error when updating software with GUI software manager

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

How reproducible:


Steps to Reproduce:
1. Click Applications
2. Click Add/Remove Software
3. 
  
Actual results:
Component: Software Manager
Summary: TBcf9087aa __init__.py:478:_getGroups:GroupsError: No Groups Available
in any repository

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 311, in
_categorySelected
    self._populateGroups(cat.groups, fbpix)
  File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 315, in
_populateGroups
    filter(lambda x: self.ayum.comps.has_group(x), groups))
  File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 315, in
<lambda>
    filter(lambda x: self.ayum.comps.has_group(x), groups))
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 505, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 478, in _getGroups
    raise Errors.GroupsError, 'No Groups Available in any repository'
GroupsError: No Groups Available in any repository

Local variables in innermost frame:
repo: development
self: <__main__.PackageManager object at 0x10537ff0>
reposWithGroups: [<yum.yumRepo.YumRepository object at 0x10592b90>,
<yum.yumRepo.YumRepository object at 0x10592d70>]
overwrite: False

Expected results:


Additional info:

Comment 1 Andrew 2007-03-18 22:28:51 UTC
Created attachment 150341 [details]
plain text document

Comment 2 Jeremy Katz 2007-03-19 20:24:02 UTC
What repositories are you pointing at?  Does this still occur?  As it looks like
a case where there aren't any comps files configured with your repository.

Comment 3 Andrew 2007-03-20 01:48:58 UTC
I have several .repo files in my /etc/yum.repos.d directory. Would you like me
to attach them or copy & paste the repositories?

Comment 4 Andrew 2007-03-20 02:01:12 UTC
Created attachment 150455 [details]
yum repository file

Comment 5 Andrew 2007-03-20 02:02:20 UTC
Created attachment 150456 [details]
yum repository file

Comment 6 Andrew 2007-03-20 02:03:32 UTC
Created attachment 150457 [details]
yum repository file

Comment 7 Andrew 2007-03-20 02:11:39 UTC
I have attached:
1) fedora-core.repo
2) fedora-development.repo
3) fedora-updates.repo

Other files in the /etc/yum.repos.d directory...
fedora-extras-development.repo
fedora-extras.repo
fedora-legacy.repo
fedora-updates-testing.repo

Comment 8 Andrew 2007-03-20 02:18:09 UTC
This error has occured every time I use the Software Manager. It usually happens
right after installing/removing software and clicking on "Base" within the
"Browse" tab.

Comment 9 Jeremy Katz 2007-03-20 03:12:07 UTC

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