Bug 920782 - [abrt] pyp2rpm-0.5.1-5.fc18: package_getters.py:42:url:IndexError: list index out of range
Summary: [abrt] pyp2rpm-0.5.1-5.fc18: package_getters.py:42:url:IndexError: list index...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pyp2rpm
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bohuslav "Slavek" Kabrda
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6ecb1d00a161913efc1d6c95b7d...
: 920789 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-12 17:57 UTC by Miro Hrončok
Modified: 2013-03-22 00:25 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-22 00:25:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (764 bytes, text/plain)
2013-03-12 17:57 UTC, Miro Hrončok
no flags Details
File: core_backtrace (417 bytes, text/plain)
2013-03-12 17:57 UTC, Miro Hrončok
no flags Details
File: environ (3.12 KB, text/plain)
2013-03-12 17:57 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2013-03-12 17:57:04 UTC
Description of problem:
Run pyp2rpm -n IMAPClient

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

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

Truncated backtrace:
package_getters.py:42:url: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 49, in convert
    local_file = self.getter().get()
  File "/usr/lib/python2.7/site-packages/pyp2rpmlib/package_getters.py", line 51, in get
    save_file = '%s/%s' % (self.save_dir, self.url.split('/')[-1])
  File "/usr/lib/python2.7/site-packages/pyp2rpmlib/package_getters.py", line 42, in url
    return self.client.release_urls(self.name, self.version)[0]['url']
IndexError: list index out of range

Local variables in innermost frame:
self: <pyp2rpmlib.package_getters.PypiDownloader object at 0xc576d0>

Comment 1 Miro Hrončok 2013-03-12 17:57:07 UTC
Created attachment 709098 [details]
File: backtrace

Comment 2 Miro Hrončok 2013-03-12 17:57:09 UTC
Created attachment 709099 [details]
File: core_backtrace

Comment 3 Miro Hrončok 2013-03-12 17:57:11 UTC
Created attachment 709100 [details]
File: environ

Comment 4 Miro Hrončok 2013-03-12 18:06:05 UTC
*** Bug 920789 has been marked as a duplicate of this bug. ***

Comment 5 Bohuslav "Slavek" Kabrda 2013-03-13 06:45:53 UTC
Thanks for the report. This was already fixed upstream by commit [1]. I'll update F18 version to 0.5.2 and F19 and rawhide to latest upstream.


[1] https://bitbucket.org/bkabrda/pyp2rpm/commits/234cc21698e5f9085f24094510f7622cda3f53f7

Comment 6 Fedora Update System 2013-03-13 09:42:21 UTC
pyp2rpm-0.5.2-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/pyp2rpm-0.5.2-1.fc18

Comment 7 Fedora Update System 2013-03-14 02:46:37 UTC
Package pyp2rpm-0.5.2-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pyp2rpm-0.5.2-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3793/pyp2rpm-0.5.2-1.fc18
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-03-22 00:25:44 UTC
pyp2rpm-0.5.2-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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