Yes, it always worked .... It's true, the KletterWiki is a members-only wiki, not very big, and only a few important printing jobs every now and then .... but we do have a login account for the server...
And we definitely haven't changed anything about the wiki ... that leads me to the conclusion, that something about the server changed ... but honestly, I don't know ... Cheers H On Oct 23, 12:01 pm, Friedrich <[email protected]> wrote: > Flo, did this ever work before on your server/wiki? If yes, what has > changed? Just a guess: Perhaps you have to create a login account for > the public render server? KletterWiki is not for public read access? > > On Oct 23, 10:04 am, hein <[email protected]> wrote: > > > > > > > > > On Oct 21, 9:10 pm, Ralf Schmitt <[email protected]> wrote: > > > > hein <[email protected]> writes: > > > > I keep trying, nothing works ... > > > > what's the exact error message? are you using the public render server? > > > Good morning, thanks for asking back -... BTW I have two different > > wikis set up and both show the exact same results ;-( > > > Yes, we are using the public render server - these are the settings in > > my Localsettings.php: > > require_once("$IP/extensions/Collection/Collection.php"); > > $wgSharedBaseURL = "https://klettern.project22.org"; > > $wgCollectionMWServeURL = "http://tools.pediapress.com/mw-serve/"; # > > der PDF-Print-Server, bleibt default, wenns geht > > $wgCollectionMWServeCredentials = 'XXXXX:YYYYY'; /*obviously not the > > right credentials ;) */ > > # - der extranutzer, damit der Server zugreifen kann... > > $wgPDFTemplateBlackList = 'MediaWiki:PDF_Template_Blacklist'; > > $wgCollectionFormats = array( > > 'rl' => 'PDF', > > 'odf' => 'ODT', > > ); > > > And the error message is very long - I'll just drop it here, sorry for > > the inconvenience ;-) > > An error occured on the render server: RuntimeError: RuntimeError: > > command failed with returncode 256: ['mw-zip', '-o', u'cache/ > > 40/401b36768d059990/collection.zip', '-m', u'cache/40/401b36768d059990/ > > metabook.json', '--status', u'qserve://localhost: > > 14311/401b36768d059990:makezip', '--config', u'https:// > > klettern.project22.org', '--template-blacklist', u'MediaWiki:PDF > > Template Blacklist', '--template-exclusion-category', u'Vom Druck > > ausschlie\xdfen', '--print-template-prefix', u'Drucken', '--print- > > template-pattern', u'$1/Druck', '--username', u'PrintServNutzer', '-- > > password', '{OMITTED}'] Last Output: 2011-10-23T07:28:56 > > mwlib.options.warn >> Both --print-template-pattern and --print- > > template-prefix (deprecated) specified. Using --print-template-pattern > > only. 1% creating nuwiki in u'cache/40/401b36768d059990/tmpKXfczC/ > > nuwiki' /home/tools/local/lib/python2.6/site-packages/mwlib-0.12.16- > > py2.6-linux-x86_64.egg/mwlib/metabook.py:225: DeprecationWarning: > > deprecated call get('mw_license_url') if l.get('mw_license_url'): / > > home/tools/local/lib/python2.6/site-packages/mwlib-0.12.16-py2.6-linux- > > x86_64.egg/mwlib/metabook.py:240: DeprecationWarning: deprecated call > > get('mw_rights_text') if l.get('mw_rights_text'): /home/tools/local/ > > lib/python2.6/site-packages/mwlib-0.12.16-py2.6-linux-x86_64.egg/mwlib/ > > metabook.py:242: DeprecationWarning: deprecated call > > get('mw_rights_page') if l.get('mw_rights_page'): /home/tools/local/ > > lib/python2.6/site-packages/mwlib-0.12.16-py2.6-linux-x86_64.egg/mwlib/ > > metabook.py:244: DeprecationWarning: deprecated call > > get('mw_rights_url') if l.get('mw_rights_url'): login failed: > > {u'login': {u'cookieprefix': u'kwiki', u'token': > > u'f6c269f853af7aec8bb6d43ea622488f', u'sessionid': > > u'3o11b5ed6p3gmp0tgsafs8qed0', u'result': u'NeedToken'}} Traceback > > (most recent call last): File "/home/tools/local/lib/python2.6/site- > > packages/gevent/greenlet.py", line 402, in run result = > > self._run(*self.args, **self.kwargs) File "/home/tools/local/lib/ > > python2.6/site-packages/mwlib-0.12.16-py2.6-linux-x86_64.egg/mwlib/ > > apps/make_nuwiki.py", line 118, in run api = self.get_api() File "/ > > home/tools/local/lib/python2.6/site-packages/mwlib-0.12.16-py2.6-linux- > > x86_64.egg/mwlib/apps/make_nuwiki.py", line 28, in get_api > > api.login(self.username, self.password, self.domain) File "/home/tools/ > > local/lib/python2.6/site-packages/mwlib-0.12.16-py2.6-linux-x86_64.egg/ > > mwlib/net/sapi.py", line 182, in login raise RuntimeError("login > > failed") RuntimeError: login failed <Greenlet at 0x9c811ac: <bound > > method start_fetcher.run of <mwlib.apps.make_nuwiki.start_fetcher > > object at 0x9c8562c>>> failed with RuntimeError removing tmpdir > > u'cache/40/401b36768d059990/tmpKXfczC' memory used: res=12.1 virt=17.0 > > 1% error Traceback (most recent call last): File "/home/tools/local/ > > bin/mw-zip", line 8, in <module> load_entry_point('mwlib==0.12.16', > > 'console_scripts', 'mw-zip')() File "/home/tools/local/lib/python2.6/ > > site-packages/mwlib-0.12.16-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/ > > local/lib/python2.6/site-packages/mwlib-0.12.16-py2.6-linux-x86_64.egg/ > > mwlib/apps/buildzip.py", line 53, in make_zip make_nuwiki(fsdir, > > metabook=metabook, options=options, podclient=podclient, > > status=status) File "/home/tools/local/lib/python2.6/site-packages/ > > mwlib-0.12.16-py2.6-linux-x86_64.egg/mwlib/apps/make_nuwiki.py", line > > 193, in make_nuwiki pool.join(raise_error=True) File "/home/tools/ > > local/lib/python2.6/site-packages/gevent/pool.py", line 105, in join > > raise greenlet.exception RuntimeError: login failed in function > > system, file /home/tools/code/sandbox/nslave.py, line 37 in function > > qaddw, file /home/tools/local/lib/python2.6/site-packages/qs/slave.py, > > line 66 > > > If you somehow can help me on this, that would be awesome - I need to > > print a collection from the wiki for a training tomorrow morning - and > > I really don't know any futher on this issue ... > > > Thanks so much > > Flo -- 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.
