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\m oin.cgi", line 40, in ?
from MoinMoin.reques t import RequestCGI
File "C:\Moin\Lib\si te-packages\MoinMo in\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 9232 ra**********@go oglemail.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\m oin.cgi", line 40, in ?
from MoinMoin.reques t import RequestCGI
File "C:\Moin\Lib\si te-packages\MoinMo in\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**********@go oglemail.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\m oin.cgi", line 40, in ?
from MoinMoin.reques t import RequestCGI
File "C:\Moin\Lib\si te-packages\MoinMo in\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**********@go oglemail.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 compiler as the page is
requested by the browser. The result is that
the "compiler failed with error code 2000". I have
tested the same code on another workstation with VS.NET
and it works fine EVERY time. I'm convinced it's not the
code and I...
|
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 = New SqlConnection("server=MyServer;Integrated
Security=SSPI;database=pubs")
If I use the code as is, I get the error above. The code only works if I
hardcode the username and pwd into it as in the following line:
|
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 jdk11_path to:
Java Development Kit 1.1 installation path (JDK11_PATH) =
|
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 do not compile with "Allow Unsafe Code
Blocks=false" set to true, then the project compiles and no problems.
BUT if I compile with "Allow Unsafe Code Blocks=true" then I het the error
below. With unsafe {} of unsave{} removed it dos not solve the...
|
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 having installed MS .NET Framework 2.0 Beta 2 on it,
from
http://www.microsoft.com/downloads/details.aspx?FamilyId=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E&displaylang=en),
but got the following message:
| |
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)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
|
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 questions are below...
"David Good" wrote:
> We have a network running both Win2k and Win2k3 webservers and our web sites
> reside on a UNC network share that happens to be a Network Appliance NAS.
|
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 asp.net page. If
I press OK then I get a page with this message:
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser...
|
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:
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |