lasipisa <[email protected]> writes: > Hello all, > > I'm running MediaWiki 1.15, in xampplite (WAMP) environment, with > Python 2.5 all on my local machine. I've installed everything using > these instructions: > http://code.pediapress.com/wiki/wiki/WindowsSetup#Installingmwlib.rlonWindows > > When I try to render a sample wiki page to pdf with the Collections > extension, I get the following error: > > An error occured on the render server: traceback Traceback (most > recent call last): File "/home/tools/py25/lib/python2.5/site-packages/ > mwlib-0.12.4-py2.5-linux-x86_64.egg/mwlib/apps/render.py", line 170, > in __call__ env = self.get_environment() File "/home/tools/py25/lib/ > python2.5/site-packages/mwlib-0.12.4-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.4-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.4-py2.5-linux-x86_64.egg/mwlib/apps/make_nuwiki.py", line > 162, in make_nuwiki raise RuntimeError(str(val)) RuntimeError: > [Failure instance: Traceback (failure with no frames): <type > 'exceptions.RuntimeError'>: could not get siteinfo ] sys.argv=['/home/ > tools/py25/bin/mw-render', '--logfile', '/home/tools/cache/mw-serve/ > 5/58/58b559507229fa6c/mw-render.log.rl', '--error-file', '/home/tools/ > cache/mw-serve/5/58/58b559507229fa6c/errors.rl', '--status-file', '/ > home/tools/cache/mw-serve/5/58/58b559507229fa6c/status.rl', '-- > writer', 'rl', '--output', '/home/tools/cache/mw-serve/ > 5/58/58b559507229fa6c/output.rl', '--pid-file', '/home/tools/cache/mw- > serve/5/58/58b559507229fa6c/pid.rl', '--metabook', '/home/tools/cache/ > mw-serve/5/58/58b559507229fa6c/metabook.json', '--keep-zip', '/home/ > tools/cache/mw-serve/5/58/58b559507229fa6c/collection.zip', '-- > config', 'http://localhost/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'] >
it seems like you're using the public render server. The above is the command which the server tried to run. --config http://localhost/wiki is wrong. check your $wgServer and $wgScriptPath variables or do not use the public render server (these are used to construct that url passed after --config). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
