On Jan 21, 2008, at 5:09 PM, Andrew Beekhof wrote:
On Jan 21, 2008, at 3:52 PM, matilda matilda wrote:
"Sebastian Reitenbach" <[EMAIL PROTECTED]>
21.01.2008 15:21 >>>
yes, that helped, I installed both rpm's, but now, when I want to
start the
hb_gui, I get the following error:
Traceback (most recent call last):
File "/usr/bin/hb_gui", line 35, in ?
from pymgmt import *
ImportError: No module named pymgmt
These files are installed:
find /usr/ -name "*pymgmt*"
/usr/lib64/heartbeat-gui/pymgmt.pyc
/usr/lib64/heartbeat-gui/_pymgmt.so.0
/usr/lib64/heartbeat-gui/_pymgmt.so.0.0.0
/usr/lib64/heartbeat-gui/pymgmt.py
I also created a symbolic link from _pymgmt.so.0 to _pymgmt.so,
because I
found a _pymgmt.so file in the same directory, that was installed
on another
SLES box with heartbeat 2.1.2, but that did not helped.
so I removed the 2.1.3 rpm's and installed the 2.1.2, and the
hb_gui is
working on that box, so at least no basic python stuff seems to be
missing.
So there must still sth. missing to get the GUI working again, any
more
idea?
Hi Sebastian, hi Andrew, hi all,
I looked at /usr/bin/hb_gui of version 2.1.3 packed by Andrew.
If you look at line 33,34,35 you'll see that the build process
didn't replace the build environment variables @HA_DATADIR@
and @HA_LIBDIR@ by their values.
ah, well spotted. i'll get them fixed.
pushing up some new packages now - give them a moment to rebuild
(fyi: Fedora x86_64 is currently not able to build due to a build
service problem - just grab an i386 src.rpm and do a rpm rebuild)
Without that python inlcude path the modules necessary for
the rest are not found. That's the reason for the import error.
Version 2.1.2 does have for 32bit:
---------------------8<----------------------------------------
sys.path.append("/usr/share/heartbeat-gui")
sys.path.append("/usr/lib/heartbeat-gui")
from pymgmt import *
---------------------8<----------------------------------------
Best regards
Andreas Mock
_______________________________________________
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