Matthew, I updated to 1.1 that you uploaded an am still getting the same error. Running dco2 on my linux test box, and accessing an oracle 8.1.6 server on a ibm unix 4.3 box. I get the error no matter what table i query, with or without a date field, and even if i misspell the table name. since connecting and querying seems to work (ie data is getting sent and returned), this is most likely not a fault of a bad build or other module correct? I'm relatively new to gnu/linux and still learning everyday. cx_Oracle works fine, but I wanted to use DCOracle2 for Zope and its callproc() feature. What do you suggest I do? Thanks for your help, Sean Tuesday, April 23, 2002, 7:22:33 AM, you wrote: MTK> Sean Abrahams wrote:
All right, I made DCOracle2-PR1 and copied the dco2.so to my /usr/lib/python2.1/site-packages/ directory.
I go into python to test it out, here's what I get:
Python 2.1.3 (#1, Apr 11 2002, 00:19:11) [GCC 2.95.4 20011002 (Debian prerelease)] on linux2 Type "copyright", "credits" or "license" for more information.
import dco2 db = dco2.connect("xxxxx", "xxxxx", "xxxxx") dbc = db.cursor() dbc.execute("select * from table")
Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: an integer is required
Any ideas?
Thanks, Sean
MTK> My guess is a column which was supposed to have a date in it has a NULL MTK> date... not sure though. MTK> I'm going to upload rel 1.1 this morning, which has some fixes in it.