DCOracle problems

krnylund at my-deja.com krnylund at my-deja.com
Tue Dec 21 08:55:11 EST 1999


Hello

I'm having some trouble with the DCOracle extension to Python. When
trying to connect I get:

>>> import DCOracle
>>> dbc=DCOracle.Connect("myusername/mypass at sid")
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python1.5/DCOracle/ocidb.py", line 76, in __init__
    sc=oci_8.Logon(u,p,s)
OracleError: ('ORA-12571: TNS:packet writer failure\012', 12571)
>>>

Connecting with sqlplus works perfectly.

The client is a RedHat 6.0 box with the Oracle client v. 8.0.5
and the database is on a HP-UX 10.20 with Oracle Server v. 7.1.6.2

Any help would be greatly appreciated.

Thanks,
Kristian


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list