| Summary: | [abrt] wicd-common-1.7.0-8.fc15: wicd-cli.py:196:<module>:NameError: name 'check' is not defined | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter Trenholme <PTrenholme> |
| Component: | wicd | 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 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:13286348dec639886fece52de534e91b2fa2b59b | ||
| Fixed In Version: | wicd-1.7.0-10.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-16 01:57:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
The affected block fails to handle the else case in the if block, resulting in check and message being undefined. I've added an else clause that does:
check = lambda: False
message = lambda: False
Update coming up.
wicd-1.7.0-10.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/wicd-1.7.0-10.fc15 Package wicd-1.7.0-10.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing wicd-1.7.0-10.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/wicd-1.7.0-10.fc15 then log in and leave karma (feedback). wicd-1.7.0-10.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |
abrt version: 2.0.1 architecture: x86_64 cmdline: /usr/bin/python -O /usr/share/wicd/cli/wicd-cli.py -cy TSS3 component: wicd executable: /usr/share/wicd/cli/wicd-cli.py kernel: 2.6.38.7-30.fc15.x86_64 os_release: Fedora release 15 (Lovelock) package: wicd-common-1.7.0-8.fc15 reason: wicd-cli.py:196:<module>:NameError: name 'check' is not defined time: Fri Jun 10 08:32:53 2011 uid: 500 username: Peter backtrace: :wicd-cli.py:196:<module>:NameError: name 'check' is not defined : :Traceback (most recent call last): : File "/usr/share/wicd/cli/wicd-cli.py", line 196, in <module> : while check(): :NameError: name 'check' is not defined : :Local variables in innermost frame: :parser: <optparse.OptionParser instance at 0x1d74c20> :misc: <module 'wicd.misc' from '/usr/lib/python2.7/site-packages/wicd/misc.pyo'> :is_valid_wired_network_id: <function is_valid_wired_network_id at 0x1d69230> :DBusGMainLoop: <built-in function DBusGMainLoop> :is_valid_wireless_network_id: <function is_valid_wireless_network_id at 0x1d691b8> :is_valid_wired_network_profile: <function is_valid_wired_network_profile at 0x1d692a8> :__package__: None :optparse: <module 'optparse' from '/usr/lib64/python2.7/optparse.pyo'> :arguments: ['TSS3'] :op_performed: False :config: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x1d50e90> :1.52 /org/wicd/daemon/config at 0x1d75490> implementing 'org.wicd.daemon.config' at 0x1d75510> :__doc__: None :__builtins__: <module '__builtin__' (built-in)> :bus: <dbus._dbus.SystemBus (system) at 0x1d50e90> :__file__: '/usr/share/wicd/cli/wicd-cli.py' :wireless: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x1d50e90> :1.52 /org/wicd/daemon/wireless at 0x1d65cd0> implementing 'org.wicd.daemon.wireless' at 0x1d75350> :wired: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x1d50e90> :1.52 /org/wicd/daemon/wired at 0x1d752d0> implementing 'org.wicd.daemon.wired' at 0x1d75450> :__name__: '__main__' :sys: <module 'sys' (built-in)> :daemon: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x1d50e90> :1.52 /org/wicd/daemon at 0x1d65410> implementing 'org.wicd.daemon' at 0x1d65c50> :last: None :dbus: <module 'dbus' from '/usr/lib/python2.7/site-packages/dbus/__init__.pyo'> :options: <Values at 0x1d771b8: {'network_property': None, 'load_profile': False, 'list_networks': False, 'disconnect': False, 'network': -1, 'network_details': False, 'scan': False, 'list_encryption_types': False, 'wireless': True, 'set_to': None, 'wired': False, 'connect': True, 'save': False, 'name': None}> event_log: :2011-06-10-08:35:54> Logging into Bugzilla at https://bugzilla.redhat.com :2011-06-10-08:36:01 Can't login. Server said: RPC failed at server. The username or password you entered is not valid. :2011-06-10-08:36:01* (exited with 1)