DCOracle problem

David Yeung dyeung at ust.hk
Mon Aug 7 07:32:31 EDT 2000


Does anyone successfully use DCOracle on Redhat 6.2, Python 1.5.2 and Oracle 8.1.6?
I can compile the DCOracle v1.3.1b1 (in http://www.zope.org/Products/DCOracle), and
connect to the oracle database (without error), but the connection Object is simply empty,
here is an example:

% python
Python 1.5.2 (#1, Sep 17 1999, 20:15:36)  [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import oci_
>>> dbc = oci_.Connect("scott/tiger at db2")
>>> dir(dbc)
[]
>>> c = dbc.cursor()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
AttributeError: 'Connection' object has no attribute 'cursor'


Any advice what the problem is? Thanks

david



More information about the Python-list mailing list