We have just installed the Collection extension in our WIKI and it
works fine until the render stage. At this point we get the following:

An error occured on the render server: RuntimeError: RuntimeError:
command failed with returncode 256: ['mw-zip', '-o', u'cache/d0/
d0b96f725a28b1f9/collection.zip', '-m', u'cache/d0/d0b96f725a28b1f9/
metabook.json', '--status', u'qserve://localhost:14311/
d0b96f725a28b1f9:makezip', '--config', u'http://205.153.116.94/
~crinwiki', '--template-blacklist', u'MediaWiki:PDF Template
Blacklist', '--template-exclusion-category', u'Exclude in print', '--
print-template-prefix', u'Print', '--print-template-pattern', u'$1/
Print'] Last Output: 2.6-linux-x86_64.egg/mwlib/metabook.py:225:
DeprecationWarning: deprecated call get('mw_license_url') if
l.get('mw_license_url'): /home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/metabook.py:240:
DeprecationWarning: deprecated call get('mw_rights_text') if
l.get('mw_rights_text'): /home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/metabook.py:242:
DeprecationWarning: deprecated call get('mw_rights_page') if
l.get('mw_rights_page'): /home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/metabook.py:244:
DeprecationWarning: deprecated call get('mw_rights_url') if
l.get('mw_rights_url'): Unhandled error in Deferred: Traceback (most
recent call last): Failure: exceptions.RuntimeError: could not get
siteinfo fatal: could not get siteinfo [[Failure instance: Traceback:
<type 'exceptions.ValueError'>: No JSON object could be decoded /usr/
lib/python2.6/site-packages/twisted/internet/defer.py:
371:_runCallbacks /home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/net/mwapi.py:232:done /usr/
lib/python2.6/site-packages/twisted/internet/defer.py:280:callback /
usr/lib/python2.6/site-packages/twisted/internet/defer.py:
354:_startRunCallbacks --- <exception caught here> --- /usr/lib/
python2.6/site-packages/twisted/internet/defer.py:371:_runCallbacks /
home/tools/local/lib/python2.6/site-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 ]] Traceback (most
recent call last): File "/usr/lib/python2.6/site-packages/twisted/
internet/defer.py", line 371, in _runCallbacks self.result =
callback(self.result, *args, **kw) File "/home/tools/local/lib/
python2.6/site-packages/mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/net/
mwapi.py", line 232, in done d.callback(val) File "/usr/lib/python2.6/
site-packages/twisted/internet/defer.py", line 280, in callback
self._startRunCallbacks(result) File "/usr/lib/python2.6/site-packages/
twisted/internet/defer.py", line 354, in _startRunCallbacks
self._runCallbacks() --- <exception caught here> --- File "/usr/lib/
python2.6/site-packages/twisted/internet/defer.py", line 371, in
_runCallbacks self.result = callback(self.result, *args, **kw) File "/
home/tools/local/lib/python2.6/site-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://205.153.116.94/~crinwiki/api.php?
action=parse&redirects=1&oldid=670&format=json' removing tmpdir
u'cache/d0/d0b96f725a28b1f9/tmp5vrJHs' 1.08090895151% error Traceback
(most recent call last): File "/home/tools/local/bin/mw-zip", line 8,
in <module> load_entry_point('mwlib==0.12.14', 'console_scripts', 'mw-
zip')() File "/home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/apps/buildzip.py", line
155, in main make_zip(output, options, env.metabook,
podclient=podclient, status=status) File "/home/tools/local/lib/
python2.6/site-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 "/home/tools/local/lib/python2.6/site-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 siteinfo ] in function
system, file ./code/sandbox/nslave.py, line 37 in function qaddw,
file /home/tools/local/lib/python2.6/site-packages/qs/slave.py, line
66



Can anyone please assist? We have tried this on 2 different servers
and still get the same problem.

Thanks in advance,

Adam

-- 
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.

Reply via email to