[Zope-dev] DCOracle2 Binding Array

brian.r.brinegar.1 brinegar@purdue.edu
Fri, 9 Aug 2002 11:19:27 -0500 (EST)


While using the DCOracle2 module outside of Zope I recieve the following
traceback:

Traceback (most recent call last):
  File "/dev/fd/4", line 206, in ?
    File "/dev/fd/4", line 206, in ?
  File "./modules/Calendar.py", line 193, in dayGroupView
    reservation = Reservation(conflict)
  File "./modules/Reservation.py", line 27, in __init__
    self.load(id)
  File "./modules/Reservation.py", line 134, in load
    sth.execute(sql, id)
  File
"/opt/python/2.2.1-update1/sparc-sunos5.8/lib/python2.2/site-packages/DCOracle2/DCOracle2.py",
line 876, in execute
    return self.executemany(operation,p)
  File
"/opt/python/2.2.1-update1/sparc-sunos5.8/lib/python2.2/site-packages/DCOracle2/DCOracle2.py",
line 1036, in executemany
    baoa[c][br] = p
OverflowError: Assigned value too large  for Binding Array

I have tried the SQL outside of python and it works fine. This also worked
correctly before upgrading to DCOracle2.

Any help?

Thanks,
-Brian