Re: Problems running on hp dual core processor

2008-09-23 Thread Miki
Hello,

 I have a number of clients running a program built with
 python 2.5.  One has just purchased an HP with a duel
 core processor,  2.2G with .099g ram.

 On the new hp, when they try to print they get an
 import error;
 File win32ui.pyc line 12, in module
 File win32ui.pyc, line 10, in _load
 ImportError: DLL load failed:  The specified module
 could not be found.

 The file is there The only difference I could find from
 their other machines is the processor.
Is it the same OS (XP vs Vista ...)?
Try to run a small script importing win32ui from CMD, it might give
you a better indication on which DLL is causing the problem.

As suggested by Mike, run DependecyWalker on win32ui.pyd
HTH,
--
Miki [EMAIL PROTECTED]
http://pythonwise.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list


Problems running on hp dual core processor

2008-09-22 Thread jim-on-linux
Python help,

I have a number of clients running a program built with 
python 2.5.  One has just purchased an HP with a duel 
core processor,  2.2G with .099g ram.

On the new hp, when they try to print they get an 
import error;
File win32ui.pyc line 12, in module
File win32ui.pyc, line 10, in _load
ImportError: DLL load failed:  The specified module 
could not be found.

The file is there The only difference I could find from 
their other machines is the processor.
 

--
http://mail.python.org/mailman/listinfo/python-list


Problems running on hp dual core processor

2008-09-22 Thread jim-on-linux

 Python help,

I have a number of clients running a program built
with python 2.5.  One has just purchased an HP with
a duel core processor,  2.2G with .099g ram.

On the new hp, when they try to print they get an
import error;
File win32ui.pyc line 12, in module
File win32ui.pyc, line 10, in _load
ImportError: DLL load failed:  The specified module
could not be found.

The file is there The only difference I could find
from their other machines is the processor.

I would appreciate any help 

Jim-on-linux
--
http://mail.python.org/mailman/listinfo/python-list


Re: Problems running on hp dual core processor

2008-09-22 Thread Mike Driscoll
On Sep 22, 1:43 pm, jim-on-linux [EMAIL PROTECTED] wrote:
 Python help,

 I have a number of clients running a program built with
 python 2.5.  One has just purchased an HP with a duel
 core processor,  2.2G with .099g ram.

 On the new hp, when they try to print they get an
 import error;
 File win32ui.pyc line 12, in module
 File win32ui.pyc, line 10, in _load
 ImportError: DLL load failed:  The specified module
 could not be found.

 The file is there The only difference I could find from
 their other machines is the processor.

I have people running my compiled python applications on single and
dual core processors with no problem. I suspect that you may just need
to compile your application with some different switches, such as
bundle=3 in py2exe for example.

Mike
--
http://mail.python.org/mailman/listinfo/python-list


Re: Problems running on hp dual core processor

2008-09-22 Thread Mike Driscoll
On Sep 22, 1:43 pm, jim-on-linux [EMAIL PROTECTED] wrote:
 Python help,

 I have a number of clients running a program built with
 python 2.5.  One has just purchased an HP with a duel
 core processor,  2.2G with .099g ram.

 On the new hp, when they try to print they get an
 import error;
 File win32ui.pyc line 12, in module
 File win32ui.pyc, line 10, in _load
 ImportError: DLL load failed:  The specified module
 could not be found.

 The file is there The only difference I could find from
 their other machines is the processor.

I should note that I have had issues if I didn't include all the DLLs
that were needed. This error doesn't say exactly which DLL is the
issue. I recommend downloading Dependency Walker to find out what it
is:

http://www.dependencywalker.com/

Mike
--
http://mail.python.org/mailman/listinfo/python-list


Re: Problems running on hp dual core processor

2008-09-22 Thread Christian Heimes

Dennis Lee Bieber wrote:

Interesting... The only win32ui* on my machine (running v2.4) is a
win32ui.pyd (D, not C) and it is part of the PythonWin IDE obtained as
part of the ActiveState installer for windows.

Oh, and /how much RAM/?  .099g sounds rather small; my PDA has
.5G of RAM and my desktop machine has 2.0G...


A .pyd file is a Python dynamic library file. It's a dll with a 
different extension and a Python specific entry point. Dynamic libraries 
are OS and CPU architecture dependent. It might be possible that the 
computer has an incompatible CPU or a 64bit OS.


Christian

--
http://mail.python.org/mailman/listinfo/python-list