[Moin-user] READ FIRST PLEASE - Re: playing with moin 1.9.0beta1

Rick Vanderveer rick.vanderveer at gmail.com
Thu Feb 19 11:58:38 EST 2009


On Thu, Feb 19, 2009 at 2:10 AM, Thomas Waldmann <tw-public at gmx.de> wrote:
>
>> [Wed Feb 18 13:47:35 2009] [error] [client 172.25.60.90]     sock =
>> socket.fromfd(FCGI_LISTENSOCK_FILENO, socket.AF_INET,\r
>> [Wed Feb 18 13:47:35 2009] [error] [client 172.25.60.90]
>> AttributeError: 'module' object has no attribute 'fromfd'\r
>
> Did you use the new moin.cgi from 1.9 and did you modify that code line
> in it that forces CGI instead of FastCGI?
>


Yes, I am using the new moin.cgi.  I didn't modify that line, as it
looks like the default is to use CGI.  Condensing by eliminating the
comments, my moin.cgi looks like this:

--------------------------------------
#!d:\python25\python
# -*- coding: iso-8859-1 -*-

sys.path.insert(0, 'd:\moin')

os.environ['FCGI_FORCE_CGI'] = 'Y' # 'Y' for (slow) CGI, 'N' for FCGI

from MoinMoin.web.flup_frontend import CGIFrontEnd
CGIFrontEnd().run()
--------------------------------------




More information about the Moin-user mailing list