abrt 1.1.1 detected a crash. architecture: x86_64 cmdline: /usr/bin/python /usr/bin/fedpkg push component: fedora-packager executable: /usr/bin/fedpkg kernel: 2.6.33.6-147.fc13.x86_64 package: fedora-packager-0.5.1.0-1.fc13 reason: __init__.py:996:getver:IndexError: list index out of range release: Fedora release 13 (Goddard) backtrace ----- __init__.py:996:getver:IndexError: list index out of range Traceback (most recent call last): File "/usr/bin/fedpkg", line 959, in <module> args.command(args) File "/usr/bin/fedpkg", line 563, in push mymodule = pyfedpkg.PackageModule(args.path) File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 757, in __init__ self.ver = self.getver() File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 996, in getver return output[0].split()[0] IndexError: list index out of range Local variables in innermost frame: output: ('', None) self: <pyfedpkg.PackageModule instance at 0x1162560> cmd: ['rpm', "--define '_sourcedir /home/pierrey/GIT/R2spec'", "--define '_specdir /home/pierrey/GIT/R2spec'", "--define '_builddir /home/pierrey/GIT/R2spec'", "--define '_srcrpmdir /home/pierrey/GIT/R2spec'", "--define '_rpmdir /home/pierrey/GIT/R2spec'", "--define 'dist .el4'", "--define 'epel 4'", "--define 'epel 1'", '-q', '--qf', '"%{VERSION} "', '--specfile', '/home/pierrey/GIT/R2spec/R2spec.spec'] comment ----- I tried to update the el4 branch using git cherry-pick. For Fedora branches right after the git cherry-pick I was able to push, here not. How to reproduce ----- 1.fedpkg switch-branch el4 2.git cherry-pick master 3.fedpkg push
Created attachment 436201 [details] File: backtrace
Package: fedora-packager-0.5.1.0-1.fc12 Architecture: x86_64 OS Release: Fedora release 12 (Constantine) How to reproduce ----- 1. 2. 3. Comment ----- Trying to merge changes from master to f13 branch - may have done it wrongly - I'm not quite able to follow the documentation
Looks like fedpkg is having a hard time reading the spec file to determine version and release information. Can you post the specfile somewhere?
It is the one now in the GIT, but it might have been due to a conflicting merge or something like this.
Package: fedora-packager-0.5.1.0-1.fc13 Architecture: x86_64 OS Release: Fedora release 13 (Goddard) How to reproduce ----- 1. fedpkg switch-branch master 2. 3.
Regardless we should catch this error.
Error trapped now.
I am able to reproduce the bug: - Clone a git repo - Edit the spec file to have: =====> Version: 3.0.3 <===== Version: 3.0.3 ===== (as if the merge conflicted) - Run fedpkg push
I have the same error caused probably by wrong version in changelog: error: %changelog not in descending chronological order error: query of specfile /home/jmoskovc/redhat/Packages/Fedora/git/abrt/abrt.spec failed, can't parse Traceback (most recent call last): File "/usr/bin/fedpkg", line 959, in <module> args.command(args) File "/usr/bin/fedpkg", line 506, in local mymodule = pyfedpkg.PackageModule(args.path) File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 757, in __init__ self.ver = self.getver() File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 996, in getver return output[0].split()[0] IndexError: list index out of range btw, would it be possible, to show the line number, where the changelog is wrong?
(In reply to comment #9) > I have the same error caused probably by wrong version in changelog: > > error: %changelog not in descending chronological order > error: query of specfile > /home/jmoskovc/redhat/Packages/Fedora/git/abrt/abrt.spec failed, can't parse > Traceback (most recent call last): > File "/usr/bin/fedpkg", line 959, in <module> > args.command(args) > File "/usr/bin/fedpkg", line 506, in local > mymodule = pyfedpkg.PackageModule(args.path) > File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 757, in > __init__ > self.ver = self.getver() > File "/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py", line 996, in > getver > return output[0].split()[0] > IndexError: list index out of range > > btw, would it be possible, to show the line number, where the changelog is > wrong? That would have to come out of rpm, not fedpkg. File an RFE with them?
python-kitchen-0.2-0.1.a2.el5,fedora-packager-0.5.1.2-1.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/python-kitchen-0.2-0.1.a2.el5,fedora-packager-0.5.1.2-1.el5
fedora-packager-0.5.1.2-1.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/fedora-packager-0.5.1.2-1.fc14
fedora-packager-0.5.1.2-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/fedora-packager-0.5.1.2-1.fc13
fedora-packager-0.5.1.2-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/fedora-packager-0.5.1.2-1.fc12
fedora-packager-0.5.1.2-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update fedora-packager'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/fedora-packager-0.5.1.2-2.fc13
fedora-packager-0.5.1.2-2.el5, python-kitchen-0.2-0.1.a2.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update fedora-packager python-kitchen'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/python-kitchen-0.2-0.1.a2.el5,fedora-packager-0.5.1.2-2.el5
fedora-packager-0.5.1.2-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
fedora-packager-0.5.1.2-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
fedora-packager-0.5.1.2-2.el5, python-kitchen-0.2-0.1.a2.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
fedora-packager-0.5.1.2-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.