Page MenuHomePhabricator

New PDF renderer: [[en:Integral]] fails.
Closed, ResolvedPublic

Description

I opened
https://en.wikipedia.org/wiki/Integral
and copied the URL from "Download as PDF" to change the "writer" parameter to "rdf2latex". When the page
https://en.wikipedia.org/w/index.php?title=Special:Book&bookcmd=rendering&return_to=Integral&collection_id=0a8673ae2f477e51733960aadefe7577e53a81dd&writer=rdf2latex

finished the process I got this:

Generation of the document file has failed.
Status: Rendering process died with non zero code: 1

Return to Integral


Version: unspecified
Severity: blocker

Details

Reference
bz68835

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:34 AM
bzimport added a project: Collection.
bzimport set Reference to bz68835.
  • This bug has been marked as a duplicate of bug 68929 ***

I note the page contains svg, gif and png images.

This works locally:

cananian@skiffserv:~/Wikimedia/ocg/mw-ocg-bundler$ ./bin/mw-ocg-bundler -o integral.zip Integral
cananian@skiffserv:~/Wikimedia/ocg/mw-ocg-bundler$ cd ../mw-ocg-latexer/
cananian@skiffserv:~/Wikimedia/ocg/mw-ocg-latexer$ ./bin/mw-ocg-latexer -o integral.pdf ../mw-ocg-bundler/integral.zip
Could not convert image 'tmp-13025ce3t84g.gif': File:Line-Integral.gif (File not supported.)
Could not convert image 'tmp-13025upv7rbk.gif': File:Riemann_Integration_and_Darboux_Upper_Sums.gif (File not supported.)
Could not convert image 'tmp-13025cdykyds.gif': File:Riemann_Integration_and_Darboux_Lower_Sums.gif (File not supported.)
Skipping https://en.wikipedia.org/wiki/File:Riemann_Integration_and_Darboux_Upper_Sums.gif (download/convert)
Skipping https://en.wikipedia.org/wiki/File:Riemann_Integration_and_Darboux_Lower_Sums.gif (download/convert)
Skipping https://en.wikipedia.org/wiki/File:Line-Integral.gif (download/convert)
cananian@skiffserv:~/Wikimedia/ocg/mw-ocg-latexer$ evince integral.pdf

(although see bug 70776 wrt the "gifs not supported").

So this might be a dup of bug 68929. More investigation needed.

Confirmed fixed with latest deployed renderer.