Hi!

I recently started testing SAP DB and I use Python for scripting. I downloaded version 7.4.03 for win32. I started IDLE and got following error:

Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> import sapdbapi
Traceback (most recent call last):
File "<pyshell#0>", line 1, in ?
import sapdbapi
File "C:\Programme\sapdb\depend\misc\sapdbapi.py", line 2, in ?
from sapdb.dbapi import *
File "C:\Programme\sapdb\depend\misc\sapdb\dbapi.py", line 46, in ?
import sapdb.sql
File "C:\Programme\sapdb\depend\misc\sapdb\sql.py", line 35, in ?
from python22.sql import *
ImportError: No module named python22.sql
>>>

Where is 'python22.sql'? Am I doing something else wrong? After that I downloaded the interfaces for Linux and got following warning (DB still on W2k box, interfaces installed on Debian/Woody):

WARNING: Python C API version mismatch for module sql:
This Python has API version 1010, module sql has version 1007.

But at least I was able to retrieve some data.

Besides of this I couldn't find any further docs (besides 'http://www.sapdb.org/sapdbapi.html'). Are there any examples or other infos (like a tutorial, hints, ...) somewhere?

Best Regards,
Oliver

--
VECERNIK Datenerfassungssysteme
A-2560 Hernstein, Hofkogelgasse 17
Tel.: +43 2633 47530, Fax: DW 50
http://members.aon.at/vecernik


_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to