Public bug reported:

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

** Affects: heartbeat (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to