>>>> session.sql("""CREATE DBPROC pythontest RETURNS
>CURSOR 
>AS
>$CURSOR = 'PY_CURSOR';

The problem is a misunderstanding between the kernel and the Python driver. The Python 
driver erroneously believes that a cursor gets created. As there is none yet after the 
CREATE DBPROC, the driver accesses at some point a NULL pointer.

You could try a preview of the driver that should handle this  situation:
ftp://ftp.sap.com/pub/maxdb/tmp/maxdb-python-linux-i386-7.5.00.20a.tgz
ftp://ftp.sap.com/pub/maxdb/tmp/maxdb-python-win-i386-7.5.00.20a.zip

Daniel Dittmar

-- 
Daniel Dittmar
SAP Labs Berlin
[EMAIL PROTECTED] 

-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to