Hi,
I'm running MediaWiki 1.16.2 and Collection 79875 on Ubuntu 8.04 and
recently installed mwlib and mwlib.rl according to this guide,
http://edutechwiki.unige.ch/en/Mediawiki_collection_extension_installation#mwlib_installation_on_Ubuntu.
In LocalSettings.php I wrote:
require_once("$IP/extensions/Collection/Collection.php");
$wgEnableApi = true;
$wgCollectionMWServeURL = "http://losmintos.de:8899";
Then, via ssh, I start mw-serve with the following command:
mw-serve --cache-dir=/var/cache/mwcache/mwlibcache/ --logfile=/var/
cache/mwcache/logs/mwserve.log --mwrender-logfile=/var/cache/mwcache/
logs/mwrender.log --mwzip-logfile=/var/cache/mwcache/logs/mwzip.log --
mwpost-logfile=/var/cache/mwcache/logs/mwpost.log
Finally, I collected a book and startet PDF export, but got en error,
only:
error executing command u'render': execv() arg 2 must contain only
strings
mwserve.log looks like:
2011-02-24T10:08:34 mw-serve.info >> serving http on 0.0.0.0:8899
2011-02-24T10:09:43 mwlib.serve.request_info >> remote_addr:
78.47.206.28, referer: https://www.losmintos.de/wiki/Spezial:Buch
2011-02-24T10:09:43 mwlib.serve.info >> Creating directory '/var/cache/
mwcache/mwlibcache/38/38bdd1891071dbdf'
2011-02-24T10:09:43 mwlib.serve.info >> u'render 38bdd1891071dbdf rl'
2011-02-24T10:09:43 mwlib.serve.info >> rendering u'/var/cache/mwcache/
mwlibcache/38/38bdd1891071dbdf/output.rl'
new-collection 1 u'https://www.losmintos.de/w' u'rl'
0% job queued 2011-02-24T10:09:43 mwlib.serve.info >> queuing ['mw-
render', '--logfile', '/var/cache/mwcache/logs/mwrender.log', '--er$
lists.losmintos.de - - [24/Feb/2011 10:09:43] "POST / HTTP/1.1" 200 87
2011-02-24T10:10:58 mw-serve.info >> exit.
I have to use my own renderer, because the wiki is not publicly
available. It would be great, if someone could help me setting up PDF
export either via http or cgi or whatever. Your help's appreciated!
Regards
Henning
--
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.