Bug 709698 - [abrt] createrepo-0.9.9-3.fc15: packages.py:1145:_dump_requires:IndexError: pop from empty list
Summary: [abrt] createrepo-0.9.9-3.fc15: packages.py:1145:_dump_requires:IndexError: p...
Keywords:
Status: CLOSED DUPLICATE of bug 715108
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e3264b46ec812842083f8a10ab9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-01 12:32 UTC by Hugues M.-Plante
Modified: 2016-09-20 02:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-26 15:52:54 UTC
Type: ---


Attachments (Terms of Use)

Description Hugues M.-Plante 2011-06-01 12:32:59 UTC
abrt version: 2.0.1
architecture:   x86_64
cmdline:        
component:      createrepo
executable:     /usr/share/createrepo/worker.py
kernel:         2.6.38.6-27.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        createrepo-0.9.9-3.fc15
reason:         packages.py:1145:_dump_requires:IndexError: pop from empty list
time:           Wed Jun  1 08:20:17 2011
uid:            500
username:       hugues

backtrace:
:packages.py:1145:_dump_requires:IndexError: pop from empty list
:
:Traceback (most recent call last):
:  File "/usr/share/createrepo/worker.py", line 101, in <module>
:    main(sys.argv[1:])
:  File "/usr/share/createrepo/worker.py", line 84, in main
:    pri.write(pkg.xml_dump_primary_metadata())
:  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1208, in xml_dump_primary_metadata
:    msg += misc.to_unicode(self._dump_format_items())
:  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1076, in _dump_format_items
:    msg += self._dump_requires()
:  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1145, in _dump_requires
:    best = rest.pop()
:IndexError: pop from empty list
:
:Local variables in innermost frame:
:mylist: [('/bin/chown', None, (None, None, None), 0), ('/usr/bin/man', None, (None, None, None), 0), ('libstdc++.so.6()(64bit)', None, (None, None, None), 0), ('/usr/bin/head', None, (None, None, None), 0), ('/usr/bin/newgrp', None, (None, None, None), 0), ('/usr/bin/localedef', None, (None, None, None), 0), ('/usr/bin/msgfmt', None, (None, None, None), 0), ('/usr/bin/killall', None, (None, None, None), 0), ('/bin/sort', None, (None, None, None), 0), ('/usr/bin/locale', None, (None, None, None), 0), ('/bin/sh', None, (None, None, None), 0), ('/bin/basename', None, (None, None, None), 0), ('libssl3.so()(64bit)', None, (None, None, None), 0), ('/usr/bin/patch', None, (None, None, None), 0), ('libc.so.6()(64bit)', None, (None, None, None), 0), ('/usr/bin/ipcs', None, (None, None, None), 0), ('/sbin/pidof', None, (None, None, None), 0), ('libncurses.so.5()(64bit)', None, (None, None, None), 0), ('libgcc_s.so.1()(64bit)', None, (None, None, None), 0), ('/bin/umount', None, (None, None, None), 0), ('/bin/ln', None, (None, None, None), 0), ('/bin/uname', None, (None, None, None), 0), ('/usr/bin/expr', None, (None, None, None), 0), ('/usr/bin/cmp', None, (None, None, None), 0), ('/usr/bin/tr', None, (None, None, None), 0), ('/bin/awk', None, (None, None, None), 0), ('/usr/sbin/groupmod', None, (None, None, None), 0), ('/bin/stty', None, (None, None, None), 0), ('/bin/cat', None, (None, None, None), 0), ('/bin/ps', None, (None, None, None), 0), ('/bin/rm', None, (None, None, None), 0), ('/bin/dmesg', None, (None, None, None), 0), ('/usr/bin/tty', None, (None, None, None), 0), ('/usr/bin/md5sum', None, (None, None, None), 0), ('/bin/ed', None, (None, None, None), 0), ('/usr/bin/cksum', None, (None, None, None), 0), ('/usr/bin/dirname', None, (None, None, None), 0), ('/usr/bin/test', None, (None, None, None), 0), ('/usr/sbin/groupadd', None, (None, None, None), 0), ('/bin/tar', None, (None, None, None), 0), ('/bin/mktemp', None, (None, None, None), 0), ('libm.so.6()(64bit)', None, (None, None, None), 0), ('/bin/df', None, (None, None, None), 0), ('/bin/more', None, (None, None, None), 0), ('/bin/pwd', None, (None, None, None), 0), ('/bin/bash', None, (None, None, None), 0), ('/bin/egrep', None, (None, None, None), 0), ('/usr/bin/pathchk', None, (None, None, None), 0), ('/bin/su', None, (None, None, None), 0), ('/usr/bin/diff', None, (None, None, None), 0), ('/bin/cpio', None, (None, None, None), 0), ('/bin/true', None, (None, None, None), 0), ('/usr/bin/unexpand', None, (None, None, None), 0), ('/usr/bin/pr', None, (None, None, None), 0), ('/bin/gettext', None, (None, None, None), 0), ('/usr/sbin/userdel', None, (None, None, None), 0), ('/usr/bin/tail', None, (None, None, None), 0), ('/bin/mkdir', None, (None, None, None), 0), ('/bin/rmdir', None, (None, None, None), 0), ('/usr/bin/ipcrm', None, (None, None, None), 0), ('/usr/bin/expand', None, (None, None, None), 0), ('/usr/bin/at', None, (None, None, None), 0), ('/usr/bin/gencat', None, (None, None, None), 0), ('/bin/cut', None, (None, None, None), 0), ('/usr/bin/batch', None, (None, None, None), 0), ('/usr/bin/pax', None, (None, None, None), 0), ('/bin/dd', None, (None, None, None), 0), ('/bin/sed', None, (None, None, None), 0), ('/usr/bin/uniq', None, (None, None, None), 0), ('libdl.so.2()(64bit)', None, (None, None, None), 0), ('/usr/bin/m4', None, (None, None, None), 0), ('/usr/bin/logger', None, (None, None, None), 0), ('/bin/gunzip', None, (None, None, None), 0), ('/usr/bin/comm', None, (None, None, None), 0), ('/bin/find', None, (None, None, None), 0), ('/usr/bin/fold', None, (None, None, None), 0), ('/usr/bin/renice', None, (None, None, None), 0), ('/bin/sync', None, (None, None, None), 0), ('/bin/grep', None, (None, None, None), 0), ('/bin/touch', None, (None, None, None), 0), ('/usr/bin/[', None, (None, None, None), 0), ('/bin/zcat', None, (None, None, None), 0), ('/usr/bin/du', None, (None, None, None), 0), ('/usr/bin/seq', None, (None, None, None), 0), ('/usr/bin/groups', None, (None, None, None), 0), ('/bin/mount', None, (None, None, None), 0), ('/usr/sbin/useradd', None, (None, None, None), 0), ('/usr/bin/install', None, (None, None, None), 0), ('/usr/bin/printf', None, (None, None, None), 0), ('/usr/bin/getconf', None, (None, None, None), 0), ('/bin/chgrp', None, (None, None, None), 0), ('rpmlib(CompressedFileNames)', 'LE', ('0', '3.0.4', '1'), 0), ('/usr/bin/chfn', None, (None, None, None), 0), ('/usr/bin/ar', None, (None, None, None), 0), ('libutil.so.1()(64bit)', None, (None, None, None), 0), ('/usr/bin/time', None, (None, None, None), 0), ('libpam.so.0()(64bit)', None, (None, None, None), 0), ('/usr/bin/xargs', None, (None, None, None), 0), ('/bin/hostname', None, (None, None, None), 0), ('/bin/mailx', None, (None, None, None), 0), ('/usr/bin/nl', None, (None, None, None), 0), ('/usr/bin/python', None, (None, None, None), 0), ('/bin/gzip', None, (None, None, None), 0), ('libcrypt.so.1()(64bit)', None, (None, None, None), 0), ('/usr/bin/id', None, (None, None, None), 0), ('libnspr4.so()(64bit)', None, (None, None, None), 0), ('/bin/echo', None, (None, None, None), 0), ('libz.so.1()(64bit)', None, (None, None, None), 0), ('/usr/bin/csplit', None, (None, None, None), 0), ('/usr/bin/chsh', None, (None, None, None), 0), ('/bin/sh', None, (None, None, None), 1), ('/bin/cp', None, (None, None, None), 0), ('/usr/lib/lsb/remove_initd', None, (None, None, None), 0), ('/usr/bin/crontab', None, (None, None, None), 0), ('libnss3.so()(64bit)', None, (None, None, None), 0), ('/usr/bin/tsort', None, (None, None, None), 0), ('/bin/false', None, (None, None, None), 0), ('/usr/sbin/groupdel', None, (None, None, None), 0), ('/usr/bin/split', None, (None, None, None), 0), ('/usr/bin/col', None, (None, None, None), 0), ('/usr/bin/iconv', None, (None, None, None), 0), ('/usr/bin/join', None, (None, None, None), 0), ('/bin/fgrep', None, (None, None, None), 0), ('/usr/bin/mkfifo', None, (None, None, None), 0), ('/bin/sleep', None, (None, None, None), 0), ('/usr/bin/od', None, (None, None, None), 0), ('/usr/sbin/usermod', None, (None, None, None), 0), ('/bin/env', None, (None, None, None), 0), ('/usr/bin/perl', None, (None, None, None), 0), ('/usr/bin/make', None, (None, None, None), 0), ('/sbin/fuser', None, (None, None, None), 0), ('/usr/bin/wc', None, (None, None, None), 0), ('rpmlib(PayloadIsXz)', 'LE', ('0', '5.2', '1'), 0), ('/usr/lib/lsb/install_initd', None, (None, None, None), 0), ('/usr/bin/nohup', None, (None, None, None), 0), ('/bin/mv', None, (None, None, None), 0), ('rpmlib(FileDigests)', 'LE', ('0', '4.6.0', '1'), 0), ('/usr/bin/paste', None, (None, None, None), 0), ('/bin/nice', None, (None, None, None), 0), ('libpthread.so.0()(64bit)', None, (None, None, None), 0), ('rpmlib(PayloadFilesHavePrefix)', 'LE', ('0', '4.0', '1'), 0), ('/bin/mknod', None, (None, None, None), 0), ('/bin/kill', None, (None, None, None), 0), ('/sbin/shutdown', None, (None, None, None), 0), ('/bin/chmod', None, (None, None, None), 0), ('/usr/bin/strip', None, (None, None, None), 0), ('/bin/date', None, (None, None, None), 0), ('/usr/bin/passwd', None, (None, None, None), 0), ('/usr/bin/bc', None, (None, None, None), 0), ('/usr/bin/tee', None, (None, None, None), 0), ('/usr/bin/logname', None, (None, None, None), 0), ('/bin/ls', None, (None, None, None), 0), ('librt.so.1()(64bit)', None, (None, None, None), 0), ('/usr/bin/file', None, (None, None, None), 0), ('/usr/sbin/sendmail', None, (None, None, None), 0)]
:self: <CreateRepoPackage : redhat-lsb-4.0-6.fc15.x86_64 (0x3449cd0)>
:rest: []
:best: ('libc.so.6()(64bit)', None, (None, None, None), 0)
:msg: '\n    <rpm:requires>\n'
:libc_requires: [('libc.so.6()(64bit)', None, (None, None, None), 0)]

comment:
:I reposync the Fedora repositories for installation on LAN machines.
:Since the upgrade to Fedora 15, createrepo chokes on the "fedora" repository. 
:The "updates" one works fine, as well as the RPM Fusion repositories I also download. 
:The command line used is "createrepo $repo_home --update -g comps.xml".
:I have also tried without the options to no avail.

comment~:
:I reposync the Fedora repositories for installation on LAN machines.
:Since the upgrade to Fedora 15, createrepo chokes on the "fedora" repository. 
:The "updates" one works fine, as well as the RPM Fusion repositories I also download. 
:The command line used is "createrepo $repo_home --update -g comps.xml". I have also tried without the options to no avail.

event_log:
:2011-06-01-08:31:42> Logging into Bugzilla at https://bugzilla.redhat.com
:2011-06-01-08:31:43  Can't login. Server said: RPC failed at server.  The username or password you entered is not valid.
:2011-06-01-08:31:43* (exited with 1)

Comment 1 Christoph Karl 2011-06-06 17:42:41 UTC
Me having the same problem.
Removing "redhat-lsb-4.0-6.fc15.x86_64.rpm" makes createrepo working OK.

Comment 2 James Antill 2011-07-26 15:52:54 UTC

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


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