[Pacemaker] pacemaker-pygui debian problems

Yan Gao ygao at novell.com
Thu Oct 16 07:56:24 EDT 2008


Hi,
On Thu, 2008-10-16 at 10:42 +0000, Thomas Mueller wrote:
> hi 
> 
> i've installed the brand new pacemaker, pacemaker-pygui and heartbeat 
> packages from the opensuse build service on debian etch amd64.
> 
> the package pacemaker-pygui seems to miss the following depencencies:
> - python-xml
> - python-gtk2
> - python-glade2
Hmm, they might have different names according to OS distributions. In
SuSE linux, it is python-gtk, and the glade library has been included in
python-gtk

> 
> after login, on the console i can see the following messages about 
> missing PNG's:
> /usr/share/heartbeat-gui/timeout.png
> /usr/share/heartbeat-gui/failed.png
> /usr/share/heartbeat-gui/running.png
> /usr/share/heartbeat-gui/stopped.png
> /usr/share/heartbeat-gui/dirty-stopped.png
> 
It has been fixed in upstream.

> if i wan't to add a ressource, i can choose the type. If i then click OK 
> nothing happens.
> 
> console says: 
> AttributeError: 'module' object has no attribute 
> 'STOCK_ORIENTATION_PORTRAIT'
Yes, it's only supported by gtk/python-gtk > 2.10 . I'll try to find a
replacement.

> Traceback (most recent call last):
>   File "/usr/bin/hb_gui", line 2618, in on_add
>     objdlg = ObjectViewDlg(new_elem, True)
>   File "/usr/bin/hb_gui", line 3696, in __init__
>     obj_view = ObjectView(self.xml_node, is_newobj, self.on_changed)
>   File "/usr/bin/hb_gui", line 1971, in __init__
>     self.update(xml_node)
>   File "/usr/bin/hb_gui", line 2072, in update
>     self.on_after_show()
>   File "/usr/bin/hb_gui", line 2080, in on_after_show
>     self.obj_attrs.on_after_show()
>   File "/usr/bin/hb_gui", line 6218, in on_after_show
>     widget.disconnect_by_func(self.on_changed)
> AttributeError: 'gtk.ComboBoxEntry' object has no attribute 
> 'disconnect_by_func'
> 
Old version of python-gtk may not work. Which version of python-gtk are
you using? And also python-gobject2 ?

Regards,
-- 
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





More information about the Pacemaker mailing list