DCOracle problem

Q swun at esec.com.au
Mon Aug 7 08:22:33 EDT 2000


did you use the dcoracle_test.py which included in the DCOracle src directory to test it?
it works for me.

Sam.

David Yeung wrote:

> 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

--
Sam Wun                   Firewalls / Security
Senior Software Engineer  Electronic Commerce
eSec Limited              Phone: +61 3 83715376
mailto:swun at eSec.com.au   C++/JAVA/UNIX/WIN32/OOP/OOD


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20000807/0420469d/attachment.html>


More information about the Python-list mailing list