Bug 1047409 - [abrt] yum: igroups.py:114:_read_pkg_grps:ValueError: invalid literal for int() with base 10: ''
Summary: [abrt] yum: igroups.py:114:_read_pkg_grps:ValueError: invalid literal for int...
Keywords:
Status: CLOSED DUPLICATE of bug 971307
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:2db10194fc696fab2f322b5bbd1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-31 01:30 UTC by mswal28462
Modified: 2014-03-03 15:29 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-03 15:29:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.05 KB, text/plain)
2013-12-31 01:30 UTC, mswal28462
no flags Details
File: environ (2.09 KB, text/plain)
2013-12-31 01:30 UTC, mswal28462
no flags Details

Description mswal28462 2013-12-31 01:30:52 UTC
Description of problem:
attempted to install mate

Version-Release number of selected component:
yum-3.4.3-128.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /bin/yum install @mate
executable:     /bin/yum
kernel:         3.12.6-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
igroups.py:114:_read_pkg_grps:ValueError: invalid literal for int() with base 10: ''

Traceback (most recent call last):
  File "/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 355, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 174, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 570, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 435, in doCommand
    return base.installPkgs(extcmds, basecmd=basecmd)
  File "/usr/share/yum-cli/cli.py", line 966, in installPkgs
    txmbrs = self.install(pattern=arg)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4691, in install
    return self._at_groupinstall(kwargs['pattern'])
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4461, in _at_groupinstall
    try: comps = self.comps
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1094, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 933, in _getGroups
    for gid in self.igroups.groups:
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1103, in <lambda>
    igroups = property(fget=lambda self: self._getIGroups(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1063, in _getIGroups
    self._igroups = yum.igroups.InstalledGroups(db_path=pdb_path)
  File "/usr/lib/python2.7/site-packages/yum/igroups.py", line 102, in __init__
    self._read_pkg_grps(db_path)
  File "/usr/lib/python2.7/site-packages/yum/igroups.py", line 114, in _read_pkg_grps
    ver = int(_read_str(fo))
ValueError: invalid literal for int() with base 10: ''

Local variables in innermost frame:
_read_str: <function _read_str at 0x1aaf5f0>
db_path: '/var/lib/yum/groups'
self: <yum.igroups.InstalledGroups object at 0x1ab0310>
fo: <open file '/var/lib/yum/groups/installed', mode 'r' at 0x184adb0>

Comment 1 mswal28462 2013-12-31 01:30:57 UTC
Created attachment 843598 [details]
File: backtrace

Comment 2 mswal28462 2013-12-31 01:30:58 UTC
Created attachment 843599 [details]
File: environ

Comment 3 mswal28462 2013-12-31 02:47:31 UTC
Another user experienced a similar problem:

trying to install cinnamon

reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /bin/yum install cinnamon
executable:     /bin/yum
kernel:         3.12.6-300.fc20.x86_64
package:        yum-3.4.3-128.fc20
reason:         igroups.py:114:_read_pkg_grps:ValueError: invalid literal for int() with base 10: ''
runlevel:       N 5
type:           Python
uid:            0

Comment 4 mswal28462 2014-01-01 04:23:36 UTC
Another user experienced a similar problem:

trying to do a "yum update"

reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /bin/yum update
executable:     /bin/yum
kernel:         3.12.6-300.fc20.x86_64
package:        yum-3.4.3-128.fc20
reason:         igroups.py:114:_read_pkg_grps:ValueError: invalid literal for int() with base 10: ''
runlevel:       N 5
type:           Python
uid:            0

Comment 5 Valentina Mukhamedzhanova 2014-03-03 15:29:43 UTC

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


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