Bug 717516 - firewall-applet crashes in Fedora 15
Summary: firewall-applet crashes in Fedora 15
Keywords:
Status: CLOSED DUPLICATE of bug 716620
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 15
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-29 04:12 UTC by Dan Krejsa
Modified: 2011-06-29 08:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-29 08:59:33 UTC
Type: ---


Attachments (Terms of Use)

Description Dan Krejsa 2011-06-29 04:12:23 UTC
Description of problem:

When I try to start firewall-applet, it crashes.
I start it from the gnome 3 gui.
The following appears in /var/log/messages:

=====8<=====
Jun 28 21:01:43 localhost firewall-applet: abrt: detected unhandled Python exception in /usr/bin/firewall-applet
Jun 28 21:01:43 localhost abrtd: Unrecognized variable 'DumpLocation' in '/etc/abrt/abrt.conf'
Jun 28 21:01:43 localhost abrtd: New client connected
Jun 28 21:01:43 localhost abrtd: Directory 'pyhook-2011-06-28-21:01:43-3001' creation detected
Jun 28 21:01:43 localhost abrt-server[3003]: Saved Python crash dump of pid 3001 to /var/spool/abrt/pyhook-2011-06-28-21:01:43-3001
Jun 28 21:01:43 localhost abrt-server[3003]: Unrecognized variable 'DumpLocation' in '/etc/abrt/abrt.conf'
Jun 28 21:01:43 localhost abrtd: New dump directory /var/spool/abrt/pyhook-2011-06-28-21:01:43-3001, processing
=====8<=====

The backtrace in the mentioned /var/spool/abrt/pyhook-2011-06-28-21:01:43-3001
directory is the following:

=====8<=====
connection.py:630:call_blocking:TypeError: a float is required

Traceback (most recent call last):
  File "/usr/bin/firewall-applet", line 599, in <module>
    applet = TrayApplet()
  File "/usr/bin/firewall-applet", line 223, in __init__
    self.connect_to_firewalld()
  File "/usr/bin/firewall-applet", line 287, in connect_to_firewalld
    items = self.fw.getServices()
  File "<string>", line 2, in getServices
  File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 141, in _enable_proxy
    return func(*p, **k)
  File "/usr/share/firewalld/firewall_client.py", line 85, in getServices
    (status, services) = self.fw.getServices()
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/site-packages/slip/dbus/proxies.py", line 41, in __call__
    return dbus.proxies._ProxyMethod.__call__(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
TypeError: a float is required

Local variables in innermost frame:
byte_arrays: False
self: <dbus._dbus.SystemBus (system) at 0x931ff2c>
args: ()
utf8_strings: False
bus_name: dbus.UTF8String(':1.11')
get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
object_path: '/org/fedoraproject/FirewallD'
timeout: None
signature: ''
dbus_interface: 'org.fedoraproject.FirewallD'
message: <dbus.lowlevel.MethodCallMessage object at 0x916c980>
method: 'getServices'
=====8<=====


Version-Release number of selected component (if applicable):

[dlkrejsa@localhost ~]$ rpm -qf /usr/bin/firewall-applet 
firewall-applet-0.1.3-2.fc15.noarch



How reproducible:
every time I've tried so far

Steps to Reproduce:
1. Attempt to start firewall-applet using the gnome 3 GUI, or else from the command line using 

$ /usr/bin/python /usr/bin/firewall-applet
2.
3.
  
Actual results:
/usr/bin/firewall-applet crashes


Expected results:
firewall-applet runs successfully.


Additional info:

Comment 1 Dan Krejsa 2011-06-29 04:22:57 UTC
I just tried the following, the error is somewhat similar and may be related.

[dlkrejsa@localhost notes]$ sudo firewall-cmd --enable --service=ssh
Traceback (most recent call last):
  File "/usr/bin/firewall-cmd", line 178, in <module>
    fw.enableService(value, timeout)
  File "<string>", line 2, in enableService
  File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 141, in _enable_proxy
    return func(*p, **k)
  File "/usr/share/firewalld/firewall_client.py", line 81, in enableService
    return self.fw.enableService(service, timeout)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/site-packages/slip/dbus/proxies.py", line 41, in __call__
    return dbus.proxies._ProxyMethod.__call__(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
TypeError: a float is required

Comment 2 Thomas Woerner 2011-06-29 08:59:33 UTC

*** This bug has been marked as a duplicate of bug 716620 ***


Note You need to log in before you can comment on or make changes to this bug.