Re: Problems running on HP Intel duo core machine
On Dec 11, 3:16 pm, jim-on-linux inq1...@inqvista.com wrote: Aaron, The TraceBack is : TraceBack: 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. snip Both modules 'win32api.pyd' and win32ui.pyd are in the same directory. Below is a copy of the win32ui.py module. The only difference between this and win32api.py module is the name that is installed when creating the path. def __load(): import imp, os, sys try: dirname = os.path.dirname(__loader__.archive) except NameError: dirname = sys.prefix path = os.path.join(dirname, 'win32ui.pyd') #print py2exe extension module, __name__, -, path mod = imp.load_dynamic(__name__, path) ## mod.frozen = 1 __load() del __load snip 'load_dynamic' help says this: (Note: using shared libraries is highly system dependent, and not all systems support it.) You can try this: create a bare-bones shared library, 'temp_load.pyd' perhaps, place it in the folder, and create 'temp_load.py' there too, as follows: import imp imp.load_dynamic( 'temp_load', 'temp_load.pyd' ) That will tell us if the problem is Python or win32ui. -- http://mail.python.org/mailman/listinfo/python-list
Problems running on HP Intel duo core machine
py help, I produced a program that runs on windows. One client is using an HP machine with an Intel cpu E2200 @ 2.2ghz., and with .99 G ram. The machine is using Win XP Pro 32 bit OS with service pack 2 I ran Dependency Walker and everything is OK. I used py2exe to build the exe file with bundle files:1 and also 3, with the same traceback results. I created a test print module that imports both win32api and win32ui modules and its only job is to print a page of text. The first module that is imported is win32api. line 8 of that module adds to the path the module named 'win32api.pyd'. The import is is completed without error. The next module that is imported is win32ui. line 8 of that module adds to the path a module named 'win32ui.pyd'. The search for the win32ui.pyd module seems to be the cause of the problem. Traceback: ImportError: Dll load failed: The specified module could not be found. Both modules 'win32api.pyd' and win32ui.pyd are in the same directory. Below is a copy of the win32ui.py module. The only difference between this and win32api.py module is the name that is installed when creating the path. def __load(): import imp, os, sys try: dirname = os.path.dirname(__loader__.archive) except NameError: dirname = sys.prefix path = os.path.join(dirname, 'win32ui.pyd') #print py2exe extension module, __name__, -, path mod = imp.load_dynamic(__name__, path) ##mod.frozen = 1 __load() del __load The only difference I can find is that this program works fine on every machine that it is tried on except the HP duo core machine, with Intel E2200 cpu. Somehow the path is affected? I've tried all of the suggestions and checked a lot of things but I'm not there yet, Any suggestions would be helpful. jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list
Re: Problems running on HP Intel duo core machine
Il Thu, 11 Dec 2008 14:58:16 -0500, jim-on-linux ha scritto: The first module that is imported is win32api. line 8 of that module adds to the path the module named 'win32api.pyd'. The import is is completed without error. The next module that is imported is win32ui. line 8 of that module adds to the path a module named 'win32ui.pyd'. The search for the win32ui.pyd module seems to be the cause of the problem. Traceback: ImportError: Dll load failed: The specified module could not be found. Both modules 'win32api.pyd' and win32ui.pyd are in the same directory. Have you checked if there is a file named win32api.pyd somewhere in the system path (c:\windows\, c:\windows\system32, etc. ) ? Try to add the path to the folder containing your win32api.pyd and win32ui.pyd to the PATH enviroinment variable, before running your application. Giuseppe -- http://mail.python.org/mailman/listinfo/python-list
Re: Problems running on HP Intel duo core machine
On Dec 11, 1:58 pm, jim-on-linux inq1...@inqvista.com wrote: py help, I produced a program that runs on windows. One client is using an HP machine with an Intel cpu E2200 @ 2.2ghz., and with .99 G ram. The machine is using Win XP Pro 32 bit OS with service pack 2 I ran Dependency Walker and everything is OK. I used py2exe to build the exe file with bundle files:1 and also 3, with the same traceback results. I created a test print module that imports both win32api and win32ui modules and its only job is to print a page of text. The first module that is imported is win32api. line 8 of that module adds to the path the module named 'win32api.pyd'. The import is is completed without error. The next module that is imported is win32ui. line 8 of that module adds to the path a module named 'win32ui.pyd'. The search for the win32ui.pyd module seems to be the cause of the problem. Traceback: ImportError: Dll load failed: The specified module could not be found. Is this your complete traceback? It is possible 'win32ui.pyd' is trying to load something else it can't find. -- http://mail.python.org/mailman/listinfo/python-list
Re: Problems running on HP Intel duo core machine
Aaron, The TraceBack is : TraceBack: 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. On Thursday 11 December 2008 14:58, jim-on-linux wrote: py help, I produced a program that runs on windows. One client is using an HP machine with an Intel cpu E2200 @ 2.2ghz., and with .99 G ram. The machine is using Win XP Pro 32 bit OS with service pack 2 I ran Dependency Walker and everything is OK. I used py2exe to build the exe file with bundle files:1 and also 3, with the same traceback results. I created a test print module that imports both win32api and win32ui modules and its only job is to print a page of text. The first module that is imported is win32api. line 8 of that module adds to the path the module named 'win32api.pyd'. The import is is completed without error. The next module that is imported is win32ui. line 8 of that module adds to the path a module named 'win32ui.pyd'. The search for the win32ui.pyd module seems to be the cause of the problem. Traceback: ImportError: Dll load failed: The specified module could not be found. Both modules 'win32api.pyd' and win32ui.pyd are in the same directory. Below is a copy of the win32ui.py module. The only difference between this and win32api.py module is the name that is installed when creating the path. def __load(): import imp, os, sys try: dirname = os.path.dirname(__loader__.archive) except NameError: dirname = sys.prefix path = os.path.join(dirname, 'win32ui.pyd') #print py2exe extension module, __name__, -, path mod = imp.load_dynamic(__name__, path) ##mod.frozen = 1 __load() del __load The only difference I can find is that this program works fine on every machine that it is tried on except the HP duo core machine, with Intel E2200 cpu. Somehow the path is affected? I've tried all of the suggestions and checked a lot of things but I'm not there yet, Any suggestions would be helpful. jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list