Page MenuHomePhabricator

Book:Compiler_construction fails PDF: LaTeX Error: Too deeply nested.
Closed, DeclinedPublic

Description

I consistently get the following error when trying to generate a PDF for https://en.wikipedia.org/wiki/Book:Compiler_construction

Generation of the document file has failed.

Status: Rendering process died with non zero code: 1

For reference, here's the link used to trigger the rendering:
https://en.wikipedia.org/w/index.php?title=Special:Book&bookcmd=rendering&return_to=Book%3ACompiler+construction&collection_id=56195b07e09a2dcf87cc6c890edf37c01e6f1921&writer=rdf2latex&is_cached=1

Of course the ideal would be for this to succeed, but if it's a problem with the content itself it would be good to have more specific messaging, so that the content could be edited to resolve it.

I don't currently see any option for rendering in any other format, so I can't tell of the problem is PDF-specific or more general.

Event Timeline

Jtron2000 raised the priority of this task from to Needs Triage.
Jtron2000 updated the task description. (Show Details)
Jtron2000 added a project: Collection.
Jtron2000 subscribed.
Krenair set Security to None.
Krenair subscribed.

Admittedly my version of OCG is quite out of date at this point, but:

alex@alex-laptop:~/Development/MediaWiki/extensions/Collection (T38021)$ ./mw-ocg-bundler/bin/mw-ocg-bundler -v -o bundle.zip --prefix enwiki -c "Book:Compiler_construction"
[...]
alex@alex-laptop:~/Development/MediaWiki/extensions/Collection (T38021)$ ./mw-ocg-latexer/bin/mw-ocg-latexer -v -D -o T108526.pdf bundle.zip
[...]
! LaTeX Error: Too deeply nested.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.165 \item
           {}\emph{Let }
Output written on output.pdf (86 pages).
Transcript written on output.log.

---------------------------------------

---------------------------------------
Error: Latex Error! Check your latex string
    at /home/alex/Development/MediaWiki/extensions/Collection/mw-ocg-latexer/node_modules/gammalatex/app.js:72:12
    at CB (/home/alex/Development/MediaWiki/extensions/Collection/mw-ocg-latexer/node_modules/gammalatex/node_modules/rimraf/rimraf.js:68:5)
    at Object.oncomplete (fs.js:107:15)
Nemo_bis renamed this task from Rendering failure generating PDF for book (Rendering process died with non zero code: 1) to Book:Compiler_construction fails PDF: LaTeX Error: Too deeply nested. .Jan 29 2016, 3:06 PM

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on mediawiki.org.

Declining this task as "The Wikimedia Foundation's book rendering service has been withdrawn", plus OCG has been dead for years and superseded by Proton and Electron-PDFs on Wikimedia servers.
If there is still an issue with currently available functionality on Wikimedia servers, then please file a new ticket with updated information and steps to reproduce. Thanks!