John Abel wrote:I've just tried this on a clean install of 7.4.3.30 and I get the same error. To make sure, I removed the sapdb directory from site-packages, and tried the import from the <dependent path>/misc directory.
Hi!
I'm trying to use the Python modules (7.4.04.02a) with Python2.3.2, and Solaris, but I keep getting the following error:
/usr/local/lib/python2.3/site-packages/sapdb/sql.py:28: RuntimeWarning: Python C API version mismatch for module sql: This Python has API version 1012, module sql has version 1007.
from pythondef.sql import *
Could it be that you unpacked the archive over <dependent path>/misc? In that case, sql.py would still pick up the library compiled for Python 1.5.2 that is part of the server package (it's in misc/sapdb/pythondef). Unfortunately, I can't yet recommend to delete the directory pythondef as there seem to be some cores with the library compiled for Python 2.3 and I haven't gotten around to fix them.
Using the 1.5.2 librariees isn't that bad except for the warning you're seeing, but you can't access real unicode data. You can access unicode columns if they contain only ASCII characters.
Daniel Dittmar
Regards
John
-- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
