[Zope] DCOracle 2 Problem

Matthew T. Kromer matt@zope.com
Tue, 23 Apr 2002 10:22:33 -0400


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
>

My guess is a column which was supposed to have a date in it has a NULL 
date... not sure though.

I'm going to upload rel 1.1 this morning, which has some fixes in it.

-- 
Matt Kromer
Zope Corporation  http://www.zope.com/