Bug 604056 - [abrt] crash in yum-utils-1.1.26-7.fc13: reposync:246:main:AttributeError: 'function' object has no attribute 'keys'
Summary: [abrt] crash in yum-utils-1.1.26-7.fc13: reposync:246:main:AttributeError: 'f...
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils   
(Show other bugs)
Version: 13
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:2aab8f0c
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-15 10:16 UTC by Rakesh Pandit
Modified: 2014-01-21 23:15 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-12-29 08:45:44 UTC
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.58 KB, text/plain)
2010-06-15 10:16 UTC, Rakesh Pandit
no flags Details

Description Rakesh Pandit 2010-06-15 10:16:38 UTC
abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python -tt /usr/bin/reposync --download-metadata
component: yum-utils
executable: /usr/bin/reposync
package: yum-utils-1.1.26-7.fc13
reason: reposync:246:main:AttributeError: 'function' object has no attribute 'keys'
release: Fedora release 13 (Goddard)

reposync:246:main:AttributeError: 'function' object has no attribute 'keys'

Traceback (most recent call last):
  File "/usr/bin/reposync", line 349, in <module>
  File "/usr/bin/reposync", line 246, in main
    wanted_types = repo.repoXML.fileTypes.keys()
AttributeError: 'function' object has no attribute 'keys'

Local variables in innermost frame:
junk: []
local_repo_path: '/media/_data/project/repo/brew'
repo: <yum.yumRepo.YumRepository object at 0x1bdbfd0>
arches: ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch']
cachedir: '/var/tmp/yum-rakesh-4D9o0r'
opts: <Values at 0x1bd3518: {'newest': False, 'downloadcomps': False, 'quiet': False, 'destdir': '/media/_data/project/repo', 'source': False, 'cachedir': None, 'tempcache': True, 'urls': False, 'plugins': False, 'gpgcheck': False, 'downloadmd': True, 'norepopath': False, 'config': '/etc/yum.conf', 'arch': None, 'repoid': [], 'delete': False}>
reposack: <yum.packageSack.ListPackageSack object at 0x1c9b9d0>
my: <__main__.RepoSync object at 0x1491d50>
download_list: [<YumAvailablePackageSqlite : brewkoji-1.7-1.fc12.noarch (0x1c9ba50)>, <YumAvailablePackageSqlite : koji-1.3.2-2.mead.2.fc12.noarch (0x1c9ba90)>, <YumAvailablePackageSqlite : koji-builder-1.3.2-2.mead.2.fc12.noarch (0x1c9bad0)>, <YumAvailablePackageSqlite : koji-hub-1.3.2-2.mead.2.fc12.noarch (0x1c9bb10)>, <YumAvailablePackageSqlite : koji-hub-plugins-1.3.2-2.mead.2.fc12.noarch (0x1c9bb50)>, <YumAvailablePackageSqlite : koji-utils-1.3.2-2.mead.2.fc12.noarch (0x1c9bb90)>, <YumAvailablePackageSqlite : koji-web-1.3.2-2.mead.2.fc12.noarch (0x1c9bbd0)>]

Comment 1 Rakesh Pandit 2010-06-15 10:16:41 UTC
Created attachment 424095 [details]
File: backtrace

Comment 2 Shreyank Gupta 2010-06-15 10:24:33 UTC
Package: yum-utils-1.1.26-7.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)

How to reproduce
1. ran reposync --download-metadata

Comment 3 Tim Lauridsen 2010-06-15 11:59:21 UTC
Could you please retest with yum-utils-1.1.27-2 just push to stable

Comment 4 seth vidal 2010-06-15 13:22:52 UTC
Pretty sure it is broken there, too.

I just checked upstream head and it looks like a simple think-o. I think it was on my part.

fixed now.

Comment 5 Shreyank Gupta 2010-06-24 16:57:18 UTC
Package: yum-utils-1.1.27-2.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)

How to reproduce
1. reposync --download-metadata

Comment 6 Rakesh Pandit 2010-12-29 08:45:44 UTC
New release fixed it up. I will close it as CURRENTRELEASE.

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