Bug 1056270 - problem with if '://' in pkg syntax
Summary: problem with if '://' in pkg syntax
Status: CLOSED DUPLICATE of bug 1058975
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: 20
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
: 1046456 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2014-01-21 20:34 UTC by Fabrice Bellet
Modified: 2014-02-26 22:42 UTC (History)
5 users (show)

Fixed In Version: createrepo-0.10.3-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-01-29 09:36:08 UTC
Type: Bug

Attachments (Terms of Use)

Description Fabrice Bellet 2014-01-21 20:34:53 UTC

On my local koji infrastructure, where I use mergerepos and createrepo to deal with external repositories, I found this error when running koji regen-repo:

Traceback (most recent call last):
  File "/usr/libexec/kojid/mergerepos.orig", line 262, in <module>
  File "/usr/libexec/kojid/mergerepos.orig", line 257, in main
  File "/usr/libexec/kojid/mergerepos.orig", line 237, in write_metadata
  File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 406, in doPkgMetadata
    if '://' in pkg: # remote
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 384, in __getitem__
    return getattr(self, key)
TypeError: getattr(): attribute name must be string

Downgrading to version 0.9.9-23.fc20 fixes this error (there's no iteration to search for :// in the pkg name)

Comment 1 Kevin Fenzi 2014-01-28 21:34:31 UTC
Seeing this here in fedora koji too. ;(

Comment 2 Zdeněk Pavlas 2014-01-29 09:36:08 UTC

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

Comment 3 Mike McLean 2014-02-26 22:42:10 UTC
*** Bug 1046456 has been marked as a duplicate of this bug. ***

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