Bug 997184

Summary: [abrt] firewall-config-0.3.4-1.fc19: firewall-config:1100:service_toggle_cb:AttributeError: 'NoneType' object has no attribute 'getSettings'
Product: [Fedora] Fedora Reporter: amreg <amreg.redhat>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jpopelka, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:7d3d1c6f58bfb106c9472e8c991206463994c0aa
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-16 16:09:54 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 Flags
File: backtrace
none
File: environ none

Description amreg 2013-08-14 21:07:26 UTC
Description of problem:
Attempt to add a service to the service list (left pane of the window), using the "+" button at the bottom, and filling in the dialog box (in fact, I just filled the first field - the only one mandatory). The crash occurred when closing the dialog box.
On my box, I need to run a non-standard server program (in other words : something else than the usual http, ssh, samba, etc...). I've already added the relevant ports/protocols in /etc/service, and I just wanted to open those ports in the firewall.


Version-Release number of selected component:
firewall-config-0.3.4-1.fc19

Additional info:
reporter:       libreport-2.1.6
cmdline:        /usr/bin/python /usr/bin/firewall-config
executable:     /usr/bin/firewall-config
kernel:         3.10.4-300.fc19.i686.PAE
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
firewall-config:1100:service_toggle_cb:AttributeError: 'NoneType' object has no attribute 'getSettings'

Traceback (most recent call last):
  File "/usr/bin/firewall-config", line 1100, in service_toggle_cb
    settings = zone.getSettings()
AttributeError: 'NoneType' object has no attribute 'getSettings'

Local variables in innermost frame:
old_val: False
name: 'samba'
zone: None
self: <__main__.FirewallConfig object at 0xa0194ec>
iter: <GtkTreeIter at 0xa4cae20>
toggle: <CellRendererToggle object at 0xa2b0694 (GtkCellRendererToggle at 0xa14b570)>
active_zone: 'public'
model: <ListStore object at 0xa302914 (GtkListStore at 0xa26c7a0)>
col: 0
row: '37'

Comment 1 amreg 2013-08-14 21:07:30 UTC
Created attachment 786705 [details]
File: backtrace

Comment 2 amreg 2013-08-14 21:07:33 UTC
Created attachment 786706 [details]
File: environ

Comment 3 Jiri Popelka 2013-08-16 16:09:54 UTC
hmmm, no idea how that traceback could happen, but your steps to reproduce seem similar to bug #993205.

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