Hi there, i can create a pdf with the following command from the console: mw-render --config=http://wiki.xxx.local/ --writer=rl -- output=Test.pdf Test mw-render --config=http://wiki.xxx.local/ --writer=rl -- output=Test2.pdf MediaWiki:PDF Template Blacklist
mw-serv is running: root 5239 0.0 2.9 9732 7524 ? S 11:11 0:00 /usr/ bin/python /usr/bin/mw-serve --protocol=http --port=8899 --cache-dir=/ tmp I've created Page "MediaWiki:PDF Template Blacklist" with the content "None" LocalSettings.php: $wgCollectionMWServeURL = "http://wiki.audin.local:8899/"; $wgCollectionFormats = array('rl' => 'PDF',); require_once ("$IP/extensions/Collection/Collection.php"); But if i want to create a pdf from the wiki i get the following error message: Auf dem Render-Server ist ein Fehler aufgetreten: traceback Traceback (most recent call last): File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.12.12-py2.5- linux-x86_64.egg/mwlib/apps/render.py", line 169, in __call__ env = self.get_environment() File "/home/tools/py25/lib/python2.5/site- packages/mwlib-0.12.12-py2.5-linux-x86_64.egg/mwlib/apps/render.py", line 101, in get_environment self.zip_filename = make_zip (output=self.options.keep_zip, options=self.options, metabook=env.metabook, status=self.status) File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.12.12-py2.5- linux-x86_64.egg/mwlib/apps/buildzip.py", line 58, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/home/tools/py25/lib/ python2.5/site-packages/mwlib-0.12.12-py2.5-linux-x86_64.egg/mwlib/ apps/make_nuwiki.py", line 171, in make_nuwiki raise RuntimeError(str (val)) RuntimeError: [Failure instance: Traceback (failure with no frames): <type 'exceptions.RuntimeError'>: could not get collection params ] sys.argv=['/home/tools/py25/bin/mw-render', '--logfile', '/ home/tools/cache/mw-serve/95/95975d59dbfb516f/mw-render.log.rl', '-- error-file', '/home/tools/cache/mw-serve/95/95975d59dbfb516f/ errors.rl', '--status-file', '/home/tools/cache/mw-serve/ 95/95975d59dbfb516f/status.rl', '--writer', 'rl', '--output', '/home/ tools/cache/mw-serve/95/95975d59dbfb516f/output.rl', '--pid-file', '/ home/tools/cache/mw-serve/95/95975d59dbfb516f/pid.rl', '--metabook', '/ home/tools/cache/mw-serve/95/95975d59dbfb516f/metabook.json', '--keep- zip', '/home/tools/cache/mw-serve/95/95975d59dbfb516f/collection.zip', '--config', 'http://wiki', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Exclude in print', '--print-template-prefix', 'Print', '--print-template- pattern', '$1/Print', '--script-extension', '.php', '--language', 'en'] Has anybody a hint for me? Thx audin -- 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.
