[wxPython] wxPython-2_1_14-20000227, DLL load failed

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[wxPython] wxPython-2_1_14-20000227, DLL load failed

Gordon Williams
Hello All,

This is what I got when I tried to run the demo.

I downloaded the new version wxPython-2_1_14-20000227.EXE, uninstalled the
old version 2.1.11 and then installed the new version.

Here is the traceback.



PythonWin 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
Portions Copyright 1994-1999 Mark Hammond ([hidden email])
>>> Traceback (innermost last):
  File "E:\Program Files\Python\Pythonwin\pywin\framework\scriptutils.py",
line 237, in RunScript
    exec codeObject in __main__.__dict__
  File "E:\PROGRA~1\PYTHON\WXPYTHON\DEMO\demo.py", line 3, in ?
    import Main
  File "E:\PROGRA~1\PYTHON\WXPYTHON\DEMO\Main.py", line 15, in ?
    from   wxPython.wx import *
  File "E:\Program Files\Python\wxPython\__init__.py", line 20, in ?
    import wxc
ImportError: DLL load failed: One of the library files needed to run this
application cannot be found.

Regards,

Gordon Williams


_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users



Reply | Threaded
Open this post in threaded view
|

Re: [wxPython] wxPython-2_1_14-20000227, DLL load failed

Robin Dunn
>
> This is what I got when I tried to run the demo.
>
> I downloaded the new version wxPython-2_1_14-20000227.EXE, uninstalled the
> old version 2.1.11 and then installed the new version.
>

Oops, I forgot I was experimenting with linking with the socket library...
(so wxHtml can access web pages.) For some reason on my system it links with
WS2_32.DLL instead of wsock32.dll so I'm guessing that your system doesn't
have WS2_32.dll.

You can check for sure which DLL is missing by running a C++ program linked
with the same DLL, try
http://208.240.253.245/wxPython/dist/others/minimal.exe

I'll see if I can force it to link with the other library.

--
Robin Dunn
Software Craftsman
[hidden email]
http://AllDunn.com/robin/
http://AllDunn.com/wxPython/  Check it out!




_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users



Reply | Threaded
Open this post in threaded view
|

Re: [wxPython] wxPython-2_1_14-20000227, DLL load failed

Gordon Williams
In reply to this post by Gordon Williams
Yes, WS2_32.dll is missing.

----------
> From: Robin Dunn <[hidden email]>
> To: [hidden email]; [hidden email]
> Subject: Re: [wxPython] wxPython-2_1_14-20000227, DLL load failed
> Date: February 28, 2000 12:56 PM
>
> >
> > This is what I got when I tried to run the demo.
> >
> > I downloaded the new version wxPython-2_1_14-20000227.EXE, uninstalled
the
> > old version 2.1.11 and then installed the new version.
> >
>
> Oops, I forgot I was experimenting with linking with the socket
library...
> (so wxHtml can access web pages.) For some reason on my system it links
with
> WS2_32.DLL instead of wsock32.dll so I'm guessing that your system
doesn't
> have WS2_32.dll.
>
> You can check for sure which DLL is missing by running a C++ program
linked

> with the same DLL, try
> http://208.240.253.245/wxPython/dist/others/minimal.exe
>
> I'll see if I can force it to link with the other library.
>
> --
> Robin Dunn
> Software Craftsman
> [hidden email]
> http://AllDunn.com/robin/
> http://AllDunn.com/wxPython/  Check it out!
>
>


_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users



Reply | Threaded
Open this post in threaded view
|

Re: [wxPython] wxPython-2_1_14-20000227, DLL load failed

Fredrik Lundh-3
Gordon Williams wrote:
> Yes, WS2_32.dll is missing.

are you using Windows 95?  if so, you can find
pointers to the winsock 2.0 upgrade via:

http://support.microsoft.com/support/kb/articles/Q177/7/19.ASP

(if you're using a newer system, you should have
it already.  if not, consider getting the latest ser-
vice pack).

</F>


_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users



Reply | Threaded
Open this post in threaded view
|

Re: [wxPython] wxPython-2_1_14-20000227, DLL load failed

Robin Dunn
> Gordon Williams wrote:
> > Yes, WS2_32.dll is missing.
>
> are you using Windows 95?  if so, you can find
> pointers to the winsock 2.0 upgrade via:
>
> http://support.microsoft.com/support/kb/articles/Q177/7/19.ASP

Thanks Fredrik, I've been looking for this info.  I'll get it into the readme
or changes file for the next release.

--
Robin Dunn
Software Craftsman
[hidden email]
http://AllDunn.com/robin/
http://AllDunn.com/wxPython/  Check it out!



_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users