[DB-SIG] newbee help with DCOracle
Mon, 27 Nov 2000 12:46:14 -0800
Thanks for quick response....
By the way I not a developer so any extra details are appreciated.
I think my problem is that I don't have the DCOracle package installed
correclty? I copied the .so's created by the make to the dcoracle
directory as specified in the README.txt in src dir. I added the dcoracle
directory to my Unix path and my pythonpath.
What else do I need to be able to import dcoracle?
From: Andreas Jung [SMTP:firstname.lastname@example.org]
Sent: Monday, November 27, 2000 10:03 AM
To: Turney, James
Subject: Re: [DB-SIG] newbee help with DCOracle
On Mon, Nov 27, 2000 at 09:57:01AM -0800, Turney, James wrote:
> I have managed to get DCOracle1.3.2 to compile and link on a
> system using Oracle 7.3.4.
> The test program that comes with DCOracle seems to open a
connection to the
> database. When I attempt to use any of the methods Connection
> supposed to support I get a message similar to the following:
> object has no attribute".
> For example, if the following is run from the python interpreter
> import Buffer, oci_, sys
> print 'Import succeeded'
> The execution of the dbc.close() always results in the following
> AttributeError: 'Connection' object has no attribute 'close'
> I have placed the DCOracle package (including the shared objects
> my path and LD_LIBRARY_PATH.
Please read the docs. It is not suggested to use directly the oci_
Instead import the DCOracle package - this should fix your problem.