Red Hat Bugzilla – Bug 398291
system-config-cluster 1.0.51-2.0 fail to start, gives traceback
Last modified: 2010-10-22 16:40:47 EDT
Description of problem:
Latest system-config-cluster fail to start.
Version-Release number of selected component (if applicable):
system-config-cluster 1.0.51-2.0 in RHEL4 (what you get if you up2date to latest
everything from RHN).
Steps to Reproduce:
1. install system-config-cluster
2. run system-config-cluster
3. observe traceback
[root@dhcp-1-170 ~]# system-config-cluster
Traceback (most recent call last):
File "/usr/sbin/system-config-cluster", line 52, in ?
from ConfigTab import ConfigTab
File "/usr/share/system-config-cluster/ConfigTab.py", line 27, in ?
from ConfigTabController import ConfigTabController
File "/usr/share/system-config-cluster/ConfigTabController.py", line 35, in ?
from FaildomController import FaildomController
File "/usr/share/system-config-cluster/FaildomController.py", line 213
if val == "Yes" or val == "yes" or val="1":
SyntaxError: invalid syntax
gui comes up
This is the patch that fixes it
[root@dhcp-1-170 ~]# diff -u
--- /usr/share/system-config-cluster/FaildomController.py.bak 2007-11-25
+++ /usr/share/system-config-cluster/FaildomController.py 2007-11-25
@@ -210,7 +210,7 @@
#Set checkboxes for restricted and prioritized
val = self.current_faildom.getAttribute("restricted")
if val != None:
- if val == "Yes" or val == "yes" or val="1":
+ if val == "Yes" or val == "yes" or val == "1":
*** Bug 400901 has been marked as a duplicate of this bug. ***
Thanks for the patch - that will sure fix it :(
Asking for necessary acks...
ready for z-stream duplo
Absolutely. The patch will do it.
*** Bug 428441 has been marked as a duplicate of this bug. ***
*** Bug 420271 has been marked as a duplicate of this bug. ***
*** Bug 426839 has been marked as a duplicate of this bug. ***
is this ever getting fixed :D
It is all set for an asynchronous update. I will check where it is stuck and
give it a kick.
*** Bug 433621 has been marked as a duplicate of this bug. ***
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.