Bug 620588 - [abrt] crash in fedora-packager- __init__.py:694:_findmasterbranch:IndexError: list index out of range
[abrt] crash in fedora-packager- __init__.py:694:_findmasterbr...
Product: Fedora
Classification: Fedora
Component: fedora-packager (Show other bugs)
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Dennis Gilmore
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-08-02 18:35 EDT by Paul Wouters
Modified: 2013-01-10 01:06 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-02 18:51:36 EDT
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 (798 bytes, text/plain)
2010-08-02 18:35 EDT, Paul Wouters
no flags Details

  None (edit)
Description Paul Wouters 2010-08-02 18:35:00 EDT
abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/bin/fedpkg commit
component: fedora-packager
executable: /usr/bin/fedpkg
package: fedora-packager-
reason: __init__.py:694:_findmasterbranch:IndexError: list index out of range
release: Fedora release 12 (Constantine)

__init__.py:694:_findmasterbranch:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 959, in <module>
  File "/usr/bin/fedpkg", line 416, in commit
    mymodule = pyfedpkg.PackageModule(args.path)
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 744, in __init__
    self.distval = self._findmasterbranch()
  File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 694, in _findmasterbranch
    return(int(fedoras[-1].strip('f')) + 1)
IndexError: list index out of range

Local variables in innermost frame:
self: <pyfedpkg.PackageModule instance at 0x2178830>
branchre: <_sre.SRE_Pattern object at 0x2179030>
ref: <git.TagReference "refs/tags/nsd-3_2_4-1_fc13">
fedoras: []
branch: 'master'
Comment 1 Paul Wouters 2010-08-02 18:35:03 EDT
Created attachment 436148 [details]
File: backtrace
Comment 2 Paul Wouters 2010-08-02 18:51:36 EDT
This was due to me using the staging repo instead of the proper production repo.

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