Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60391

Re: cx_Oracle throws: ImportError: DLL load failed: This application has failed to start ...

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'importerror:': 0.07; 'see:': 0.07; 'subject:application': 0.07; 'dependency': 0.09; 'failed:': 0.09; 'skip:c 80': 0.09; 'uninstalled': 0.09; 'python': 0.11; 'windows': 0.15; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'next?': 0.16; 'reinstalled': 0.16; 'subject: \n ': 0.16; 'subject:failed': 0.16; 'subject:start': 0.16; 'variable.': 0.16; 'folder': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'obviously': 0.18; 'import': 0.22; 'issue.': 0.22; 'load': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'dll': 0.24; 'looks': 0.24; 'environment': 0.24; 'van': 0.27; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'file': 0.32; 'running': 0.33; 'problem.': 0.35; 'anybody': 0.35; 'but': 0.35; 'c++': 0.36; 'application': 0.37; '2008': 0.38; 'to:addr:python- list': 0.38; 'does': 0.39; 'visual': 0.39; 'to:addr:python.org': 0.39; 'url:u': 0.61; 'first': 0.61; 'times': 0.62; 'header:Reply- To:1': 0.67; 'believe': 0.68; 'reply-to:no real name:2**0': 0.71; 'subject:This': 0.74; 'url:jpg': 0.83; 'complaint': 0.84; 'reply- to:addr:python.org': 0.84; 'subject: ...': 0.84
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=C6LQl2/+ c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=OJn0C7AadrgA:10 a=-h7KQBELLWQA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=Qmoo62jfWKYA:10 a=OgGP0Dt4AAAA:8 a=lSE36UpUshKDADXQoYwA:9 a=wPNLvfGTeEIA:10
X-AUTH mrabarnett:2500
Date Sun, 24 Nov 2013 18:17:33 +0000
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version 1.0
To python-list@python.org
Subject Re: cx_Oracle throws: ImportError: DLL load failed: This application has failed to start ...
References <a08e80bf-db00-4570-96f1-620a33912846@googlegroups.com>
In-Reply-To <a08e80bf-db00-4570-96f1-620a33912846@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3146.1385317053.18130.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385317053 news.xs4all.nl 15867 [2001:888:2000:d::a6]:47396
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60391

Show key headers only | View raw


On 24/11/2013 17:12, Ruben van den Berg wrote:
> I'm on Windows XP SP3, Python 2.7.1. On running
>
> import cx_Oracle
>
> I got the error
>
> ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
>
> I then ran Dependency Walker on cx_Oracle.pyd. Its first complaint was about msvcr80.dll. However, this file is present in C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_0de56c07. (I believe it's part of the MS Visual Studio C++ 2008 package which I installed.)
>
> I obviously uninstalled and reinstalled the cx_Oracle a couple of times but so far to no avail.
>
> Does anybody have a clue what to try next?
>
> For a screenshot of Dependency Walker, please see: https://dl.dropboxusercontent.com/u/116120595/dep_walker_orac.jpg
>
It looks like it's a path issue.

You say that msvcr80.dll is in 
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_0de56c07, 
but is that folder listed as part of the search path?

Have a look at the Windows' PATH environment variable.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

cx_Oracle throws: ImportError: DLL load failed: This application has failed to start ... Ruben van den Berg <rubenvandenberg1978@gmail.com> - 2013-11-24 09:12 -0800
  Re: cx_Oracle throws: ImportError: DLL load failed: This application has failed to start ... Chris Angelico <rosuav@gmail.com> - 2013-11-25 04:18 +1100
  Re: cx_Oracle throws: ImportError: DLL load failed: This application has failed to start ... MRAB <python@mrabarnett.plus.com> - 2013-11-24 18:17 +0000

csiph-web