Bug 971307

Summary: [abrt] yum-3.4.3-91.fc19: igroups.py:92:_read_pkg_grps:ValueError: invalid literal for int() with base 10: ''
Product: [Fedora] Fedora Reporter: Ladislav Jozsa <ljozsa>
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: admiller, ffesti, firas.alkafri, jzeleny, mswal2846, mykola.dvornik, packaging-team-maint, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:330158dc6063065f73d07e86059af10e6dbd6387
Fixed In Version: yum-3.4.3-148.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-10 02:57:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Ladislav Jozsa 2013-06-06 09:06:44 UTC
Description of problem:


Version-Release number of selected component:
yum-3.4.3-91.fc19

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python /bin/yum install gparted
executable:     /bin/yum
kernel:         3.9.4-300.fc19.x86_64
runlevel:       N 5
uid:            0

Truncated backtrace:
igroups.py:92:_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 316, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 219, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 713, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1801, in runTransaction
    self.igroups.save()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1062, in <lambda>
    igroups = property(fget=lambda self: self._getIGroups(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1022, in _getIGroups
    self._igroups = yum.igroups.InstalledGroups(db_path=pdb_path)
  File "/usr/lib/python2.7/site-packages/yum/igroups.py", line 80, in __init__
    self._read_pkg_grps(db_path)
  File "/usr/lib/python2.7/site-packages/yum/igroups.py", line 92, 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 0x2d14140>
db_path: '/var/lib/yum/groups'
self: <yum.igroups.InstalledGroups object at 0x2bf1f90>
fo: <open file '/var/lib/yum/groups/installed', mode 'r' at 0x2f2ded0>

Comment 1 Ladislav Jozsa 2013-06-06 09:06:49 UTC
Created attachment 757568 [details]
File: backtrace

Comment 2 Ladislav Jozsa 2013-06-06 09:06:54 UTC
Created attachment 757569 [details]
File: core_backtrace

Comment 3 Ladislav Jozsa 2013-06-06 09:06:59 UTC
Created attachment 757570 [details]
File: environ

Comment 4 Jan Zeleny 2013-06-10 08:13:46 UTC
This seems to be loosely related to the recent changes in yum groups. James, could you please take a look at it?

Comment 5 Valentina Mukhamedzhanova 2014-03-03 15:29:41 UTC
*** Bug 1070143 has been marked as a duplicate of this bug. ***

Comment 6 Valentina Mukhamedzhanova 2014-03-03 15:29:43 UTC
*** Bug 1047409 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2014-05-22 13:10:21 UTC
yum-3.4.3-148.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-3.4.3-148.fc20

Comment 8 Fedora Update System 2014-05-23 18:54:54 UTC
Package yum-3.4.3-148.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-3.4.3-148.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6603/yum-3.4.3-148.fc20
then log in and leave karma (feedback).

Comment 9 Mykola Dvornik 2014-05-23 19:08:36 UTC
The issue is still there

Comment 10 Valentina Mukhamedzhanova 2014-05-26 13:08:50 UTC
Hi Mykola, do you mean the issue is still there in Fedora 19? Because the update has been issued only for Fedora 20 so far.

Comment 11 Fedora Update System 2014-06-10 02:57:23 UTC
yum-3.4.3-148.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Mykola Dvornik 2014-06-16 12:01:59 UTC
I mean Fedora 20. The bug is still there.

Comment 13 Fedora Update System 2014-07-09 15:23:00 UTC
yum-3.4.3-152.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-152.fc19