Hey,
Auch wenn es eine bisschen spezielle Frage ist, kann mir das masters evtl ja doch helfen ^^.
Folgendes:
Auf Windows 7 Rechner läuft ein Mediawiki.
Da es nur im Intranet aufrufbar ist, kann ich den öffentlichen PDF-Render Server (pediapress) mit der Extension:Collection nicht verwenden - ich muss selbst einen aufsetzen.
Nach langem hin und her hab ich es geschafft - auf Ubuntu in einer VirtualBox.
Die Kommunikation soweit läuft auch, ich kann von der VirtualBox mit FF auf das Wiki, und das Rendern geht auch mit der Konsole.
Nur wenn ich direkt im Wiki versuche eine PDF zu erstellen, kommt ein error:
"<urlopen error [Errno 67] request timed out> in function system".
Ich denke das hängt mit dem Virtuellen zusammen, hab auch schon gegooglet, ist nur etwas speziell um auf Anhieb was korrekter zu finden
.
Also:
mw-zip -c
http://RECHNERNAME/mediawiki -o test21.zip "ARTIKELNAME"
funktioniert.
In der VirtualBox hab ich als Netzwerk ein Host-only-Adapter
Eventuell hab ich ja Glück und es kennt sich jemand aus/hatte sogar schonmal ein ähnliches Problem
Grüße,
Vollständer Error:
Auf dem Render-Server ist ein Fehler aufgetreten: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/mwcache/7b/7b776b1e4eaa12ff/collection.zip', '-m', '/mwcache/7b/7b776b1e4eaa12ff/metabook.json', '--status', 'qserve://localhost:14311/7b776b1e4eaa12ff:makezip', '--config', 'http://KEW3Prakt-Z420/mediawiki', '--username', 'tke2', '--password', '{OMITTED}'] Last Output: 1% /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:225: DeprecationWarning: deprecated call get('mw_license_url') if l.get('mw_license_url'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:240: DeprecationWarning: deprecated call get('mw_rights_text') if l.get('mw_rights_text'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:242: DeprecationWarning: deprecated call get('mw_rights_page') if l.get('mw_rights_page'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:244: DeprecationWarning: deprecated call get('mw_rights_url') if l.get('mw_rights_url'): Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/gevent-0.13.8-py2.6-linux-i686.egg/gevent/greenlet.py", line 390, in run result = self._run(*self.args, **self.kwargs) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 114, in run api = self.get_api() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 28, in get_api api.login(self.username, self.password, self.domain) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 186, in login res = self._post(**args) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 106, in _post res = loads(self._fetch(req)) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 72, in _fetch f = self.opener.open(url) File "/usr/lib/python2.6/urllib2.py", line 391, in open response = self._open(req, data) File "/usr/lib/python2.6/urllib2.py", line 409, in _open '_open', req) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 1172, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.6/urllib2.py", line 1147, in do_open raise URLError(err) URLError: <urlopen error [Errno 67] request timed out> <Greenlet at 0x8bb28ec: <bound method start_fetcher.run of <mwlib.apps.make_nuwiki.start_fetcher object at 0x8bdedcc>>> failed with URLError creating nuwiki in u'/mwcache/7b/7b776b1e4eaa12ff/tmpIRPzaK/nuwiki' removing tmpdir u'/mwcache/7b/7b776b1e4eaa12ff/tmpIRPzaK' memory used: res=11.6 virt=25.2 1% error Traceback (most recent call last): File "/usr/local/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.15.11', 'console_scripts', 'mw-zip')() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 189, in make_nuwiki pool.join(raise_error=True) File "/usr/local/lib/python2.6/dist-packages/gevent-0.13.8-py2.6-linux-i686.egg/gevent/pool.py", line 101, in join raise greenlet.exception urllib2.URLError: <urlopen error [Errno 67] request timed out> in function system, file /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/nslave.py, line 64 in function qaddw, file /usr/local/lib/python2.6/dist-packages/qserve-0.2.8-py2.6.egg/qs/slave.py, line 66