Yes, thank you for the hint.
 I did this, now it starts, but then I get this list of errors:

Ocorreu um erro no servidor de renderização: RuntimeError: RuntimeError: 
command failed with returncode 256: ['mw-zip', '-o', 
'/root/cache/66/6602acc9a690f87e/collection.zip', '-m', 
'/root/cache/66/6602acc9a690f87e/metabook.json', '--status', 
'qserve://localhost:14311/6602acc9a690f87e:makezip', '--config', 
'http://WIKI/mw', '--template-blacklist', 'MediaWiki:PDF Template 
Blacklist', '--template-exclusion-category', 'Excluir ao imprimir', 
'--print-template-prefix', 'Imprimir', '--print-template-pattern', 
'$1/Imprimir'] Last Output: 2012-10-23T12:02:42 mwlib.options.warn >> Both 
--print-template-pattern and --print-template-prefix (deprecated) 
specified. Using --print-template-pattern only. 1% 
/usr/local/lib/python2.6/dist-packages/mwlib/net/fetch.py:7: 
DeprecationWarning: gevent.coros has been renamed to gevent.lock import 
gevent, gevent.pool, gevent.coros, gevent.event 
/usr/local/lib/python2.6/dist-packages/mwlib/metabook.py:225: 
DeprecationWarning: deprecated call get('mw_license_url') if 
l.get('mw_license_url'): 
/usr/local/lib/python2.6/dist-packages/mwlib/metabook.py:240: 
DeprecationWarning: deprecated call get('mw_rights_text') if 
l.get('mw_rights_text'): 
/usr/local/lib/python2.6/dist-packages/mwlib/metabook.py:242: 
DeprecationWarning: deprecated call get('mw_rights_page') if 
l.get('mw_rights_page'): 
/usr/local/lib/python2.6/dist-packages/mwlib/metabook.py:244: 
DeprecationWarning: deprecated call get('mw_rights_url') if 
l.get('mw_rights_url'): Traceback (most recent call last): File 
"/usr/local/lib/python2.6/dist-packages/gevent/greenlet.py", line 328, in 
run result = self._run(*self.args, **self.kwargs) File 
"/usr/local/lib/python2.6/dist-packages/mwlib/apps/make_nuwiki.py", line 
120, in run self.fetch_pages_from_metabook(api) File 
"/usr/local/lib/python2.6/dist-packages/mwlib/apps/make_nuwiki.py", line 
60, in fetch_pages_from_metabook fetch_images=not self.options.noimages) 
File "/usr/local/lib/python2.6/dist-packages/mwlib/net/fetch.py", line 269, 
in __init__ siteinfo = self.get_siteinfo_for(self.api) File 
"/usr/local/lib/python2.6/dist-packages/mwlib/net/fetch.py", line 418, in 
get_siteinfo_for return m.get_siteinfo() File 
"/usr/local/lib/python2.6/dist-packages/mwlib/net/sapi.py", line 169, in 
get_siteinfo raise RuntimeError("could not get siteinfo") RuntimeError: 
could not get siteinfo <Greenlet at 0xa54ce3c: <bound method 
start_fetcher.run of <mwlib.apps.make_nuwiki.start_fetcher object at 
0xa5c4bac>>> failed with RuntimeError creating nuwiki in 
u'/root/cache/66/6602acc9a690f87e/tmpRuX9S2/nuwiki' ERR: <urlopen error 
[Errno -2] Name or service not known> ERR: <urlopen error [Errno -2] Name 
or service not known> ERR: <urlopen error [Errno -2] Name or service not 
known> ERR: <urlopen error [Errno -2] Name or service not known> removing 
tmpdir u'/root/cache/66/6602acc9a690f87e/tmpRuX9S2' memory used: res=11.6 
virt=34.2 1% error Traceback (most recent call last): File 
"/usr/local/bin/mw-zip", line 6, in <module> main() File 
"/usr/local/lib/python2.6/dist-packages/mwlib/apps/buildzip.py", line 155, 
in main make_zip(output, options, env.metabook, podclient=podclient, 
status=status) File 
"/usr/local/lib/python2.6/dist-packages/mwlib/apps/buildzip.py", line 50, 
in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, 
podclient=podclient, status=status) File 
"/usr/local/lib/python2.6/dist-packages/mwlib/apps/make_nuwiki.py", line 
193, in make_nuwiki pool.join(raise_error=True) File 
"/usr/local/lib/python2.6/dist-packages/gevent/pool.py", line 98, in join 
raise greenlet.exception RuntimeError: could not get siteinfo in function 
system, file /usr/local/bin/nslave.py, line 64 in function qaddw, file 
/usr/local/lib/python2.6/dist-packages/qs/slave.py, line 66 


what can I do?


Em segunda-feira, 22 de outubro de 2012 18h25min09s UTC-2, hpz hpz escreveu:
>
> I have an Medawiki installation at 192.168.7.136 with Collection Extension 
> working perfect.
> On another server at 192.168.7.124 I have an mwlib installation.
> On the mwlib-server I can render a page from the wiki working perfectly 
> using this: mw-render --config http://192.168.7.136/mw/--username='Admin' 
> --password='nimda' --output sbox.pdf --writer rl Sandbox
> But I can not render the same page from the wiki, when I using the book 
> creater for download a pdf I get this error on the mwlib-server: 
> 2012-10-22T18:17:20 mwlib.serve.bad >> bad base_url: '
> http://192.168.7.136/mw' 192.168.7.136 - - [2012-10-22 18:17:20] "POST / 
> HTTP/1.0" 200 229 0.005733
>
> I really need some help for this as I can´t go further since days......
>
> Thank you very much!

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/mwlib/-/FJ33DUYUUUcJ.
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.

Reply via email to