> As a newbie I was trying to run the sample file from > http://www.sapdb.org/longtest.py.html > > Everything works fine until the while loop at the end. > The first call of longResult.read (1000) returns with Attribute error. > Seems that "read" is not a valid attribute.
The first would be to check whether longResult actually is of class SapDB_LongReader: print longResult, type (longResult) > When I start the program I get a warning: > This Python has API version 1010, module sapdb has version 1007 You can download ftp://ftp.sap.com/pub/sapdb/bin/win32/sapdb-python-win32-7.3.00.20.zip for Windows or ftp://ftp.sap.com/pub/sapdb/bin/linux/sapdb-python-linux-i386-7.3.00.20.tgz for Linux. These archives contain versions for Python 1.5, 2.0, 2.1 and 2.2, so there will be no version mismatch. > I installed already the SAPDB source code but cannot find > the implementation of the SAPDB module. Where can I find > the source code for the Python SAPDB module or more specific > the class SapDB_LongReader? It's in sys/src/vin77.c. > Is there a way to find a given class within all the source > code directories? Some hints on how to find source modules of interest is described in http://home.snafu.de/~dittmar/sapdbdev/WhereAreYou.html. Daniel Dittmar -- Daniel Dittmar SAP DB, SAP Labs Berlin [EMAIL PROTECTED] http://www.sapdb.org/ _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
