473,386 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

WSAStartup failed: error code 10107

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

Jul 28 '06 #1
3 9185

ra**********@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

Jul 28 '06 #2
Thanks for the suggestion Rob. All I can find are 2 copies of
winsock.dll:
c:/WINNT/system32/winsock.dll
c:/WINNT/system32/dllcache/winsock.dll
They're both the same version 3.10.0.13

I assume it's ok to have a copy in the dllcach directory and that's not
a source of the problem?

Does python require a specific version of winsock.dll? The OS is
windows 2000 5.00.2195 Service Pack 4.

Cheers,
Ralph

Rob Wolfe wrote:
ra**********@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
Jul 28 '06 #3

ra**********@googlemail.com wrote:
Thanks for the suggestion Rob. All I can find are 2 copies of
winsock.dll:
c:/WINNT/system32/winsock.dll
c:/WINNT/system32/dllcache/winsock.dll
They're both the same version 3.10.0.13

I assume it's ok to have a copy in the dllcach directory and that's not
a source of the problem?

Does python require a specific version of winsock.dll? The OS is
windows 2000 5.00.2195 Service Pack 4.
No, python doesn't require specific version of winsock.dll.

On my XP I have:

winsock.dll - 3.10.0.103
ws2_32.dll - 5.1.2600.2180
wsock32.dll - 5.1.2600.2180

and everything works fine.

No other idea, but I'm almost sure that problem
is on the OS side not on python side.

Regards,
Rob

Jul 28 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike Fisher | last post by:
I'm seeing an error when I try to run/debug a web service. Although it doesn't happen every time, it does occur more than half of the times I hit F5. It appears to be returned by the the JIT...
3
by: mo | last post by:
The code I've pasted below is taken directly from Microsoft's site at http://support.microsoft.com/default.aspx?scid=kb;EN-US;308157 As far as I can tell the error is raised on this line: conn...
4
by: acemann7 | last post by:
Windows 2000 udb v 7.2 Got the latest fixpak 13 Applied it. Still can't get a single java sp to run. I used to get reason "2"... now reason "0" - reason 0 is not even documented. I point...
8
by: | last post by:
Wel, I am rebuilding the VC# 2002 project that I have deployment problems with the 2003 version, hoping this solves the problems, but now I encounter this wierd bug??? If I have the project, and...
3
by: Gustavo L. Fabro | last post by:
Greetings! I'm testing VS 2005 Beta 2, and I've compiled a program that runs just fine on my computer (where VS is installed). I've tried to run this same program on another computer (after...
1
by: Marco Gerlach | last post by:
Hello, on one of our customers servers we get following error on first ASPX-page: An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888) ...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
10
by: Shawn | last post by:
JIT Debugging failed with the following error: Access is denied. JIT Debugging was initiated by the following account 'PLISKEN\ASPNET' I get this messag in a dialog window when I try to open an...
2
by: Roger Wang | last post by:
HELP!!!! We have got a W2k server running IIS5 with .NET framework 1.1 and .NET framework SP1. All ASP.NET applications cannot run on this box. It all returned with the same error: ...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.