[qmtest] Python C API version mismatch
Stefan Seefeld
stefan at codesourcery.com
Wed Nov 9 00:35:06 UTC 2005
Kelly Lucas wrote:
> We have just upgraded Python at my company, and now QMTest will not run.
> I see the following error message:
>
> /usr/lib/python2.2/site-packages/qm/executable.py:41: RuntimeWarning:
> Python C API version mismatch for module sigmask: This Python has API
> version 1012, module sigmask has version 1011.
> import qm.sigmask
> Traceback (most recent call last):
[...]
The only bits in the QMTest (binary) package that are specific to a particular
python version are from the qm.sigmask module, which is written in C.
The '/usr/lib/python2.2' path above indicates that QMTest was installed
with python 2.2. If you have upgraded to 2.3 or 2.4 you shouldn't see
this path, unless you explicitely set it with the PYTHONPATH variable
(which would be a bad idea !).
I suggest you reinstall QMTest from a source package, using your new
python version. Download the QMTest source package, and run
'python setup.py install' from its toplevel directory, where 'python'
refers to your newly installed python executable.
Regards,
Stefan
More information about the qmtest
mailing list