Bad magic number in .pyc file

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

EJW

Bad magic number in .pyc file

Postby EJW » Tue Feb 21, 2006 5:34 pm

I've read the other posts about this being a Python issue but I can't seem to get beyond it.

I'm experimenting with this product while learning more on the Linux platform.

I removed the installed Python package and installed the 2.4.3 version.

Here's what I get:
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.

But it states 2.4.2 is installed:
Bogngo:~/Scalix/scalix-core-intel-suse-10.0.0 # python
Python 2.4.2 (#1, Feb 21 2006, 11:00:46)
[GCC 3.3.3 (SuSE Linux)] on linux2

Detachable
Posts: 11
Joined: Thu Feb 16, 2006 5:24 pm

Postby Detachable » Thu Feb 23, 2006 6:06 pm

I had exactly this problem. I made sure to toss it all out the window before reinstalling. Get rid of all traces that your python install(s) made. hunt around and/or review the files that python is supposed to install.

It's already becoming vague, but I'm fairly sure there were about 2-3 other packages that I needed to install thereafter, but that may have been an indemic problem. Nonetheless updating python fixed it all, but only after I made sure everything was gone.

Good luck!

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Feb 25, 2006 8:11 am

Did you update your python using SuSE RPM packages or from some other source?

Florian.
Florian von Kurnatowski, Die Harder!

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Thu Sep 07, 2006 5:12 am

Florian von Kurnatowski, Die Harder!


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests