2009/1/23 Michael Schwartzkopff <[email protected]>:
> Hi,
>
> I am quite desparate already. I compiled my Pacemaker-GUI. Compile and install
> are OK, besides a small error with gv.py. (I finally removed gv from the 
> import
> line)

gv is used when you try to visualize the transition graph.
The GUI can run fine as long as you don't try to see the transition graph.

> When I call /usr/heartbeat-gui/haclient.py I get the error:
>
> Traceback (most recent call last):
>  File "/usr/lib/heartbeat-gui/haclient.py", line 8318, in ?
>    gtk._gtk.init_check()
> AttributeError: 'module' object has no attribute 'init_check'
>
> When I google for that error, all solutions point to a missing $DISPLAY, but I
> can open a xterm on my remote machine. So it cannot be that problem. Any other
> suggestions? Thanks for any hints.

The error message is about "no attribute 'init_check'", which means
init_check is not implemented
in your python-gtk binding.

It should be there since 2006, so your python-gtk's quite old ;)

If you have some problem to upgrade python-gtk, you can also try to
reverse the following patch.

Hope this helps.

--- pygui.orig/mgmt/client/haclient.py.in   2008-12-04 21:06:08.000000000 +0800
+++ pygui/mgmt/client/haclient.py.in    2008-12-04 21:09:57.000000000 +0800
@@ -9441,6 +9441,11 @@
        return desc

 if __name__ == '__main__' :
+   try:
+       gtk._gtk.init_check()
+   except RuntimeError:
+       print "Can't open display"
+       sys.exit()
    if not pygtk_newer(2, 4) :
        print "the pygtk 2.4 or newer is needed."
        sys.exit()

> Cheers,
>
> --
> Dr. Michael Schwartzkopff
> MultiNET Services GmbH
> Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
> Tel: +49 - 89 - 45 69 11 0
> Fax: +49 - 89 - 45 69 11 21
> mob: +49 - 174 - 343 28 75
>
> mail: [email protected]
> web: www.multinet.de
>
> Sitz der Gesellschaft: 85630 Grasbrunn
> Registergericht: Amtsgericht München HRB 114375
> Geschäftsführer: Günter Jurgeneit, Hubert Martens
>
> ---
>
> PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
> Skype: misch42
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to