Bug 531812 - yum.Errors.GroupsError, "No Group named %s exists" % grpid
Summary: yum.Errors.GroupsError, "No Group named %s exists" % grpid
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-language
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Pravin Satpute
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-29 15:18 UTC by Michal Nowak
Modified: 2013-03-08 02:07 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-03 04:38:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Nowak 2009-10-29 15:18:51 UTC
Description of problem:

Select "Czech"

[testmnowak@dhcp-lab-124 ~]$ system-config-language 
Zavedeny zásuvné moduly:dellsysidplugin2, refresh-packagekit
Selhalo přidání skupinového souboru pro repozitář: rawhide - None
Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 175, in okClicked
    self.apply()
  File "/usr/share/system-config-language/language_gui.py", line 265, in apply
    if not install.is_group_installed(grpid, self.mainWindow):
  File "/usr/share/system-config-language/gui_install.py", line 79, in is_group_installed
    raise yum.Errors.GroupsError, "No Group named %s exists" % grpid
yum.Errors.GroupsError: No Group named czech-support exists


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

system-config-language-1.3.3-3.fc12.noarch

How reproducible:

always


This is first-time-run GNOME environment as a new user.

Comment 1 Parag AN(पराग) 2009-10-29 15:42:06 UTC
Strange I can see Czech-support defined in comps-f12.xml but 
yum grouplist | grep Czech gave nothing.

Comment 2 Michal Nowak 2009-10-29 16:01:07 UTC
Perhaps some sort of repodata problem. I can see Czech there: 

newman@dhcp-lab-124 ~ $ yum grouplist | grep Cz
   Czech Support


But it was generic problem, installation of Danish support failed too.

When I tried to look for language support, s-c-language just showed window stating it's connecting to yum DB but backtraced in terminal and stalled.

When I tried to list comps groups, I got this:

newman@dhcp-lab-124 ~ $ yum grouplist 
Loaded plugins: dellsysidplugin2, refresh-packagekit
Setting up Group Process
http://<snip>/pub/fedora/linux/development/x86_64/os/repodata/cbbcb22aa718ece03182bf6820cba2a5db03a652e59622505047970b575623e0-comps-rawhide.xml.gz: [Errno 14] HTTP Error 404 : http://<snip>/pub/fedora/linux/development/x86_64/os/repodata/cbbcb22aa718ece03182bf6820cba2a5db03a652e59622505047970b575623e0-comps-rawhide.xml.gz 
Trying other mirror.
Failed to add groups file for repository: rawhide - None
Installed Groups:
   GNOME Desktop Environment
   Graphical Internet
   KDE (K Desktop Environment)
   Sound and Video
Available Groups:
   Fonts
   Games and Entertainment
   Hardware Support
   System Tools
Done


After `yum clean all` and metadata refresh I am now able to find languages in the list, so, I guess the problem was in package metadata and because of this fault, s-c-language backtraced.

Can it be possible that s-c-language handled the installation in some other way, so, it won't stall when got wrong/unexpected input from yum? (What about PackageKit, can it install whole group?)

Comment 3 Pravin Satpute 2009-11-02 09:11:15 UTC
try once 
$yum groupinstall czech-support
what it gives?


its working fine in my machine, can you little bit elaborate on steps to reproduce?

Comment 4 Michal Nowak 2009-11-02 10:17:22 UTC
(In reply to comment #3)
> try once 
> $yum groupinstall czech-support
> what it gives?

List of cs-related packages, as expected.

It works *now* because the metadata are valid but they ware not at the time of crash, see comment #2. Because of this invalid metadata yum produced unexpected output and s-c-l crashed

> its working fine in my machine, can you little bit elaborate on steps to
> reproduce?  

I am a bit afraid I don't have a sane reproducer, just the output of grouplist at the time of the crash.

Comment 5 Pravin Satpute 2009-11-03 04:38:30 UTC
s-c-l with yum is very much stable(i will try to add exception handling for avoiding such situations) , still there are advantages of having packagekit support. bug already filed for packagekit support bug #444888

so closing this now, please reopen if any problem

Thanks


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