I am also trying to setup wikimedia render server as download pdf is not
working with default option. I am unable to install mwlib.rl . How did you
install the package on fedora?
Are you able to fix all issues. I would appreciate if you could share the
On Thursday, June 22, 2017 at 3:54:47 PM UTC-4, Jeff Saltzman wrote:
> I'm not able to get a pdf out :( Mediawiki is running on a server on our
> LAN so can't use the public renderer.
> When I click "Download as PDF" on the Special:Book page, I get a "Book
> rendering failed" page.
> Where can I find a log or any details on the error?
> Any help would be appreciated!
> I installed mwlib and mwlib.rl and the test worked:
> To get the mw-zip command to work, I needed to replace references to
> gevent.coros with gevent.lock, per
> To get the mw-render command to work, I had to edit
> mwlib/ext/reportlab/lib/utils.py to replace im.tostring() with im.tobytes,
> per https://groups.google.com/d/msg/mwlib/OYaUXWiX16M/a1eN8UH8AwAJ.
> The page on running a render server
> <http://mwlib.readthedocs.io/en/latest/renderserver.html> didn't work but
> thread <https://groups.google.com/d/msg/mwlib/xYx2cfY3Rjs/mZfE44DXyx0J>
> helped: I ran the commands in a different order; currently I'm running each
> one as root from different shells (testing...:).
> More details:
> Fedora 25
> MediaWiki version 1.27.3
> PHP version 7.0.19
> Collections extension version 1.7.0
> From LocalSettings.php:
> # Collection extension
> $wgCollectionMWServeURL = "http://fedora:8899";
> $wgServer = "http://fedora";
> $wgCollectionMWServeCert = 'null';
> $wgEnableAPI = true;
> $wgEnableWriteAPI = true;
> $wgCollectionFormats = array('rl' => 'PDF', 'odf' => 'ODT');
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.