Re: [cx-oracle-users] Re: DLL Error - python 2.4, Oracle 8.1.7, cx_Oracle 4.1.2, Win XP SP2 (JP Glut
Brought to you by:
atuining
From: JP G. <jpg...@gm...> - 2006-02-08 17:30:12
|
Yes, I thought I made that clear. I am using the right version of cx_Oracle for the version of Oracle. We have Oracle 8.1.7, and I installed the Oracle 8.1.7 (the latest cx_Oracle, 4.1.2) as well as the version of python I am using (I have both 2.4 and 2.3 installed, and the cx_Oracle versions for both, correctly installed in the right directories - I am switching back to 2.3, because I am running into problems with reportlab that I can't work on right now...). The server is 8.1.7. cx_Oracle is built agains 8.1.7. There are no newer versions of ori.dll available (I called the guy who is giving me access to the database on the server, and he has the same lient dll as I do). Thanks, JP On 2/8/06, Anthony Tuininga <ant...@gm...> wrote: > > On Windows, ORACLE_HOME does not need to be set and can in fact cause > difficulties. The directory given seems to imply an Oracle 8 > installation. Have you tried using the cx_Oracle 8i version? > > On 2/8/06, JP Glutting <jpg...@gm...> wrote: > > I added ORACLE_HOME and I get the same error, so that does not seem to > be > > the problem. > > > > Cheers, > > JP > > > > > > On 2/8/06, JP Glutting < jpg...@gm...> wrote: > > > I don't have ORACLE_HOME defined on this computer, but C:\\orant\bin\ > is > > the first thing in the path. > > > > > > Does cx_Oracle depend on ORACLE_HOME being defined? > > > > > > > > > > > > On 2/8/06, Henning von Bargen <H.v...@t-...> wrote: > > > > Please try the following on the python command line: > > > > > > > > import os > > > > for n in sorted(os.environ.keys()): > > > > print "%s=3D%s" % (n, os.environ[n]) > > > > import cx_oracle > > > > > > > > Then take a look at the values of > > > > PATH and ORACLE_HOME. > > > > > > > > This is to see which version of oci.dll python is > > > > actually trying to load. > > > > The %ORACLE_HOME%\bin directory should be the first in PATH. > > > > > > > > Henning > > > > > > > > > > > > > > And I did the import from the command line. I am not sure > > > > > what you mean by > > > > > "a window" showing the problem, but here is the traceback: > > > > > > > > > > >>> import cx_Oracle > > > > > Traceback (most recent call last): > > > > > File "<interactive input>", line 1, in ? > > > > > ImportError: DLL load failed: No se encontr=3DF3 el proceso > > > > > especificado. > > > > > >>> > > > > > > > > > > Cheers, > > > > > JP > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=103432&bid#0486&dat=121642 > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |