Dreaded error. API not recognized ?

Jump to: navigation, search

I am using mediawiki 1.19.1 and I have the dreaded error below that so many others seem to have:

An error occured on the render server: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/home/pp/cache/16/168a3e493b2c119c/collection.zip', '-m', '/home/pp/cache/16/168a3e493b2c119c/metabook.json', '--status', 'qserve://localhost:14311/168a3e493b2c119c:makezip', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Exclude in print', '--print-template-prefix', 'Print', '--print-template-pattern', '$1/Print'] Last Output: 2012-08-03T07:37:42 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. 1% creating nuwiki in u'/home/pp/cache/16/168a3e493b2c119c/tmpBPZnWd/nuwiki' removing tmpdir u'/home/pp/cache/16/168a3e493b2c119c/tmpBPZnWd' memory used: res=16.4 virt=123.1 1% error Traceback (most recent call last): File "/home/pp/local/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.13.10', 'console_scripts', 'mw-zip')() File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/home/pp/local/lib/python2.7/site-packages/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 0x12027d0>, 'title': u'Ableton:Quantizing warped clips', 'url': u'http://en.wikiaudio.org/Ableton:Quantizing_warped_clips', 'timestamp': u'1329955238', 'currentVersion': 1, 'content_type': u'text/x-wiki', 'revision': u'34948', 'type': 'article', 'latest': u'34948'}>) in function system, file ./bin/nslave.py, line 64 in function qaddw, file /home/pp/local/lib/python2.7/site-packages/qs/slave.py, line 66


I made sure $wgEnableAPI = true;

My wiki is viewable by everyone and editable by users who are logged in. I created a user account called "collection" and then added the following to localsettings:

$wgCollectionMWServeCredentials = "collection:Password";

I logged in with the credentials to verify them & they worked. I then tried to create a book .... and I got the error above. I am assuming pediapress is not recognizing the API but I don't know what to do. Any help is appreciated. 24.130.249.87 07:45, 3 August 2012 (UTC)

24.130.249.8707:45, 3 August 2012