Hello, can anyone tell me how (and from what code) images are copied from a
MediaWiki article to the rendering server? Are they *fetched* from mwlib,
or are they *sent* from the MediaWiki extension via JSON? What code does
it.
I have a custom rendering server on a Ubuntu system, and using
mwlib-0.12.13 and mwlib.rl-0.12.5.
My mw-pdf.log reports:
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/mwlib.rl-0.12.5-py2.6.egg/mwlib/rl/rlwriter.py",
line 1323, in writeImageLink
ret = self._fixBrokenImages(img_node, img_path)
File
"/usr/local/lib/python2.6/dist-packages/mwlib.rl-0.12.5-py2.6.egg/mwlib/rl/rlwriter.py",
line 1262, in _fixBrokenImages
img = PilImage.open(img_path)
File "/usr/lib/python2.6/dist-packages/PIL/Image.py", line 1982, in open
raise IOError("cannot identify image file")
IOError: cannot identify image file
We had to put the Wiki under a Single Sign-on Security system but
pass-through references to http://xxx/api.php
Text renders into the PDF just fine but images do not.
Thank you.
~
~
--
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.