WSAStartup failed: error code 10107

Rob Wolfe blue99 at interia.pl
Fri Jul 28 05:17:08 EDT 2006


ralphdepping at googlemail.com wrote:
> Trying to get moinmoin wiki working on Windows 2000 using IIS and
> python.  I get the following error when trying to view the start page
> after insalling moinmoin and python - key error seems to be at the end
> related to socket.py (ImportError: WSAStartup failed: error code
> 10107).  10107 is "A system call that should never fail has
> failed"...which isn't very helpful.  Any ideas what the problem may be?
>
>  Thanks,
> Ralph
>
> CGI Error
> The specified CGI application misbehaved by not returning a complete
> set of HTTP headers. The headers it did return are:
>
>
> Traceback (most recent call last):
>   File "C:\Moin\wiki\moin.cgi", line 40, in ?
>     from MoinMoin.request import RequestCGI
>   File "C:\Moin\Lib\site-packages\MoinMoin\request.py", line 10, in ?
>     import os, re, time, sys, cgi, StringIO
>   File "C:\Python\lib\cgi.py", line 39, in ?
>     import urllib
>   File "C:\Python\lib\urllib.py", line 26, in ?
>     import socket
>   File "C:\Python\lib\socket.py", line 44, in ?
>     import _socket
> ImportError: WSAStartup failed: error code 10107

I'm not sure if that helps but check if you have multiple
winsock.dll files on the machine.
Maybe in the system path you have some old winsock.dll.

regards,
Rob




More information about the Python-list mailing list