Hi again, I think I've found the source of the problem.
The intrepid/hardy version of heartbeat-gui is a 2.1.3-something, jaunty/karmic 
have a 2.1.4-something version
(see https://launchpad.net/ubuntu/+source/heartbeat).

It really seems that 2.1.4 gui is not compatible with an installation of
heartbeat in version 2.1.3 (for me a debian lenny). This is really not
obvious since most of the gui works and moreover, we are quite
accustomed to have backward compatible minor updates.

If this can be confirmed, I think this issue should be explicited in the
package description (I don't see any other way to warn the user).

confirmed -> Invalid ?

-- 
Traceback in hb_gui when navigating or adding resources/groups/locations
https://bugs.launchpad.net/bugs/368616
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to heartbeat in ubuntu.

Status in “heartbeat” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: heartbeat

If I try to navigate in hb_gui to a resource, I get a traceback right away:

Traceback (most recent call last):
  File "/usr/bin/hb_gui", line 569, in on_cursor_changed
    window.select_view(type, name, status)
  File "/usr/bin/hb_gui", line 2162, in select_view
    self.cur_view = RscView(name)
  File "/usr/bin/hb_gui", line 1246, in __init__
    self.on_changed)
  File "/usr/bin/hb_gui", line 458, in __init__
    dtd_elem = manager.get_dtd_elem(obj_type)
  File "/usr/bin/hb_gui", line 3128, in get_dtd_elem
    complete_dtd = load_dtd_string(dtd)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/parsers/xmlproc/xmldtd.py", 
line 894, in load_dtd_string
    dp.parse_string(dtdstr)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/parsers/xmlproc/xmlutils.py", 
line 139, in parse_string
    self.feed(doc)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/parsers/xmlproc/xmlutils.py", 
line 299, in feed
    new_data = new_data + self.encoded_data
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Same applies to attempting to add a resource:

Traceback (most recent call last):
  File "/usr/bin/hb_gui", line 2241, in on_add_item
    dlg.run()
  File "/usr/bin/hb_gui", line 1546, in run
    self.update_param_list()
  File "/usr/bin/hb_gui", line 1387, in update_param_list
    _("Add Parameter"), "nvpair", meta)
  File "/usr/bin/hb_gui", line 458, in __init__
    dtd_elem = manager.get_dtd_elem(obj_type)
  File "/usr/bin/hb_gui", line 3128, in get_dtd_elem
    complete_dtd = load_dtd_string(dtd)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/parsers/xmlproc/xmldtd.py", 
line 894, in load_dtd_string
    dp.parse_string(dtdstr)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/parsers/xmlproc/xmlutils.py", 
line 139, in parse_string
    self.feed(doc)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/parsers/xmlproc/xmlutils.py", 
line 299, in feed
    new_data = new_data + self.encoded_data
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Expected behavior:
- When navigating to a node, resource, or group, to see the properties for that 
item. (Currently a blank page)
- When adding an item and selecting 'native', the next wizard window to add a 
resource (Currently nothing else shows up, returns to main window)

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: heartbeat-gui 2.1.4-2
ProcEnviron:
 PATH=(custom, user)
 LANG=fr_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: heartbeat
Uname: Linux 2.6.28-11-generic i686

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to