Bug 1054120

Summary: [abrt] firewall-config: firewall-config:2687:on_richRuleDialogFamilyCombobox_changed:AttributeError: 'Rich_Accept' object has no attribute 'type'
Product: [Fedora] Fedora Reporter: ILMostro <ilmostro7>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: daramas444, ilmostro7, jpopelka, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/bebc936b5a216f18e7a584d65f877d19aecb0ca3
Whiteboard: abrt_hash:2f9d4d7352791698992fc4eb88e18ee4a60c7109
Fixed In Version: firewalld-0.3.9.2-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-18 04:20:21 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 ILMostro 2014-01-16 09:50:13 UTC
Description of problem:
Creating a "Rich Rule" in the firewall-config GUI-client to allow UPD access from a single local ip host (Google Chromecast).  Terminal keeps displaying error that Action "accept" is missing 'type' argument, but GUI-client states that 'type' argument is only accessible when Action argument is "reject".

Version-Release number of selected component:
firewall-config-0.3.9-1.fc20

Additional info:
reporter:       libreport-2.1.11
cmdline:        /usr/bin/python -Es /bin/firewall-config
executable:     /bin/firewall-config
kernel:         3.12.7-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
firewall-config:2687:on_richRuleDialogFamilyCombobox_changed:AttributeError: 'Rich_Accept' object has no attribute 'type'

Traceback (most recent call last):
  File "/bin/firewall-config", line 2687, in on_richRuleDialogFamilyCombobox_changed
    if old_obj and old_obj.family == family and old_obj.action.type:
AttributeError: 'Rich_Accept' object has no attribute 'type'

Local variables in innermost frame:
family: 'ipv4'
self: <__main__.FirewallConfig object at 0x2cd9310>
args: (<ComboBoxText object at 0x2cf8fa0 (GtkComboBoxText at 0x2e418b0)>,)
old_obj: <firewall.core.rich.Rich_Rule object at 0x2cf7f90>
icmp: 'admin-prohib'
combolabel: 'ipv4'

Comment 1 ILMostro 2014-01-16 09:50:21 UTC
Created attachment 850965 [details]
File: backtrace

Comment 2 ILMostro 2014-01-16 09:50:25 UTC
Created attachment 850966 [details]
File: environ

Comment 4 daramas444 2014-01-16 14:13:08 UTC
Another user experienced a similar problem:

If I am correct, I was trying to edit rich rules. I got an error message like "_rule() takes exactly 5 arguments (4 provided)" or somthing similar

reporter:       libreport-2.1.11
cmdline:        /usr/bin/python -Es /usr/bin/firewall-config
executable:     /usr/bin/firewall-config
kernel:         3.12.7-300.fc20.x86_64
package:        firewall-config-0.3.9-1.fc20
reason:         firewall-config:2687:on_richRuleDialogFamilyCombobox_changed:AttributeError: 'Rich_Accept' object has no attribute 'type'
runlevel:       N 5
type:           Python
uid:            1000

Comment 5 Fedora Update System 2014-01-16 15:32:22 UTC
firewalld-0.3.9.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/firewalld-0.3.9.1-1.fc20

Comment 6 Fedora Update System 2014-01-18 04:20:21 UTC
firewalld-0.3.9.2-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.