Bug 154546 - Clicking a fence device object causes Traceback error
Clicking a fence device object causes Traceback error
Status: CLOSED NEXTRELEASE
Product: Red Hat Cluster Suite
Classification: Red Hat
Component: redhat-config-cluster (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jim Parsons
Cluster QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-12 11:48 EDT by Paul Kennedy
Modified: 2015-04-19 20:46 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-29 16:42:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Paul Kennedy 2005-04-12 11:48:41 EDT
Description of problem:
At the navigation tree, clicking a fence device under "Fence Devices" causes a
Traceback error. Captured message is in "Actual Results" that follows.

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

How reproducible:


Steps to Reproduce:
1. Start system-config-cluster.
2. Click a fence device under the "Fence Devices" object.
3. Observe traceback error message at command line prompt.

  
Actual results:
[root@tng3-4 root]# system-config-cluster
Traceback (most recent call last):
  File "/usr/share/system-config-cluster/ConfigTab.py", line 148, in
on_tree_selection_changed
    self.prop_renderer.render_to_layout_area(obj.getProperties(),
obj.getName(),type)
  File "/usr/share/system-config-cluster/FenceDevice.py", line 34, in getProperties
    stringbuf = stringbuf + "<span><b>" + NAME + ": " + "</b>" + VALUE + "\n</span>"
TypeError: coercing to Unicode: need string or buffer, NoneType found


Expected results:
No error message

Additional info:
To make the problem occur after clicking the fence device, click any other
object in the navigation tree, then click the fence device again.
Comment 1 Corey Marthaler 2005-04-21 14:49:09 EDT
FWIW, I can not reproduce this in 0.9.33-1.0
Comment 2 Paul Kennedy 2005-04-21 15:07:03 EDT
I am running at 0.9.33-1.0 also and see the same problem. Traceback output:

Traceback (most recent call last):
  File "/usr/share/system-config-cluster/ConfigTab.py", line 153, in
on_tree_selection_changed
    self.prop_renderer.render_to_layout_area(obj.getProperties(),
obj.getName(),type)
  File "/usr/share/system-config-cluster/FenceDevice.py", line 34, in getProperties
    stringbuf = stringbuf + "<span><b>" + NAME + ": " + "</b>" + VALUE + "\n</span>"
TypeError: coercing to Unicode: need string or buffer, NoneType found
Comment 3 Jim Parsons 2005-04-25 19:18:55 EDT
This error is/was caused by a bad config file attr name. This possible error is
now trapped for.

Fixed in 0.9.34-1.0
Comment 4 Corey Marthaler 2005-04-29 16:42:41 EDT
I have been unable to reproduce this, if seen again by others it can be reopened.

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