Bug 946922
| Summary: | [abrt] fedmsg-notify-0.5.0-1.fc18: hub.py:367:__init_consumers:UnboundLocalError: local variable 'consumer' referenced before assignment | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | liam <liam> | ||||||||
| Component: | fedmsg-notify | Assignee: | Luke Macken <lmacken> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 18 | CC: | lmacken, pfrields, rbean, sanjay.ankur | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | i686 | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | abrt_hash:bfbb202aad58ed51a2164baf873bd3b9e23ca591 | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-05-22 03:59: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: |
|
||||||||||
Created attachment 730120 [details]
File: backtrace
Created attachment 730121 [details]
File: core_backtrace
Created attachment 730122 [details]
File: environ
Ralph fixed this upstream a few days ago: https://github.com/mokshaproject/moksha/commit/b75ecbf600179e20ece8a84bca2e09d32b6b6d0e Fantastic. Thanks for the update. Waiting to see if in the repos. Thanks Luke. /me thought he had mucked up some configuration initially. thanks, Warm regards, Ankur This should be fixed by python-moksha-hub-1.2.1 https://admin.fedoraproject.org/updates/FEDORA-2013-5843/python-moksha-hub-1.2.1-1.fc18 |
Description of problem: dnf installed gnome-extension-fedmsg and immediately received the error Version-Release number of selected component: fedmsg-notify-0.5.0-1.fc18 Additional info: cmdline: /usr/bin/python /usr/bin/fedmsg-notify-daemon dso_list: python-moksha-hub-1.2.0-1.fc18.noarch executable: /usr/bin/fedmsg-notify-daemon kernel: 3.8.4-202.fc18.i686 uid: 1000 ureports_counter: 2 Truncated backtrace: hub.py:367:__init_consumers:UnboundLocalError: local variable 'consumer' referenced before assignment Traceback (most recent call last): File "/usr/bin/fedmsg-notify-daemon", line 9, in <module> load_entry_point('fedmsg-notify==0.5.0', 'console_scripts', 'fedmsg-notify-daemon')() File "/usr/lib/python2.7/site-packages/fedmsg_notify/daemon.py", line 282, in main service = FedmsgNotifyService() File "/usr/lib/python2.7/site-packages/fedmsg_notify/daemon.py", line 117, in __init__ prods) File "/usr/lib/python2.7/site-packages/moksha/hub/hub.py", line 230, in __init__ self.__init_consumers() File "/usr/lib/python2.7/site-packages/moksha/hub/hub.py", line 367, in __init_consumers log.warn("Failed to init %r consumer." % consumer) UnboundLocalError: local variable 'consumer' referenced before assignment Local variables in innermost frame: c_class: <fedmsg_notify.daemon.FedmsgNotifyService at /org/fedoraproject/fedmsg/notify at 0x873060c> c: <fedmsg_notify.daemon.FedmsgNotifyService at /org/fedoraproject/fedmsg/notify at 0x873060c> e: UnboundLocalError("local variable 'consumer' referenced before assignment",) self: <moksha.hub.hub.CentralMokshaHub object at 0x95bbe2c>