Hi, I just installed mwlib and mw-render can't find the images
mwlib
0.11.0.dev
mwlib.rl 0.10.2
System: Solaris 10
Mediawiki: 1.14
Some quick install notes:
http://edutechwiki.unige.ch/mediawiki/index.php?title=Help:Books
Now testing:
mw-render --config=
http://edutechwiki.unige.ch/mediawiki/ --
writer=odf --output=./edutech.odt Educational_technology
mw-render --config=
http://edutechwiki.unige.ch/mediawiki/ --writer=rl
--output=./edutech.pdf Educational_technology
In both cases I get the OO/PDF files, so my install should be more or
less ok, but the pictures are missing.
If I understood right, mw-render should get these via the api.php.
Also, YOUR server
http://tools.pediapress.com/ used with the
collection extension installed yesterday can get these pictures
(though it skips half of the pages but that's another issue).
Did I miss something ? E.g. Should I still have to tweak a
configuration file ? I tried, but did not manage.
My URLS look like this:
http://edutechwiki.unige.ch/en/Educational_technology
http://edutechwiki.unige.ch/mediawiki/index.php?title=Educational_technology
http://edutechwiki.unige.ch/mediawiki/images/Instructional_Desing_Space.gif
http://edutechwiki.unige.ch/mediawiki/api.php?action=query&generator=images&titles=Educational_technology&prop=info
Here is the output of mw-render (the latex install is not great, but
that should not be the issue):
mw-render --config=
http://edutechwiki.unige.ch/mediawiki/ --writer=rl
--output=./edutech.pdf Educational_technology
sh: blahtexml: not found
font not found: arphic/uming.ttc
font not found: ttf-sil-ezra/SILEOT.ttf
....
font not found: ttf-indic-fonts-core/lohit_ta.ttf
font not found: linux-libertine/LinLibertine_Re.ttf
2009-05-01T16:55:25
mwlib.utils.info >> fetching 'http://
edutechwiki.unige.ch/mediawiki/api.php?
action=query&meta=siteinfo&format=json'
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionRefusedError: Connection was
refused by other side: 146: Connection refused.
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionRefusedError: Connection was
refused by other side: 146: Connection refused.
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-
solaris-2.10-sun4u.egg/twisted/internet/defer.py", line 328, in
_runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/local/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-
solaris-2.10-sun4u.egg/twisted/internet/defer.py", line 536, in
_cbDeferred
self.callback(self.resultList)
File "/usr/local/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-
solaris-2.10-sun4u.egg/twisted/internet/defer.py", line 243, in
callback
self._startRunCallbacks(result)
File "/usr/local/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-
solaris-2.10-sun4u.egg/twisted/internet/defer.py", line 312, in
_startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/local/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-
solaris-2.10-sun4u.egg/twisted/internet/defer.py", line 328, in
_runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/local/lib/python2.5/site-packages/mwlib-0.11.0.dev-py2.5-
solaris-2.10-sun4u.egg/mwlib/twisted_api.py", line 685, in got_api
def got_api(((api, siteinfo), idx)):
exceptions.ValueError: too many values to unpack
10/10/10 jobs -- 0/20 running
done
removing '/tmp/nuwiki-tqk4eC'
font not found: arphic/uming.ttc
font not found: ttf-sil-ezra/SILEOT.ttf
.....
font not found: ttf-indic-fonts-core/lohit_ta.ttf
font not found: linux-libertine/LinLibertine_Re.ttf
2009-05-01T16:55:42 rlwriter.warning >> invalid image url (obj.target:
u'Image:Instructional_Desing_Space.gif')
2009-05-01T16:55:42 rlwriter.warning >> invalid image url (obj.target:
u'Image:Educational_Technology_Problem_Space.gif')
2009-05-01T16:55:44
rlwriter.info >> start rendering: '/tmp/tmpmfgDlL'
2009-05-01T16:55:46
rlwriter.info >> ###### RENDERING OK
Thanx for any hint/help :) - Daniel