same error message when using
mw-serve --protocol=http_threaded --port=8899
sh-2.04$ mw-serve --protocol=http_threaded --port=8899
Traceback (most recent call last):
File "d:\xampplite\python\Scripts\mw-serve-script.py", line 8, in
<module>
load_entry_point('mwlib==0.12.3.dev', 'console_scripts', 'mw-
serve')()
File "d:\xampplite\python\lib\site-packages\mwlib-0.12.3.dev-py2.5-
win32.egg\mwlib\apps\serve.py", line 7, in main
from flup.server import fcgi, fcgi_fork, scgi, scgi_fork
File "build\bdist.win32\egg\flup\server\fcgi_fork.py", line 56, in
<module>
File "build\bdist.win32\egg\flup\server\preforkserver.py", line 53,
in <module>
ImportError: Requires eunuchs module for Python < 2.4
On Aug 26, 6:09 pm, Ralf Schmitt <[email protected]> wrote:
> lasipisa <[email protected]> writes:
> > Hi Ralf,
>
> > I've added in the $wgServer, but $wgScriptPath was already there.
>
> > I added the port to the $wgCollectionMWServeURL, 8899, as pediapress
> > advises (http://code.pediapress.com/wiki/wiki/WikiToPDF)
> > and another post mentioned (http://groups.google.com/group/mwlib/
> > browse_thread/thread/de1c38b25777d529).
>
> > LocalSettings.php
> > -------------------------------
> > require_once( "$IP/includes/DefaultSettings.php" );
> > require_once("$IP/extensions/Collection/Collection.php");
> > $wgCollectionMWServeURL = 'http://localhost:8899/cgi-bin/mwlib.cgi';
> > $wgHTTPTimeout = 30;
> > $wgEnableAPI = true;
> > $wgServer = "http://localhost";
> > $wgScriptPath = "/wiki";
> > -------------------------------
>
> > I also wasn't starting up the mw-serve, so I tried that and got this
> > error:
>
> > sh-2.04$ mw-serve --protocol=http --port=8899
> > Traceback (most recent call last):
> > File "d:\xampplite\python\Scripts\mw-serve-script.py", line 8, in
> > <module>
> > load_entry_point('mwlib==0.12.3.dev', 'console_scripts', 'mw-
> > serve')()
> > File "d:\xampplite\python\lib\site-packages\mwlib-0.12.3.dev-py2.5-
> > win32.egg\mwlib\apps\serve.py", line 7, in mai
> > from flup.server import fcgi, fcgi_fork, scgi, scgi_fork
> > File "build\bdist.win32\egg\flup\server\fcgi_fork.py", line 56, in
> > <module>
> > File "build\bdist.win32\egg\flup\server\preforkserver.py", line 53,
> > in <module>
> > ImportError: Requires eunuchs module for Python < 2.4
>
> try --protocol=http_threaded
> forking cannot work on windows. I guess flup misses some functionality and
> assumes you're using python < 2.4.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---