Bug 920789

Summary: [abrt] pyp2rpm-0.5.1-5.fc18: metadata_extractors.py:168:extract_data:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: pyp2rpmAssignee: Bohuslav "Slavek" Kabrda <bkabrda>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: bkabrda
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:813523518128a1da8c29051eba1a4457213a3bbd
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-12 18:06:05 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 Miro Hrončok 2013-03-12 18:04:38 UTC
Description of problem:
$ wget http://freshfoo.com/projects/IMAPClient/IMAPClient-0.9.1.zip
$ pyp2rpm -s IMAPClient-0.9.1.zip

Version-Release number of selected component:
pyp2rpm-0.5.1-5.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/pyp2rpm -s IMAPClient-0.9.1.zip
executable:     /usr/bin/pyp2rpm
kernel:         3.7.2-204.fc18.x86_64
uid:            1000

Truncated backtrace:
metadata_extractors.py:168:extract_data:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/bin/pyp2rpm", line 74, in <module>
    converted = convertor.convert()
  File "/usr/lib/python2.7/site-packages/pyp2rpmlib/convertor.py", line 56, in convert
    data = self.metadata_extractor(local_file).extract_data()
  File "/usr/lib/python2.7/site-packages/pyp2rpmlib/metadata_extractors.py", line 168, in extract_data
    release_urls = self.client.release_urls(self.name, self.version)[0]
IndexError: list index out of range

Local variables in innermost frame:
self: <pyp2rpmlib.metadata_extractors.PypiMetadataExtractor object at 0x2958790>

Comment 1 Miro Hrončok 2013-03-12 18:04:41 UTC
Created attachment 709101 [details]
File: backtrace

Comment 2 Miro Hrončok 2013-03-12 18:04:44 UTC
Created attachment 709102 [details]
File: core_backtrace

Comment 3 Miro Hrončok 2013-03-12 18:04:46 UTC
Created attachment 709103 [details]
File: environ

Comment 4 Miro Hrončok 2013-03-12 18:06:05 UTC

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