Hi, It seems network accessibility issue. Try if you can curl or ping the render server from the wiki server. Check firewall etc.
You can edit /etc/hosts with name ip entry. Possibly it might work but thats a patch. Good luck, Bala On Jun 11, 2013 5:06 PM, <[email protected]> wrote: > Hi there, > > when I start the render server on the same machine as the Wiki, the > Collection Extension works just fine and I get proper PDF files. But > because our Wiki is just for the intranet use, the server is very small and > if someone tries to generate a large book, the Wiki is very slow while the > PDF is being fetched and rendered. Because of that I wanted to render the > files on an external server and created a little Ubuntu Server just for > that. So I installed everything and changed the server in my * > LocalSettings.php*. After that I wanted to generate a little book of two > pages and clicked on *Save as PDF*. After I clicked on *Save as PDF*, I > instantly got this error message: > > Auf dem Render-Server ist ein Fehler aufgetreten: RuntimeError: > RuntimeError: command failed with returncode 256: ['mw-zip', '-o', > '/rndrcache/9e/9e0038138208fd5d/collection.zip', '-m', > '/rndrcache/9e/9e0038138208fd5d/metabook.json', '--status', > 'qserve://localhost:14311/9e0038138208fd5d:makezip', '--config', ' > http://vmlxwiki2/wiki', '--template-blacklist', 'MediaWiki:PDF Template > Blacklist', '--template-exclusion-category', u'Vom Druck ausschlie\xdfen', > '--print-template-prefix', 'Drucken', '--print-template-pattern', > '$1/Druck', '--username', 'Uploaduser', '--password', '{OMITTED}', > '--domain', 'local'] Last Output: 2013-06-11T12:13:14 mwlib.options.warn >> > Both --print-template-pattern and --print-template-prefix (deprecated) > specified. Using --print-template-pattern only. 1% Traceback (most recent > call last): File > "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-i686.egg/gevent/greenlet.py", > line 390, in run result = self._run(*self.args, **self.kwargs) File > "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/apps/make_nuwiki.py", > line 118, in run api = self.get_api() File > "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/apps/make_nuwiki.py", > line 28, in get_api api.login(self.username, self.password, self.domain) > File > "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/net/sapi.py", > line 186, in login res = self._post(**args) File > "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/net/sapi.py", > line 106, in _post res = loads(self._fetch(req)) File > "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/net/sapi.py", > line 72, in _fetch f = self.opener.open(url) File > "/usr/lib/python2.7/urllib2.py", line 400, in open response = > self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 418, in > _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 378, in > _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line > 1207, in http_open return self.do_open(httplib.HTTPConnection, req) File > "/usr/lib/python2.7/urllib2.py", line 1177, in do_open raise URLError(err) > URLError: <urlopen error [Errno -3] Temporary failure in name resolution> > <Greenlet at 0x95cdf2c: <bound method start_fetcher.run of > <mwlib.apps.make_nuwiki.start_fetcher object at 0x962c8ec>>> failed with > URLError creating nuwiki in > u'/rndrcache/9e/9e0038138208fd5d/tmpnJOBQ1/nuwiki' removing tmpdir > u'/rndrcache/9e/9e0038138208fd5d/tmpnJOBQ1' memory used: res=12.2 virt=21.1 > 1% error Traceback (most recent call last): File "/usr/local/bin/mw-zip", > line 9, in <module> load_entry_point('mwlib==0.15.8', 'console_scripts', > 'mw-zip')() File > "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/apps/buildzip.py", > line 155, in main make_zip(output, options, env.metabook, > podclient=podclient, status=status) File > "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/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.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/apps/make_nuwiki.py", > line 193, in make_nuwiki pool.join(raise_error=True) File > "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-i686.egg/gevent/pool.py", > line 101, in join raise greenlet.exception urllib2.URLError: <urlopen error > [Errno -3] Temporary failure in name resolution> in function system, file > /usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/nslave.py, > line 64 in function qaddw, file > /usr/local/lib/python2.7/dist-packages/qserve-0.2.8-py2.7.egg/qs/slave.py, > line 66 > > Can someone tell me what I did wrong this time? I did everything just as > the first time, with the only difference, that the render server is a > seperate machine now. > > Any help would be appreciated. > > -- > 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. > > > -- 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.
