Bug 697240
| Summary: | [abrt] fedpkg-0.5.7.0-1.fc15: __init__.py:774:retire:UnboundLocalError: local variable 'msg' referenced before assignment | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin Lee <robinlee.sysu> | ||||
| Component: | fedora-packager | Assignee: | David Cantrell <dcantrell> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15 | CC: | dcantrell, dennis, rhbugs | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | abrt_hash:ef9979e3 | ||||||
| Fixed In Version: | fedora-packager-0.5.9.2-1.el5 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-06-10 13:32:08 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: |
|
||||||
Created attachment 492665 [details]
File: backtrace
I committed something to fix this upstream. fedora-packager-0.5.9.2-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/fedora-packager-0.5.9.2-1.fc15 fedora-packager-0.5.9.2-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/fedora-packager-0.5.9.2-1.fc14 fedora-packager-0.5.9.2-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/fedora-packager-0.5.9.2-1.fc13 fedora-packager-0.5.9.2-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fedora-packager-0.5.9.2-1.el6 fedora-packager-0.5.9.2-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/fedora-packager-0.5.9.2-1.el5 Package fedora-packager-0.5.9.2-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing fedora-packager-0.5.9.2-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/fedora-packager-0.5.9.2-1.el6 then log in and leave karma (feedback). fedora-packager-0.5.9.2-1.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.9.2-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.9.2-1.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.9.2-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.9.2-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |
abrt version: 1.1.17 architecture: x86_64 cmdline: /usr/bin/python /usr/bin/fedpkg retire 'Not used by any other package and hard to maintain' component: fedora-packager executable: /usr/bin/fedpkg kernel: 2.6.38.2-9.fc15.x86_64 package: fedpkg-0.5.7.0-1.fc15 reason: __init__.py:774:retire:UnboundLocalError: local variable 'msg' referenced before assignment release: Fedora release 15 (Lovelock) time: 1303017842 uid: 500 backtrace ----- __init__.py:774:retire:UnboundLocalError: local variable 'msg' referenced before assignment Traceback (most recent call last): File "/usr/bin/fedpkg", line 1486, in <module> args.command(args) File "/usr/bin/fedpkg", line 660, in retire pyfedpkg.retire(args.path, args.msg) File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 774, in retire fd.write(msg) UnboundLocalError: local variable 'msg' referenced before assignment Local variables in innermost frame: path: '/media/csd/Programming/pkgdb/python-ZODB3' message: 'Not used by any other package and hard to maintain' cmd: ['git', 'rm', '-rf', '.'] fd: <open file '/media/csd/Programming/pkgdb/python-ZODB3/dead.package', mode 'w' at 0x2c92db0> How to reproduce ----- 1. Running "fedpkg retire 'Some message'"