Bug 969803 - [abrt] yum-3.4.3-91.fc19: __init__.py:3386:_groupInstalledEnvData:AttributeError: 'InstalledEnvironment' object has no attribute 'allgroups'
Summary: [abrt] yum-3.4.3-91.fc19: __init__.py:3386:_groupInstalledEnvData:AttributeEr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a77f42c512997454ad358767e16...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-02 12:17 UTC by Matteo Settenvini
Modified: 2014-10-09 08:45 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-09 08:45:54 UTC
Type: ---


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

Description Matteo Settenvini 2013-06-02 12:17:01 UTC
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:
yum-3.4.3-91.fc19

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 12:17:06 UTC
Created attachment 755880 [details]
File: backtrace

Comment 2 Matteo Settenvini 2013-06-02 12:17:10 UTC
Created attachment 755881 [details]
File: core_backtrace

Comment 3 Matteo Settenvini 2013-06-02 12:17:14 UTC
Created attachment 755882 [details]
File: environ

Comment 4 Valentina Mukhamedzhanova 2014-10-09 08:45:54 UTC
Fixed by upstream commit 95a971e30f2742a3047c2ed7843efa562373818a.


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