Bug 242476 - Unhandled exception. GroupsError: No Groups Available in any repository
Unhandled exception. GroupsError: No Groups Available in any repository
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2007-06-04 10:01 EDT by Ian Chapman
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-05 10:55:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ian Chapman 2007-06-04 10:01:54 EDT
Description of problem:
After installing any software using Pirut, I get the following:


Component: Software Manager
Summary: TB5acb99f7 __init__.py:490:_getGroups:GroupsError: No Groups Available
in any repository

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 115, in _pageSwitch
  File "/usr/sbin/pirut", line 291, in _showBrowse
  File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 473, in
    if len(self.ayum.comps.categories) == 0:
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 517, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 490, in _getGroups
    raise Errors.GroupsError, 'No Groups Available in any repository'
GroupsError: No Groups Available in any repository

Local variables in innermost frame:
repo: scmyumrepo-updates
reposWithGroups: []
self: <__main__.PackageManager object at 0x10541810>
e: requested datatype group not available
overwrite: False


It's using a local repo file pointing to a local mirror. The error may indeed be
correct but I feel it should handle it gracefully.

As a side-note, pirut says:

"An unhandled exception has occurred... <snip> file a detailed report
against _Software Manager_ at https://bugzilla.redhat.com/bugzilla"

This seems a little misleading to me because AFAIK there's no component called
Software Manager in BZ. Perhaps saying "file agains pirut" would be more accurate.

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

How reproducible:
Load Pirut. Install any software.

Steps to Reproduce:
1. Load Software Manager
2. Install some software
3. Unhandled exception warning then quits.
Actual results:

Unhandled exception

Expected results:

The exception should be handled... I guess.

Additional info:
Comment 1 Jeremy Katz 2007-06-04 16:12:41 EDT
What version of yum do you have installed?
Comment 2 Ian Chapman 2007-06-04 16:43:19 EDT

As a jic, the arch is ppc64 even though yum and pirut are noarch.
Comment 3 Jeremy Katz 2007-06-05 10:55:07 EDT
Okay, I think I see the case I missed.  Will be fixed in pirut-1.3.8 which I'll
push to rawhide and then likely as an F7 update a little bit after.
Comment 4 Ian Chapman 2007-06-05 17:12:23 EDT
Thanks very much.

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