DCOracle problem

Pedro Vega pvega at clientes.euskaltel.es
Mon Aug 7 12:38:26 EDT 2000


Hi all
Try :
>>> import DCOracle
>>> dbc=DCOracle.Connect("scott/tiger at db2")
>>> c=dbc.Cursor()

Pedro.

David Yeung <dyeung at ust.hk> escribió en el mensaje de noticias
398E9E4F.A7ABC760 at ust.hk...
> 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("")
> >>> 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