Page MenuHomePhabricator

enwiki "Switzerland" article fails to render: "LaTeX Error: Something's wrong--perhaps a missing \item."
Open, Needs TriagePublic

Description

8050756

https://en.wikipedia.org/wiki/Switzerland

"Generation of the document file has failed.

Status: Rendering process died with non zero code: 1"

Event Timeline

Krenair created this task.Jan 1 2015, 4:37 PM
Krenair renamed this task from enwiki "Switzerland" article fails to render: to enwiki "Switzerland" article fails to render.
Krenair raised the priority of this task from to Needs Triage.
Krenair updated the task description. (Show Details)
Krenair added a project: OCG-PDF-renderer.
Krenair set Security to None.
Krenair added a subscriber: Krenair.

I wonder if TimedMediaHandler is doing something weird with those missing subtitles http://www.webpagetest.org/result/150111_D9_THY/1/details/

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.97 \item{
           }\textbf{\nolinkurl{File:Symbol\_support\_vote.svg}} \emph{Source...
Output written on output.pdf (32 pages).
Transcript written on output.log.

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

** WARNING ** Failed to convert input string to UTF16...
** WARNING ** Can't begin an annotation when one is pending.
** WARNING ** Interpreting special command bann (pdf:) failed.
** WARNING ** >> at page="5" position="(102.565, 416.44)" (in PDF)
** WARNING ** >> xxx "pdf:bann<</Type/Annot/Subtype/Link/Border[0 0 0]/C[0 1 1]/A<..."
** WARNING ** >> Reading special command stopped around >><</Type/Annot/Subtype/Link/Border[0 0 0]/C[0 1 1]/A<</S/URI/...<<
** WARNING ** Tried to end an annotation without starting one!
** WARNING ** Interpreting special command eann (pdf:) failed.
** WARNING ** >> at page="5" position="(90.0324, 380.842)" (in PDF)
** WARNING ** >> xxx "pdf:eann"
** WARNING ** Invalid CMap mapping entry. (ignored)

---------------------------------------
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)
Krenair reopened this task as Open.Aug 28 2015, 5:14 AM

Krenair, do you manage to see whether we are using -interaction=nonstopmode as in the gammalatex example? It would be nice to see whether it skips some warnings and manages to output something whatever.

Krenair, do you manage to see whether we are using -interaction=nonstopmode as in the gammalatex example? It would be nice to see whether it skips some warnings and manages to output something whatever.

https://github.com/wikimedia/mediawiki-extensions-Collection-OfflineContentGenerator-latex_renderer/blob/master/lib/index.js#L2037 ?

Aklapper renamed this task from enwiki "Switzerland" article fails to render to enwiki "Switzerland" article fails to render: "LaTeX Error: Something's wrong--perhaps a missing \item.".Sep 15 2015, 10:05 AM
Nemo_bis added a comment.EditedAug 14 2016, 5:53 PM

Krenair, do you manage to see whether we are using -interaction=nonstopmode as in the gammalatex example? It would be nice to see whether it skips some warnings and manages to output something whatever.

https://github.com/wikimedia/mediawiki-extensions-Collection-OfflineContentGenerator-latex_renderer/blob/master/lib/index.js#L2037 ?

There is -halt-on-error, so in practice we are not using nonstopmode?

Change 304697 had a related patch set uploaded (by Nemo bis):
Make xelatex not stop at the first non-serious error

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

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.