[Zope] DCOracle2 on NT4

Matthew T. Kromer matt@zope.com
Fri, 12 Jul 2002 09:30:04 -0400


Sean Abrahams wrote:

>I'm running into an Oracle error when running my python script using
>DCOracle2 on NT4, yet when I test it by hand in the interpreter it works
>fine.
>
>Using DCOracle2-1.1 on NT4/Apache, and here's the error reported:
>
>"""dco2.DatabaseError: (12538, 'Error while trying to retrieve text
>for error ORA-12538')"""
>
>I've looked up the reason as being related to TNSNAMES.ora but why
>would the interpreter work and not the script? I have Perl scripts
>accessing it fine, so I don't think it's a User problem with Apache.
>
>Thanks,
>Sean
>  
>

The registry equivalent of ORACLE_HOME isn't set properly on that NT 
machine.  You can manually set the process environment variable 
ORACLE_HOME to point at where the Oracle client installation is.

-- 
Matt Kromer
Zope Corporation  http://www.zope.com/