Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 518210 - ui instance has no attribute 'config' - self.config not initialized
Summary: ui instance has no attribute 'config' - self.config not initialized
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-firewall
Version: 11
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2009-08-19 13:54 UTC by Mads Kiilerich
Modified: 2009-12-13 14:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-12-13 14:25:09 UTC
Type: ---

Attachments (Terms of Use)

Description Mads Kiilerich 2009-08-19 13:54:14 UTC
Description of problem:

after browsing through lokkit I got the following, mangled by newt tty settings:

Traceback (most recent call last):
File "/usr/bin/system-config-firewall-tui", line 41, in <module>
File "/usr/share/system-config-firewall/fw_tui.py", line 863, in run
res = self.main()
File "/usr/share/system-config-firewall/fw_tui.py", line 738, in main
if self.apply() == 0:
  <T  File "/usr/share/system-config-firewall/fw_tui.py", line 625, in applyen
args = self.genArgs()
File "/usr/share/system-config-firewall/fw_tui.py", line 594, in genArgs
if self.config and self.config.services and \
  AttributeError: ui instance has no attribute 'config'

$ pylint /usr/share/system-config-firewall/fw_tui.py|grep '\<config\>'
W:197:ui.loadConfig: Attribute 'config' defined outside __init__

I assume that self.config should have been initialized to None

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


Comment 2 Mads Kiilerich 2009-12-13 14:25:09 UTC
Apparently fixed in F12. Closing.

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