Thread:Extension talk:Collection/Getting error when downloading PDF in Book Creator in Extensions Collection

Folks, I need some real help here. I keep getting an error (shown below) when I select download using PDF format in the Book Creator under the Collections Extension on the MediaWiki server. The admin who installed the extension used the following guidelines: - http://edutechwiki.unige.ch/en/Mediawiki_collection_extension_installation - http://code.pediapress.com/wiki/wiki/mwlib-install - Extension:Collection

The server is running Oracle Enterprise Linux 5.2 32bit with 1.5GB RAM and 1 CPU. Please let me know if anyone has suggestions or recognizes the problem in the error message below. I'm about ready to rip out the extension and start over nearly from the beginning here. Any help or recommendations would be greatly appreciated.

Thanks.

Render server error An error occured on the render server: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', u'cache/71/71642c2f7f3ee0d5/collection.zip', '-m', u'cache/71/71642c2f7f3ee0d5/metabook.json', '--status', u'qserve://localhost:14311/71642c2f7f3ee0d5:makezip', '--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', '--username', u'username', '--password', '{OMITTED}', '--domain', u'companydomain']

Last Output: 2011-10-26T15:34:27 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only.

1% creating nuwiki in u'cache/71/71642c2f7f3ee0d5/tmpy2M8c_/nuwiki' removing tmpdir u'cache/71/71642c2f7f3ee0d5/tmpy2M8c_' memory used: res=10.4 virt=16.2

1% error Traceback (most recent call last):

File "/home/tools/local/bin/mw-zip", line 8, in load_entry_point('mwlib==0.12.17', 'console_scripts', 'mw-zip')

File "/home/tools/py26/lib/python2.6/site-packages/mwlib-0.12.17-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/py26/lib/python2.6/site-packages/mwlib-0.12.17-py2.6-linux-x86_64.egg/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status)

File "/home/tools/py26/lib/python2.6/site-packages/mwlib-0.12.17-py2.6-linux-x86_64.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 (, 'title': u'Database Refresh', 'url': u'http://10.140.7.52/index.php/Database_Refresh', 'timestamp': u'1300980829', 'currentVersion': 1, 'content_type': u'text/x-wiki', 'revision': u'3595', 'type': 'article', 'latest': u'3595'}>) in function system, file /home/tools/code/sandbox/nslave.py, line 37 in function qaddw, file /home/tools/local/lib/python2.6/site-packages/qserve-0.2.3-py2.6.egg/qs/slave.py, line 66 Return to Main Page.

--

[root@wikidev wiki]# cat LocalSettings.php <?php
 * 1) This file was automatically generated by the MediaWiki 1.17.0
 * 2) installer. If you make manual changes, please keep track in case you
 * 3) need to recreate them later.
 * 4) See includes/DefaultSettings.php for all configurable settings
 * 5) and their default values, but don't forget to make changes in _this_
 * 6) file, not there.
 * 7) Further documentation for configuration settings may be found at:
 * 8) Manual:Configuration settings
 * 1) Further documentation for configuration settings may be found at:
 * 2) Manual:Configuration settings


 * 1) Protect against web entry
 * 2) if ( !defined( 'MEDIAWIKI' ) ) {
 * 3) 	exit;
 * }

if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); }

$path = array( $IP, "$IP/includes", "$IP/languages" ); set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path );

require_once( "$IP/includes/DefaultSettings.php" ); require_once("$IP/extensions/embed_document.php"); require_once('extensions/Nuke/Nuke.php');
 * 1) this extension is used to mass delete the articles

ini_set( 'memory_limit', '20M' );
 * 1) If PHP's memory limit is very low, some operations may fail.

if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } }
 * 1) Uncomment this to disable output compression
 * 2) $wgDisableOutputCompression = true;

$wgSitename        = "The Company Wiki"; [root@wikidev wiki]# [root@wikidev wiki]# grep require_once LocalSettings.php require_once( "$IP/includes/DefaultSettings.php" ); require_once("$IP/extensions/embed_document.php"); require_once('extensions/Nuke/Nuke.php'); require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" ); require_once("extensions/PdfExport/PdfExport.php"); require_once("$IP/extensions/pdf.php"); require_once "$IP/extensions/PdfBook.php"; require_once("$IP/extensions/embed_document.php"); require_once( "extensions/FCKeditor/FCKeditor.php" ); require_once("extensions/flash.php"); require_once("$IP/extensions/EmbedVideo/EmbedVideo.php"); require_once('extensions/YouTube.php'); require_once('extensions/aim.php'); require_once( "{$IP}/extensions/BackAndForth/BackAndForth.php" ); require_once("$IP/extensions/EditOwn/EditOwn.php"); require_once( "$IP/extensions/UsageStatistics/UsageStatistics.php" ); require_once("$IP/extensions/WhosOnline/WhosOnline.php"); require_once ( "$IP/extensions/Contributors/Contributors.php" ); require_once("$IP/extensions/MultiUpload/SpecialMultipleUpload.php"); require_once("$IP/extensions/CategoryTree/CategoryTree.php"); require_once("extensions/accesscontrol/accesscontrolSettings.php"); require_once( 'extensions/SelectCategory/SelectCategory.php' ); require_once("$IP/extensions/DiscussionThreading/DiscussionThreading.php"); require_once("$IP/extensions/Collection/Collection.php");
 * 1) require_once('includes/Auth_remoteuser.php');
 * 1) require_once( $IP."/extensions/IM/IMStatus.php");
 * 2) require_once( $IP."/extensions/IMStatus/IMStatus.php");