Upgrading from mwlib-0.14 to 0.15.8 version solved the problem.

$ mw-version

The versions which are working now in Ubuntu 10.04 TLS are:

mwlib 0.15.8
mwlib.rl 0.14.3
mwlib.ext 0.12.4

Notice the processes are now mw-qserve, nserve, nslave and postman, instead 
of nserve.py and nslave.py.


El jueves, 13 de junio de 2013 11:16:20 UTC+2, jpcozar escribió:
>
> Hello,
> I've upgrade mwlib from old version (0.12) to new version (0.14) following 
> this tutorial:
> http://mwlib.readthedocs.org/en/latest/installation.html#test-install
>
> My Ubuntu Server 10.04 LTS is working well as render server if I test it 
> with:
>
> mw-zip -c :en -o test.zip Acdc Number
> mw-render -c test.zip -o test.pdf -w rl
>
>
> Or even in local mediawiiki:
>
> mw-render --config=https://localhost/mediawiki/ --writer=rl 
> --output=./nagios.pdf Nagios --username=<user> --password=<password> 
> --domain=<domain>
>
>
> But now I want to get it working with Collection extension and I've read 
> here that I need 4 process being launched: mw-qserve, nserve.py, nslave.py 
> and postman.py.
>
> I had to install gevent to get mw-qserve and postman wroking but when I 
> launch nserve.py I get this error:
>
>
> jpcozar@svrvm01:~$ /usr/local/bin/nserve.py
> Traceback (most recent call last):
>   File "/usr/local/bin/nserve.py", line 5, in <module>
>     pkg_resources.run_script('mwlib==0.12.14', 'nserve.py')
>   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in 
> run_script
>     self.require(requires)[0].run_script(script_name, ns)
>   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1194, in 
> run_script
>     execfile(script_filename, namespace, namespace)
>   File 
> "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux-x86_64.egg/EGG-INFO/scripts/nserve.py",
>  
> line 9, in <module>
>     from geventutil import worker
> ImportError: No module named geventutil
>
> it seems a code bug because if I open first lines of nserve.py I have:
>
>    #!/usr/bin/python
>    
>    """WSGI server interface to mw-render and mw-zip/mw-post"""
>   
>    import gevent.monkey
>    gevent.monkey.patch_socket()
>    # import setproctitle
>    # setproctitle.setproctitle("nserve")
>    from geventutil import worker           
>
> I thought there was a typo with geventutil and I've replaced with 
> from gevent.util import worker
>
> but it's not working yet. What am I missing ?
>
> Thank you in advance!
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to