Page MenuHomePhabricator

New PDF renderer: [[United States]] fails to render
Closed, ResolvedPublic

Description

Runs for a while, then shows message:

Generation of the document file has failed.

Status: Rendering process died with non zero code: 1

URL: https://en.wikipedia.org/w/index.php?title=Special:Book&bookcmd=rendering&return_to=Barack+Obama&collection_id=605df0d2cfb17424fcfdfbb479bc47e5bd8880bd&writer=rdf2latex

Maybe unrealated: Javascript error console shows:

"Storage error" load.php:161
"NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached" DOMException [NS_ERROR_DOM_QUOTA_REACHED: "Persistent storage maximum size reached"
code: 1014
nsresult: 0x805303f6
location: https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140724T181728Z:183]


Version: unspecified
Severity: blocker
URL: https://en.wikipedia.org/w/index.php?title=Special:Book&bookcmd=render_article&arttitle=United+States&oldid=622130906&writer=rdf2latex

Details

Reference
bz68854

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:36 AM
bzimport added a project: Collection.
bzimport set Reference to bz68854.

This has been fixed with today's deploy of OCG. But [[United States]] still fails to render. So I'm retitling the bug.

URL confirmed failing: Status: Rendering process died with non zero code: 1
(Note: the page contains several png, svg, jpg; but no gif. Cf. bug 68929.)

https://en.wikipedia.org/w/index.php?title=Special:Book&bookcmd=render_article&arttitle=Barack+Obama&oldid=622130906&writer=rdf2latex confirmed working

It turns out that we're not properly escaping the first argument of \hyperlink and \hypertarget. Patch in process.

Change 160489 had a related patch set uploaded by Cscott:
Properly escape HTML anchors and id attributes.

https://gerrit.wikimedia.org/r/160489

Change 160489 merged by jenkins-bot:
Properly escape HTML anchors and id attributes.

https://gerrit.wikimedia.org/r/160489

This works with the 2014-09-15 deploy.