Bug 1054120 - [abrt] firewall-config: firewall-config:2687:on_richRuleDialogFamilyCombobox_changed:AttributeError: 'Rich_Accept' object has no attribute 'type'
Summary: [abrt] firewall-config: firewall-config:2687:on_richRuleDialogFamilyCombobox_...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 20
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:2f9d4d7352791698992fc4eb88e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-16 09:50 UTC by ILMostro
Modified: 2014-01-18 04:20 UTC (History)
4 users (show)

Fixed In Version: firewalld-0.3.9.2-1.fc20
Clone Of:
Environment:
Last Closed: 2014-01-18 04:20:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (652 bytes, text/plain)
2014-01-16 09:50 UTC, ILMostro
no flags Details
File: environ (2.62 KB, application/octet-stream)
2014-01-16 09:50 UTC, ILMostro
no flags Details

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.


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