Hi, i am trying to set up the wiki extension "Collection" and i am running into some problems with my mw-render service
the rendering server has access due allow ip rule on apache; the problem has something to do with my system, because i successfully rendered externel wiki pages over command line; but i realy dont know where to search for the mistake I would be deeply grateful for any kind of tip. Regards Marvin PS.:sry, for my bad english Error output : Wiki Output : Auf dem Render-Server ist ein Fehler aufgetreten: traceback Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux- x86_64.egg/mwlib/apps/render.py", line 169, in __call__ env = self.get_environment() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux- x86_64.egg/mwlib/apps/render.py", line 101, in get_environment self.zip_filename=make_zip(output=self.options.keep_zip, options=self.options, metabook=env.metabook, status=self.status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux- x86_64.egg/mwlib/apps/buildzip.py", line 58, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux- x86_64.egg/mwlib/apps/make_nuwiki.py", line 223, in make_nuwiki raise RuntimeError(str(val)) RuntimeError: [Failure instance: Traceback (failure with no frames): <type 'exceptions.RuntimeError'>: could not get collection params ] sys.argv=[ '/usr/local/bin/mw-render', '--logfile', '/var/cache/mw-serve/02/02c5ed88f5650ecc/mw-render.log.rl', '--error- file', '/var/cache/mw-serve/02/02c5ed88f5650ecc/errors.rl', '--status-file', '/var/cache/mw-serve/02/02c5ed88f5650ecc/status.rl', '--writer', 'rl', '--output', '/var/cache/mw-serve/02/02c5ed88f5650ecc/output.rl', '--pid-file', '/var/cache/mw-serve/02/02c5ed88f5650ecc/pid.rl', '--metabook', '/var/cache/mw-serve/02/02c5ed88f5650ecc/metabook.json', '--keep- zip', '/var/cache/mw-serve/02/02c5ed88f5650ecc/collection.zip', '--config', 'http://testwiki', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Vom Druck ausschlie\xc3\x9fen', '--print-template-prefix', 'Drucken', '--print-template-pattern', '$1/Druck', '--script-extension', '.php', '--language', 'de'] Server side : 2011-07-25T13:51:13 mwlib.serve.request_info >> remote_addr: 131.169.4.84, referer: http://testwiki/Spezial:Buch new-collection 1 u'http://testwiki' u'rl' 2011-07-25T13:51:13 mwlib.serve.info >> Creating directory '/var/cache/ mw-serve/02/02c5ed88f5650ecc' 2011-07-25T13:51:13 mwlib.serve.info >> u'render 02c5ed88f5650ecc rl' 2011-07-25T13:51:13 mwlib.serve.info >> removing error file u'/var/ cache/mw-serve/02/02c5ed88f5650ecc/errors.rl' 2011-07-25T13:51:13 mwlib.serve.info >> removing status file u'/var/ cache/mw-serve/02/02c5ed88f5650ecc/status.rl' (forced rendering) 2011-07-25T13:51:13 mwlib.serve.info >> rendering u'/var/cache/mw- serve/02/02c5ed88f5650ecc/output.rl' 2011-07-25T13:51:13 mwlib.serve.info >> queuing ['mw-render', '-- logfile', u'/var/cache/mw-serve/02/02c5ed88f5650ecc/mw-render.log.rl', '--error-file', u'/var/cache/mw-serve/02/02c5ed88f5650ecc/errors.rl', '--status-file', u'/var/cache/mw-serve/02/02c5ed88f5650ecc/status.rl', '--writer', u'rl', '--output', u'/var/cache/mw-serve/ 02/02c5ed88f5650ecc/output.rl', '--pid-file', u'/var/cache/mw-serve/ 02/02c5ed88f5650ecc/pid.rl', '--metabook', '/var/cache/mw-serve/ 02/02c5ed88f5650ecc/metabook.json', '--keep-zip', '/var/cache/mw-serve/ 02/02c5ed88f5650ecc/collection.zip', '--config', u'http://testwiki', '--template-blacklist', u'MediaWiki:PDF Template Blacklist', '-- template-exclusion-category', u'Vom Druck ausschlie\xdfen', '--print- template-prefix', u'Drucken', '--print-template-pattern', u'$1/Druck', '--script-extension', u'.php', '--language', u'de'] wiki01.domain.de - - [25/Jul/2011 13:51:13] "POST / HTTP/1.1" 200 73 2011-07-25T13:51:14 mwlib.serve.request_info >> remote_addr: 131.169.4.84, referer: http://testwiki/Spezial:Buch 2011-07-25T13:51:14 mwlib.serve.info >> u'render_status 02c5ed88f5650ecc rl' wiki01.domain.de - - [25/Jul/2011 13:51:14] "POST / HTTP/1.1" 200 123 2011-07-25T13:51:15 mwlib.serve.request_info >> remote_addr: 131.169.4.84, referer: http://testwiki/Spezial:Buch 2011-07-25T13:51:15 mwlib.serve.info >> u'render_status 02c5ed88f5650ecc rl' wiki01.domain.de - - [25/Jul/2011 13:51:15] "POST / HTTP/1.1" 200 1936 2011-07-25T13:51:15 mwlib.serve.request_info >> remote_addr: 131.169.4.84, referer: http://testwiki/Hauptseite 2011-07-25T13:51:15 mwlib.serve.info >> u'render_status 02c5ed88f5650ecc rl' wiki01.domain.de - - [25/Jul/2011 13:51:15] "POST / HTTP/1.1" 200 1936 2011-07-25T13:51:15 mwlib.serve.request_info >> remote_addr: 131.169.4.84, referer: http://testwiki/Spezial:Buch 2011-07-25T13:51:15 mwlib.serve.info >> u'render_status 02c5ed88f5650ecc rl' wiki01.domain.de - - [25/Jul/2011 13:51:15] "POST / HTTP/1.1" 200 1936 2011-07-25T13:51:17 mwlib.serve.request_info >> remote_addr: 131.169.4.84, referer: http://testwiki/Spezial:Buch 2011-07-25T13:51:17 mwlib.serve.info >> u'render_status 02c5ed88f5650ecc rl' wiki01.domain.de - - [25/Jul/2011 13:51:17] "POST / HTTP/1.1" 200 1936 command line try : mw-render -w rl -o testa.pdf -c http://testwiki.domain.de/w 'World Economic Forum' Error Code : font not found: arphic/uming.ttc font not found: ttf-farsiweb/nazli.ttf font not found: unfonts/UnBatang.ttf font not found: ttf-thai-arundina/ArundinaSans.ttf font not found: ttf-telugu-fonts/lohit_te.ttf font not found: ttf-devanagari-fonts/Sarai_07.ttf font not found: ttf-indic-fonts-core/lohit_pa.ttf font not found: ttf-oriya-fonts/lohit_or.ttf font not found: ttf-malayalam-fonts/AnjaliOldLipi.ttf font not found: ttf-kannada-fonts/Kedage-n.ttf font not found: ttf-bengali-fonts/LikhanNormal.ttf font not found: ttf-indic-fonts-core/lohit_ta.ttf creating nuwiki in '/tmp/tmpWDNSWX/nuwiki' Unhandled error in Deferred: Unhandled Error Traceback (most recent call last): Failure: exceptions.RuntimeError: could not get collection params fatal: could not get collection params [[Failure instance: Traceback: <type 'exceptions.ValueError'>: No JSON object could be decoded /usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6-linux- x86_64.egg/twisted/web/client.py:182:handleResponse /usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6-linux- x86_64.egg/twisted/web/client.py:347:page /usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6-linux- x86_64.egg/twisted/internet/defer.py:361:callback /usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6-linux- x86_64.egg/twisted/internet/defer.py:455:_startRunCallbacks --- <exception caught here> --- /usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6-linux- x86_64.egg/twisted/internet/defer.py:542:_runCallbacks /usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux- x86_64.egg/mwlib/net/mwapi.py:444:done /usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux- x86_64.egg/mwlib/net/mwapi.py:22:loads /usr/lib/python2.6/json/__init__.py:307:loads /usr/lib/python2.6/json/decoder.py:319:decode /usr/lib/python2.6/json/decoder.py:338:raw_decode ]] Unhandled Error Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6- linux-x86_64.egg/twisted/web/client.py", line 182, in handleResponse self.factory.page(response) File "/usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6- linux-x86_64.egg/twisted/web/client.py", line 347, in page self.deferred.callback(page) File "/usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6- linux-x86_64.egg/twisted/internet/defer.py", line 361, in callback self._startRunCallbacks(result) File "/usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6- linux-x86_64.egg/twisted/internet/defer.py", line 455, in _startRunCallbacks self._runCallbacks() --- <exception caught here> --- File "/usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6- linux-x86_64.egg/twisted/internet/defer.py", line 542, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6- linux-x86_64.egg/mwlib/net/mwapi.py", line 444, in done r = loads(r) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6- linux-x86_64.egg/mwlib/net/mwapi.py", line 22, in loads return json.loads(s) File "/usr/lib/python2.6/json/__init__.py", line 307, in loads return _default_decoder.decode(s) File "/usr/lib/python2.6/json/decoder.py", line 319, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode raise ValueError("No JSON object could be decoded") exceptions.ValueError: No JSON object could be decoded retrying: could not fetch 'http://testwiki.domain.de/w/api.php? action=query&meta=siteinfo&siprop=general|namespaces|interwikimap| namespacealiases|magicwords|rightsinfo&format=json' removing tmpdir '/tmp/tmpWDNSWX' Traceback (most recent call last): File "/usr/local/bin/mw-render", line 9, in <module> load_entry_point('mwlib==0.12.14', 'console_scripts', 'mw-render') () File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6- linux-x86_64.egg/mwlib/apps/render.py", line 214, in main return Main()() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6- linux-x86_64.egg/mwlib/apps/render.py", line 169, in __call__ env = self.get_environment() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6- linux-x86_64.egg/mwlib/apps/render.py", line 101, in get_environment self.zip_filename = make_zip(output=self.options.keep_zip, options=self.options, metabook=env.metabook, status=self.status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6- linux-x86_64.egg/mwlib/apps/buildzip.py", line 58, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6- linux-x86_64.egg/mwlib/apps/make_nuwiki.py", line 223, in make_nuwiki raise RuntimeError(str(val)) RuntimeError: [Failure instance: Traceback (failure with no frames): <type 'exceptions.RuntimeError'>: could not get collection params ] -- 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.
