[egenix-users] Problem importing the eGenix mx Extensions after new installation of egenix-mx-commercial

Nico Grubert nicogrubert at gmail.com
Tue Feb 20 17:08:46 CET 2007


Dear list members,

I have installed the "egenix-mx-commercial-2.0.7.tar.gz (Unix, C 
compiler, Python 1.5.2, 2.0 - 2.4)" package. After this installation, I 
get this error, when I start my Zope:
------------------------------------------------------------
Your Zope installation is using: Python 2.4.4 UCS2

*** Problem importing the eGenix mx Extensions:

Please make sure that you have downloaded and installed
the right eGenix mxODBC Zope DA version for your version
of Zope. Zope uses the Python interpreter to run products
and binaries for different versions of the interpreter are
mutually incompatible.
------------------------------------------------------------

My previous installation of "mx" and "mxODBCZopeDA" came from a tar 
archive named "egenix-mxodbc-zopeda-1.0.10.linux-x86_64-py2.4_ucs2" 
which contains 2 directories:
- /lib/python/Products/mxODBCZopeDA
- /lib/python/mx

I just copied the "mxODBCZopeDA" directory to my Zope SoftwareHome at 
/usr/local/Zope-2.9.6/lib/python/Products/ and the "mx" directory to 
/usr/local/lib/python2.4/site-packages/. I put the licence files 
"license.py" and "license.txt" into 
/usr/local/lib/python2.4/site-packages/mx/ODBC and everything worked fine.

But after I installed the "egenix-mx-commercial-2.0.7.tar.gz" package I 
get the error message above.

Any idea, what I did wrong?


A short background story why I installed 
"egenix-mx-commercial-2.0.7.tar.gz" instead of leaving everything like 
it is: My Zope was crashing with Python segmentation faults as the 
memory heap becomes corrupted. Recompiling Python with option 
"--without-pymalloc" solved the problems.
Nick Gorham of easysoft (thank you for your great support, Nick) found 
out that this error was caused by the 
egenix-mx-commercial-2.0.7/mx/ODBC/unixODBC/mxODBC.c file so he sent me 
a new mxODBC.c file in order to rebuild the mxODBC plugin.

Regards,
    Nico



More information about the egenix-users mailing list