Problems with Extension Collection Mediawiki 1.19

170 views
Skip to first unread message

gern

unread,
Dec 4, 2012, 11:20:49 AM12/4/12
to mw...@googlegroups.com
Hi,

I have a problem with Collection Extension in the wiki of my University.

When i try to download a page in PDF i get the follow Error:

An error occured on the render server: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/home/pp/cache/95/9503bff2eaa511cd/collection.zip', '-m', '/home/pp/cache/95/9503bff2eaa511cd/metabook.json', '--status', 'qserve://localhost:14311/9503bff2eaa511cd:makezip', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Exclude in print', '--print-template-prefix', 'Print', '--print-template-pattern', '$1/Print', '--username', 'PediaPress', '--password', '{OMITTED}'] Last Output: 2012-11-30T09:42:24 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/95/9503bff2eaa511cd/tmpHY2TR1/nuwiki' removing tmpdir u'/home/pp/cache/95/9503bff2eaa511cd/tmpHY2TR1' 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 0x1b477d0>, 'content_type': u'text/x-wiki', 'title': u'European Research Network for Emerging Technologies', 'timestamp': u'1353512300', 'type': 'article', 'revision': u'2435'}>) 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

We are using the server of Pediapress in this Extension. Please could you give us a solution for this bug?

Installed software:
MediaWiki 1.19.0
PHP 5.3.15 (apache2handler)
MySQL 5.5.23-cll


Thanks in advance.

Joseph Messerschmidt

unread,
Dec 6, 2012, 6:35:46 PM12/6/12
to mw...@googlegroups.com
Probably https://bugzilla.wikimedia.org/show_bug.cgi?id=37868. Also see https://github.com/pediapress/Collection/issues/1 for more info. Not sure if they're ever going to fix this one, been waiting 6+ months on this fix.
Reply all
Reply to author
Forward
0 new messages