Re: [Zope] DCOracle help required

2000-08-18 Thread Dieter Maurer

Alwyn Schoeman writes:
 > Let me explain my situation.
 > The oracle server is version 7.3.4 running on Solaris.
 > I compiled DCOracle 1.3.1b1 on the Sun using the Oracle 7 libraries.
 > With this I can access an Oracle 8.0.5 database running on Linux over the 
 > network.
 > 
 > Now I want to access the Oracle 7 database from a Linux machine.  Only Oracle 
 > you can get for Linux is 8, so I'm using 8.1.6.
 > I can get it to compile and installed.
 > 
 > But when I do the following to the Oracle 7 database I get:
 > >>> import DCOracle
 > >>> dbc = DCOracle.Connect("ota/ota@ota1")
 > OCI_ERROR at oci_8.c:326
 > ORA-01005: null password given; logon denied
 > Traceback (innermost last):
 >   File "", line 1, in ?
 >   File "/usr/lib/python1.5/DCOracle/ocidb.py", line 77, in __init__
 > sc=oci_8.Logon(u,p,s)
 > OracleError: (1005, 'ORA-01005: null password given; logon denied')
 > 
 > Can anyone please help me to get this to work...
Try to compile DCOracle without the "-DORACLE8" compiler option.
This will work with Oracle 8, too.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] DCOracle help required

2000-08-18 Thread Alwyn Schoeman

Hi,

Let me explain my situation.
The oracle server is version 7.3.4 running on Solaris.
I compiled DCOracle 1.3.1b1 on the Sun using the Oracle 7 libraries.
With this I can access an Oracle 8.0.5 database running on Linux over the 
network.

Now I want to access the Oracle 7 database from a Linux machine.  Only Oracle 
you can get for Linux is 8, so I'm using 8.1.6.
I can get it to compile and installed.

But when I do the following to the Oracle 7 database I get:
>>> import DCOracle
>>> dbc = DCOracle.Connect("ota/ota@ota1")
OCI_ERROR at oci_8.c:326
ORA-01005: null password given; logon denied
Traceback (innermost last):
  File "", line 1, in ?
  File "/usr/lib/python1.5/DCOracle/ocidb.py", line 77, in __init__
sc=oci_8.Logon(u,p,s)
OracleError: (1005, 'ORA-01005: null password given; logon denied')

Can anyone please help me to get this to work...

Thank you
Alwyn Schoeman


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )