I'm trying to set up PDF generation on a mediawiki site using the PdfExport 
extension, using mwlib.
This PdfExport extension uses mw-render to render a PDF straight from an 
URL. However this always returns <urlopen error [Errno 67] request timed 
out> errors.

I have been running this command in a shell to play with it, and sometimes, 
after a long pause it seems to start a transfer but then always fails with 
this error (with or without starting a transfer).
If I however fire up mw-zip with the exact same command line parameters 
(except for the --writer parameter) , it connects immediately and generates 
a zip file which then can be used to render the PDF with mw-render.

I have been testing to my own mediawiki site, but also to wikipedia, all 
results in the same behavior.

I don't know python, but looking to the the mwlib sources, it seems to me 
mw-render and mw-zip share the same fetch-routines? 
Has anyone an idea of why I see this behavior ? and/or suggestions on how I 
can try to fix mw-render ? 

Thanks

Robin

-- 
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.


Reply via email to