Bug 969803 - [abrt] yum-3.4.3-91.fc19: __init__.py:3386:_groupInstalledEnvData:AttributeError: 'InstalledEnvironment' object has no attribute 'allgroups'
[abrt] yum-3.4.3-91.fc19: __init__.py:3386:_groupInstalledEnvData:AttributeEr...
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-06-02 08:17 EDT by Matteo Settenvini
Modified: 2014-10-09 04:45 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-10-09 04:45:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (1.33 KB, text/plain)
2013-06-02 08:17 EDT, Matteo Settenvini
no flags Details
File: core_backtrace (746 bytes, text/plain)
2013-06-02 08:17 EDT, Matteo Settenvini
no flags Details
File: environ (3.50 KB, text/plain)
2013-06-02 08:17 EDT, Matteo Settenvini
no flags Details

  None (edit)
Description Matteo Settenvini 2013-06-02 08:17:01 EDT
Description of problem:
I was seeing these warnings when running yum update:

Warning: group Environment gnome-desktop-environment does not exist.
Warning: group Environment minimal-environment does not exist.

Therefore, I tried running  yum grouperase gnome-desktop-environment to see what would happen, whence the error.

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python /usr/bin/yum groupremove gnome-desktop-environment minimal-install
executable:     /usr/bin/yum
kernel:         3.9.2-301.fc19.x86_64
runlevel:       N 5
uid:            0

Truncated backtrace:
__init__.py:3386:_groupInstalledEnvData:AttributeError: 'InstalledEnvironment' object has no attribute 'allgroups'

Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 316, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 126, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 522, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 1047, in doCommand
    return base.removeGroups(extcmds)
  File "/usr/share/yum-cli/cli.py", line 1945, in removeGroups
    txmbrs = self.environmentRemove(group.environmentid)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3636, in environmentRemove
    igroup_data = self._groupInstalledEnvData(thisgroup)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3386, in _groupInstalledEnvData
    for grp_name in set(evgroup.allgroups + list(grp_names)):
AttributeError: 'InstalledEnvironment' object has no attribute 'allgroups'

Local variables in innermost frame:
grp_names: {}
self: <cli.YumBaseCli object at 0x209b390>
ret: {}
evgroup: <yum.igroups.InstalledEnvironment object at 0x2296d10>
Comment 1 Matteo Settenvini 2013-06-02 08:17:06 EDT
Created attachment 755880 [details]
File: backtrace
Comment 2 Matteo Settenvini 2013-06-02 08:17:10 EDT
Created attachment 755881 [details]
File: core_backtrace
Comment 3 Matteo Settenvini 2013-06-02 08:17:14 EDT
Created attachment 755882 [details]
File: environ
Comment 4 Valentina Mukhamedzhanova 2014-10-09 04:45:54 EDT
Fixed by upstream commit 95a971e30f2742a3047c2ed7843efa562373818a.

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