Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

Fwd: Bug#497576: heartbeat-gui: Information fails to display in GUI

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


horms at verge

Sep 3, 2008, 5:13 PM

Post #1 of 3 (176 views)
Permalink
Fwd: Bug#497576: heartbeat-gui: Information fails to display in GUI

Hi,

does anyone have any insignts into this problem,
which is both at the link below and included at the bottom
of this email?

http://bugs.debian.org/497576

There is also another bug that has been filed gainst heartbeat-gui
for the 2.1.4-1 release. The trivial dependancy problem mentioned
there seems to be unrelated. But the problems that Hans-Joachim reports
seem to go deeper than dependancy issues.

http://bugs.debian.org/496951


----- Forwarded message from Matt Zagrabelny <mzagrabe[at]d.umn.edu> -----

Subject: Bug#497576: heartbeat-gui: Information fails to display in GUI
From: Matt Zagrabelny <mzagrabe[at]d.umn.edu>
Date: Tue, 02 Sep 2008 14:51:36 -0500

Package: heartbeat-gui
Version: 2.1.4-1
Severity: important

While running hb_gui and clicking on a resource I do not get any
information displayed in the right-hand panel.

Instead an error is reported to stderr:

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.5/site-packages/_xmlplus/parsers/xmlproc/xmldtd.py",
line 894, in load_dtd_string
dp.parse_string(dtdstr)
File
"/usr/lib/python2.5/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py",
line 139, in parse_string
self.feed(doc)
File
"/usr/lib/python2.5/site-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'


-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages heartbeat-gui depends on:
ii python 2.5.2-2 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
ii python-glade2 2.12.1-6 GTK+ bindings: Glade support
ii python-gtk2 2.12.1-6 Python bindings for the GTK+ widge

heartbeat-gui recommends no packages.

Versions of packages heartbeat-gui suggests:
ii heartbeat 2.1.4-1 Subsystem for High-Availability Li

-- no debconf information


----- End forwarded message -----
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


ygao at novell

Sep 5, 2008, 6:42 AM

Post #2 of 3 (156 views)
Permalink
Re: Fwd: Bug#497576: heartbeat-gui: Information fails to display in GUI [In reply to]

Hi Simon,
The GUI needs to get crm.dtd from the backend, though got nothing.
Pls make sure the backend is also 2.4.1 release, And if the crm.dtd file
exists in the appropriate path in the server end.

The path of crm.dtd is defined as :
const char *dtd_file = HA_NOARCHDATAHBDIR"/crm.dtd"

It might be different on different OS.

Regards,
Yan

On Thu, 2008-09-04 at 10:13 +1000, Simon Horman wrote:
> Hi,
>
> does anyone have any insignts into this problem,
> which is both at the link below and included at the bottom
> of this email?
>
> http://bugs.debian.org/497576
>
> There is also another bug that has been filed gainst heartbeat-gui
> for the 2.1.4-1 release. The trivial dependancy problem mentioned
> there seems to be unrelated. But the problems that Hans-Joachim reports
> seem to go deeper than dependancy issues.
>
> http://bugs.debian.org/496951
>
>
> ----- Forwarded message from Matt Zagrabelny <mzagrabe[at]d.umn.edu> -----
>
> Subject: Bug#497576: heartbeat-gui: Information fails to display in GUI
> From: Matt Zagrabelny <mzagrabe[at]d.umn.edu>
> Date: Tue, 02 Sep 2008 14:51:36 -0500
>
> Package: heartbeat-gui
> Version: 2.1.4-1
> Severity: important
>
> While running hb_gui and clicking on a resource I do not get any
> information displayed in the right-hand panel.
>
> Instead an error is reported to stderr:
>
> 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.5/site-packages/_xmlplus/parsers/xmlproc/xmldtd.py",
> line 894, in load_dtd_string
> dp.parse_string(dtdstr)
> File
> "/usr/lib/python2.5/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py",
> line 139, in parse_string
> self.feed(doc)
> File
> "/usr/lib/python2.5/site-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'
>
>
> -- System Information:
> Debian Release: lenny/sid
> APT prefers unstable
> APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages heartbeat-gui depends on:
> ii python 2.5.2-2 An interactive high-level object-o
> ii python-central 0.6.8 register and build utility for Pyt
> ii python-glade2 2.12.1-6 GTK+ bindings: Glade support
> ii python-gtk2 2.12.1-6 Python bindings for the GTK+ widge
>
> heartbeat-gui recommends no packages.
>
> Versions of packages heartbeat-gui suggests:
> ii heartbeat 2.1.4-1 Subsystem for High-Availability Li
>
> -- no debconf information
>
>
> ----- End forwarded message -----
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
--
Yan Gao
China R&D Software Engineer
ygao[at]novell.com

Novell, Inc.
SUSE® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


ygao at novell

Sep 5, 2008, 7:02 AM

Post #3 of 3 (158 views)
Permalink
Re: Fwd: Bug#497576: heartbeat-gui: Information fails to display in GUI [In reply to]

On Fri, 2008-09-05 at 15:42 +0200, Yan Gao wrote:
> Hi Simon,
> The GUI needs to get crm.dtd from the backend, though got nothing.
> Pls make sure the backend is also 2.4.1 release, And if the crm.dtd file
> exists in the appropriate path in the server end.
>
> The path of crm.dtd is defined as :
> const char *dtd_file = HA_NOARCHDATAHBDIR"/crm.dtd"
>
> It might be different on different OS.
>

> After reading a pdf [1] about Pacemaker, I am uncertain that this bug
> may get much attention.
>
> From the document:
> --------------{ cut begins }-------------
> What About the GUI?
> The GUI implements a fundamentally broken design that has been known to
> destroy configurations it doesn’t understand
> (which is plenty of them). As far as I am concerned it does not exist
> and it will not be mentioned again in this document.
> --------------{ cut ends }-------------
>
> [1]
> http://clusterlabs.org/wiki/images/5/53/Configuration_Explained_1.0.pdf

BTW, It will no longer be like that soon. The GUI is being redesigned.

Regards,
Yan
>
> On Thu, 2008-09-04 at 10:13 +1000, Simon Horman wrote:
> > Hi,
> >
> > does anyone have any insignts into this problem,
> > which is both at the link below and included at the bottom
> > of this email?
> >
> > http://bugs.debian.org/497576
> >
> > There is also another bug that has been filed gainst heartbeat-gui
> > for the 2.1.4-1 release. The trivial dependancy problem mentioned
> > there seems to be unrelated. But the problems that Hans-Joachim reports
> > seem to go deeper than dependancy issues.
> >
> > http://bugs.debian.org/496951
> >
> >
> > ----- Forwarded message from Matt Zagrabelny <mzagrabe[at]d.umn.edu> -----
> >
> > Subject: Bug#497576: heartbeat-gui: Information fails to display in GUI
> > From: Matt Zagrabelny <mzagrabe[at]d.umn.edu>
> > Date: Tue, 02 Sep 2008 14:51:36 -0500
> >
> > Package: heartbeat-gui
> > Version: 2.1.4-1
> > Severity: important
> >
> > While running hb_gui and clicking on a resource I do not get any
> > information displayed in the right-hand panel.
> >
> > Instead an error is reported to stderr:
> >
> > 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.5/site-packages/_xmlplus/parsers/xmlproc/xmldtd.py",
> > line 894, in load_dtd_string
> > dp.parse_string(dtdstr)
> > File
> > "/usr/lib/python2.5/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py",
> > line 139, in parse_string
> > self.feed(doc)
> > File
> > "/usr/lib/python2.5/site-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'
> >
> >
> > -- System Information:
> > Debian Release: lenny/sid
> > APT prefers unstable
> > APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
> > Architecture: i386 (i686)
> >
> > Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
> > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/bash
> >
> > Versions of packages heartbeat-gui depends on:
> > ii python 2.5.2-2 An interactive high-level object-o
> > ii python-central 0.6.8 register and build utility for Pyt
> > ii python-glade2 2.12.1-6 GTK+ bindings: Glade support
> > ii python-gtk2 2.12.1-6 Python bindings for the GTK+ widge
> >
> > heartbeat-gui recommends no packages.
> >
> > Versions of packages heartbeat-gui suggests:
> > ii heartbeat 2.1.4-1 Subsystem for High-Availability Li
> >
> > -- no debconf information
> >
> >
> > ----- End forwarded message -----
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
--
Yan Gao
China R&D Software Engineer
ygao[at]novell.com

Novell, Inc.
SUSE® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.