Page 1 of 2
unable to start scalix-installer
Posted: Fri Sep 01, 2006 6:23 am
by kk123
Scalix Installer - extracting archive, please wait...
RuntimeError: Bad magic number in .pyc file
Scalix Installer - starting version ...
Scalix Installer - using Python 2.3.3.
RuntimeError: Bad magic number in .pyc file
Scalix Installer - cleaning up...
Scalix Installer - stopped.
scalix-core-intel-suse-10.0.1
Search around but still no luck, try remove python as other highlighted at other topic but still the same.
i try to install on a SLES 9 sp3, already follow the guide instraction installed the package which highlighted.
pls give me some hint, i stuck at this point.
thks
Posted: Sat Sep 02, 2006 5:31 am
by florian
Just to be sure, can you please post the output of
Code: Select all
cat /etc/SuSE-release
uname -a
rpm -qa | grep python
Thx,
Florian.
Posted: Wed Sep 06, 2006 6:35 am
by kk123
cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3
uname -a
Linux ScalixServer 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 athlon i386 GNU/Linux
rpm -qa | grep python
python-2.3.3-88.9
python-numeric-23.1-89.1
python-gtk-2.0.0-215.3
thks for your reply
Posted: Wed Sep 06, 2006 6:40 am
by florian
Hm,
to me this looks like a good and supported environment. I've forwarded a link to this thread to our engineering team that is responsible for the Installer component and asked them if they can think of something quickly.
-- Florian.
Posted: Wed Sep 06, 2006 10:04 am
by dkelly
If you do some searches through this forum, you'll find a number of similar posts where the cause was determined to be a bad python installation.
Cheers
Dave
Posted: Wed Sep 06, 2006 9:58 pm
by kk123
I do search around b4 i post, but no luck for me, i'll try search again, maybe i not try hard enough.
as florian said, i also think is a good and supported environment, thats why i purposely download the Installer and patch ISO.
pls give me some guidance.
thks
Posted: Thu Sep 07, 2006 1:55 am
by florian
When you start the installer with the "--debug" switch, does it log anything to /var/log/scalix-installer*.log before it dies?
-- Florian.
Posted: Thu Sep 07, 2006 5:13 am
by florian
Posted: Thu Sep 07, 2006 5:14 am
by kk123
From the last scalix log.
2006-09-01 17:39:06,318 INFO Initializing Scalix Installer version 10.0.1.24
2006-09-01 17:39:06,444 INFO Platform is: SUSE LINUX Enterprise Server 9 (i586) on i386 : supported.
Scalix Installer - extracting archive, please wait...
RuntimeError: Bad magic number in .pyc file
Scalix Installer - starting version ...
Scalix Installer - using Python 2.3.3.
RuntimeError: Bad magic number in .pyc file
Scalix Installer - cleaning up...
Scalix Installer - stopped.
it's not generating any log after 2006-09-01.
Posted: Thu Sep 07, 2006 5:16 am
by florian
When you look at the bug - can it be that you have multiple versions of the python runtime (eventually coming through other applications) on your machine?
Thx,
Florian.
Posted: Thu Sep 07, 2006 5:19 am
by florian
Can you just execute
from the very same shell environment (i.e. Window or type of SSH session) that you tried to start scalix installer from?
Thx,
Florian.
Posted: Thu Sep 07, 2006 5:29 am
by kk123
python-V
Python 2.4.3
i download from python web site and install the rpm.
Posted: Thu Sep 07, 2006 5:33 am
by florian
OK, that is the problem.
The Installer first checks the Python version using the rpm command, but then uses the one in the path. By RPM command, this is 2.3, then it runs using 2.4, which are incompatible.
You will need to set your PATH variable so that it also points to the Python 2.3 environment first, i.e. python -V _must_ return a 2.3 identification.
Cheers,
Florian.
Posted: Thu Sep 07, 2006 6:25 am
by kk123
python -V
Python 2.3.5
--debug
Scalix Installer - extracting archive, please wait...
Scalix Installer - starting version 10.0.1.24...
Scalix Installer - using Python 2.3.3.
INFO:merlin:Initializing Scalix Installer version 10.0.1.24
DEBUG:root:OS: GNU/Linux
DEBUG:root:Release: SUSE LINUX Enterprise Server 9 (i586)
DEBUG:root:Architecture: i386
DEBUG:root:Total memory is 1034204 kB, recommended is 524288 kB
DEBUG:root:Total available disk space: 32717812 kB, recommended is 256000 kB
DEBUG:root:System default browser: epiphany
INFO:merlin:Platform is: SUSE LINUX Enterprise Server 9 (i586) on i386 : supported.
Error: 'No module named pygtk'.
Please install RPM package python-gtk >= 2.0. This package can usually be found on the distribution CD or on the vendor web site.
Scalix Installer - cleaning up...
Scalix Installer - stopped.
i sure that i have installed this python-gtk.
Posted: Thu Sep 07, 2006 6:27 am
by florian
i guess it's probably now one python installation looking for the gtk python module in the other installation or so, maybe there is a module path.
I am sure it's related.
as a different solution, can you try to patch the installer with the patch that has just been added to the bug pointed to in our bugtracking system?
Thx,
Florian.