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


Groups > comp.lang.python > #8507 > unrolled thread

module problem on windows 64bit

Started bymiamia <peterirbizon@gmail.com>
First post2011-06-27 09:59 -0700
Last post2011-07-07 10:24 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  module problem on windows 64bit miamia <peterirbizon@gmail.com> - 2011-06-27 09:59 -0700
    Re: module problem on windows 64bit Thomas Jollans <t@jollybox.de> - 2011-07-05 17:05 +0200
      Re: module problem on windows 64bit miamia <peterirbizon@gmail.com> - 2011-07-07 10:24 -0700

#8507 — module problem on windows 64bit

Frommiamia <peterirbizon@gmail.com>
Date2011-06-27 09:59 -0700
Subjectmodule problem on windows 64bit
Message-ID<55f1238e-2613-4767-9c5f-ae4b6e56d1c2@d1g2000yqm.googlegroups.com>
Hello,

on 32-bit windows everything works ok but on 64-bit win I am getting
this error:
Traceback (most recent call last):
  File "app.py", line 1040, in do_this_now
  File "kinterbasdb\__init__.pyc", line 119, in <module>
  File "kinterbasdb\_kinterbasdb.pyc", line 12, in <module>
  File "kinterbasdb\_kinterbasdb.pyc", line 10, in __load
ImportError: DLL load failed: This application has failed to start
because the application configuration is incorrect. Reinstalling the
application may fix this problem.

How to get it work on 64bit windows as well? many thanks

[toc] | [next] | [standalone]


#8835

FromThomas Jollans <t@jollybox.de>
Date2011-07-05 17:05 +0200
Message-ID<mailman.634.1309878293.1164.python-list@python.org>
In reply to#8507
On 06/27/2011 06:59 PM, miamia wrote:
> Hello,
> 
> on 32-bit windows everything works ok but on 64-bit win I am getting
> this error:
> Traceback (most recent call last):
>   File "app.py", line 1040, in do_this_now
>   File "kinterbasdb\__init__.pyc", line 119, in <module>
>   File "kinterbasdb\_kinterbasdb.pyc", line 12, in <module>
>   File "kinterbasdb\_kinterbasdb.pyc", line 10, in __load
> ImportError: DLL load failed: This application has failed to start
> because the application configuration is incorrect. Reinstalling the
> application may fix this problem.
> 
> How to get it work on 64bit windows as well? many thanks

A process can only link to a shared library compiled for the same
architecture as the process. In layman's terms: A 32-bit DLL won't work
with a 64-bit program. It looks like this package is attempting to load
a 32-bit DLL. That's not going to work. Either procure a 64-bit version
of the DLL, or use a 32-bit version of Python.

[toc] | [prev] | [next] | [standalone]


#9042

Frommiamia <peterirbizon@gmail.com>
Date2011-07-07 10:24 -0700
Message-ID<682c2d6e-4564-4451-ae77-84638aa4d6c9@q17g2000vby.googlegroups.com>
In reply to#8835
On Jul 5, 5:05 pm, Thomas Jollans <t...@jollybox.de> wrote:
> On 06/27/2011 06:59 PM, miamia wrote:
>
> > Hello,
>
> > on 32-bit windows everything works ok but on 64-bit win I am getting
> > this error:
> > Traceback (most recent call last):
> >   File "app.py", line 1040, in do_this_now
> >   File "kinterbasdb\__init__.pyc", line 119, in <module>
> >   File "kinterbasdb\_kinterbasdb.pyc", line 12, in <module>
> >   File "kinterbasdb\_kinterbasdb.pyc", line 10, in __load
> > ImportError: DLL load failed: This application has failed to start
> > because the application configuration is incorrect. Reinstalling the
> > application may fix this problem.
>
> > How to get it work on 64bit windows as well? many thanks
>
> A process can only link to a shared library compiled for the same
> architecture as the process. In layman's terms: A 32-bit DLL won't work
> with a 64-bit program. It looks like this package is attempting to load
> a 32-bit DLL. That's not going to work. Either procure a 64-bit version
> of the DLL, or use a 32-bit version of Python.

hello, it looks lite I solved it with files msvcp80.dll,
Microsoft.VC80.CRT.manifest. I forgot to extract these files from
firebird embedded pachage to my app folder. now it seems to be ok on
both systems 32 and 64bit (so It wasn't 64bit issue as I thought).
thank you

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web