[Moin-user] AttributeError: 'Request' object has no attribute 'sent_headers' error when port to IIS7 on W2k8

Gang Xu jmgxu at hotmail.com
Sat Dec 11 12:43:26 EST 2010

I'm porting Moinmoin (1.8) from w2k3 to w2k8.
After setup Python 2.5.4 (tried Python 2.7, but hit the same error. Thus rolled back to 2.5), zip Moin folder from W2k3 and unzip it in W2k8.
In IIS7, setup the virtual directories.
Now when I access my Wiki, I got the following error:HTTP Error 502.2 - Bad GatewayThe specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "2010-12-11 12:15:15,609 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module! Traceback (most recent call last): File "D:\Moin\MyWiki\moin.cgi", line 54, in <module> run(Config) File "D:\Moin\Lib\site-packages\MoinMoin\server\server_cgi.py", line 57, in run request = request_cgi.Request(properties=config.properties) File "D:\Moin\Lib\site-packages\MoinMoin\request\request_cgi.py", line 32, in __init__ self.fail(err) File "D:\Moin\Lib\site-packages\MoinMoin\request\__init__.py", line 1452, in fail if not self.sent_headers: AttributeError: 'Request' object has no attribute 'sent_headers' ".
I have ported it to another w2k3 server before and it worked. This is the first time I tried on W2k8.
Any help will be highly appreciated!Thanks,Gang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20101211/74a9bd4e/attachment.html>

More information about the Moin-user mailing list