Bug 628504
Summary: | [abrt] fedpkg-0.5.1.2-2.fc13: fedpkg:120:display_state:TypeError: 'NoneType' object is unsubscriptable | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Robinson <pbrobinson> | ||||
Component: | fedora-packager | Assignee: | David Cantrell <dcantrell> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 14 | CC: | alex, dcantrell, dennis, mikem, pingou, sanjay.ankur | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | abrt_hash:fbbf1a87 | ||||||
Fixed In Version: | fedora-packager-0.5.2.0-2.fc13 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-01-19 21:04:49 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
Peter Robinson
2010-08-30 09:00:39 UTC
Created an attachment (id=441913) File: backtrace I believe this is fixed in 0.5.1.3 or newer. Also I think the traceback is coming out of koji stuff, koji libraries are trying to tell you about a task that doesn't exist yet. I /think/ I catch this in newer builds, please re-open if I don't. Still can reproduce this with fedpkg-0.5.1.4-1.fc14.noarch: Package: fedpkg-0.5.1.4-1.fc14 Latest Crash: Fri 15 Oct 2010 03:45:59 PM Command: /usr/bin/python /usr/bin/fedpkg build Reason: fedpkg:120:display_state:TypeError: 'NoneType' object is not subscriptable Comment: Full output: fedpkg build Building emacs-common-ess-5.11-2.fc15 for dist-rawhide Created task: 2537366 Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2537366 Watching tasks (this may be safely interrupted)... ^CTraceback (most recent call last): File "/usr/bin/fedpkg", line 1086, in <module> args.command(args) File "/usr/bin/fedpkg", line 335, in build return _watch_koji_tasks(mymodule.kojisession, [task_id], quiet=args.q) File "/usr/bin/fedpkg", line 232, in _watch_koji_tasks for t in tasks.values() if not t.is_done()])) File "/usr/bin/fedpkg", line 120, in display_state if info['state'] == koji.TASK_STATES['OPEN']: TypeError: 'NoneType' object is not subscriptable ^C Package: fedpkg-0.5.1.4-5.fc13 Architecture: x86_64 OS Release: Fedora release 13 (Goddard) How to reproduce ----- 1. git pull 2. fedpkg build 3. control + c while it was building Comment ----- I was building an update, I pressed control + c once to get back to the consol, it crashed. PS: I was running two fedpkg build in two tab of my terminal and I control + c on both, no idea if that might be related Having two running is not likely related. Probably still some issues down in the koji stack. Will look at it. Found the bug, fixed it in both upstream koji and upstream fedpkg. Package: fedpkg-0.5.1.4-5.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. pressed Ctrl C to interrupt watching the build task 2. 3. fedora-packager-0.5.2.0-2.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/fedora-packager-0.5.2.0-2.el5 fedora-packager-0.5.2.0-2.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/fedora-packager-0.5.2.0-2.fc13 fedora-packager-0.5.2.0-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/fedora-packager-0.5.2.0-2.fc14 fedora-packager-0.5.2.0-2.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'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/fedora-packager-0.5.2.0-2.el5 fedora-packager-0.5.2.0-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.2.0-2.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.2.0-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |