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
- http://www.mediawiki.org/wiki/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 <module>
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 (<article {'_env':
<mwlib.wiki.Environment object at 0x84707cc>, '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
# This file was automatically generated by the MediaWiki 1.17.0
# installer. If you make manual changes, please keep track in case you
# need to recreate them later.
#
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.
#
# Further documentation for configuration settings may be found at:
# http://www.mediawiki.org/wiki/Manual:Configuration_settings
# Protect against web entry
#if ( !defined( 'MEDIAWIKI' ) ) {
# 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");
# this extension is used to mass delete the articles
require_once('extensions/Nuke/Nuke.php');
# If PHP's memory limit is very low, some operations may fail.
ini_set( 'memory_limit', '20M' );
if ( $wgCommandLineMode ) {
if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD',
$_SERVER ) ) {
die( "This script must be run from the command line\n" );
}
}
## Uncomment this to disable output compression
# $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('includes/Auth_remoteuser.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/IM/IMStatus.php");
#require_once( $IP."/extensions/IMStatus/IMStatus.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");
--
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.