Last modified: 2013-10-08 12:13:41 UTC
The error log: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/b3/b33ef36ef3bb7840/collection.zip', '-m', '/b3/b33ef36ef3bb7840/metabook.json', '--status', 'qserve://localhost:14311/b33ef36ef3bb7840:makezip', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', u'\u6253\u5370\u65f6\u6392\u9664', '--print-template-prefix', u'\u6253\u5370', '--print-template-pattern', u'$1\uff0f\u6253\u5370', '--username', 'coiby', '--password', '{OMITTED}'] Last Output: 2012-06-23T23:07:32 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. 1% creating nuwiki in u'/b3/b33ef36ef3bb7840/tmpEmnFC1/nuwiki' removing tmpdir u'/b3/b33ef36ef3bb7840/tmpEmnFC1' memory used: res=11.0 virt=19.9 1% error Traceback (most recent call last): File "/usr/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.13.8', 'console_scripts', 'mw-zip')() File "/usr/lib/python2.6/site-packages/mwlib-0.13.8-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/usr/lib/python2.6/site-packages/mwlib-0.13.8-py2.6-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/lib/python2.6/site-packages/mwlib-0.13.8-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 152, in make_nuwiki assert x.wikiident in id2wiki, "no wikiconf for %r (%s)" % (x.wikiident, x) AssertionError: no wikiconf for None (<article {'_env': <mwlib.wiki.Environment object at 0x9fc448c>, 'content_type': u'text/x-wiki', 'title': u'\u9996\u9875', 'timestamp': u'1340295690', 'type': 'article', 'revision': u'525'}>) in function system, file /usr/lib/python2.6/site-packages/mwlib-0.13.8-py2.6-linux-i686.egg/EGG-INFO/scripts/nslave.py, line 63 in function qaddw, file /usr/lib/python2.6/site-packages/qserve-0.2.7-py2.6.egg/qs/slave.py, line 66
Also reported in https://github.com/pediapress/Collection/issues/1 with a workaround
Many reports
Thanks! This workaround is nice. > Also reported in https://github.com/pediapress/Collection/issues/1 with a > workaround
Some reports this - https://www.mediawiki.org/wiki/Extension_talk:Collection#Collection_Extension:_RuntimeError:_command_failed_with_returncode_256_8659
Change 87293 had a related patch set uploaded by Bpetty: Fix doc generation for use with root MediaWiki configs and short URLs. https://gerrit.wikimedia.org/r/87293
I think that the real bug is caused by r103208 which changed wfExpandUrl not to expand "".
*** Bug 38187 has been marked as a duplicate of this bug. ***