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 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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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)
...
|
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...
|
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...
|
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:
...
|
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$) {
}
...
|
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...
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
|
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...
| |