Freezing an app using win32com and wxPython

Mark Hammond mhammond at skippinet.com.au
Sat Feb 5 18:35:58 EST 2000


It simply sounds like the system you are using for testing does not
have all the updated COM DLLs.  If you go to the "installation
problems" page from my starship page you should see instructions about
how to update the COM support.

Mark.

"Calishar" <calishar@*NOSPAM*home.com> wrote in message
news:bhfo9sksmnk9ndf4m1aq510sk1amilkg2c at 4ax.com...
> On Fri, 04 Feb 2000 23:16:56 GMT, "Mark Hammond"
> <mhammond at skippinet.com.au> wrote:
>
> ><calishar at my-deja.com> wrote in message
> >news:87ckq3$ot1$1 at nnrp1.deja.com...
> >You should be very close.  If you can make the nominated modules
> >available then life should be good.  What specific problem do you
> >have?
> >
>
> Hi Mark,
>   When I have installed the application on my test (never had python
> installed) system, and try to run it, I get the following.
>
> Initialsing 'pywintypes'
> Initialising 'pythoncom'
> Initialising 'win32ui'
> Traceback (innermost last):
>   File "c:\progra~1\python\sifex\sifex.py", line 1, in ?
>   File "C:\PROGRA~1\PYTHON\win32com\client\__init__.py", line 8, in
?
>   File "C:\PROGRA~1\PYTHON\win32com\client\dynamic.py", line 22, in
?
> ImportError: DLL load failed: A device attached to the system is not
> functioning.
>
> I have copied python15.dll, python15.lib, pythoncom15.dll, and
> pywintypes.dll to the c:\windows\system directory, and I have setup
> registry entried pointing to pythoncom15 and pywintypes (under
> Local_Machine\Software\\Python\PythonCore\Modules (actually I
exported
> the regeistry entries for these modules from my development system)
>
> In the programs installed directory, I have the pyds for win32api,
> win32ui, and wxc (needed for wxPython).
>
> I have taken a look at line 22 (and the 22nd line ignoring blanks,
and
> the 22nd line of programming code, excluding comments, docstrings,
and
> blanks) and am not getting any reference to win32com.client.dynamic,
> however line1 is the following line
> import win32com.client, win32com  # win32com imports for freeze
>
> I added an import of win32com to rty to fix the problem, but it
didn't
> work.
>
> Any help you can give would be much appreciated, my sales rep told
the
> client I would be finished for wednesday....
>
> Nigel
>





More information about the Python-list mailing list