Page MenuHomePhabricator

Cannot generate PDF for enwiki's "User:Dhaewood/Books/GNS103_NEW"
Open, Needs TriagePublic

Description

Reported in 8162159

alex@alex-laptop:~/Development/MediaWiki/extensions/Collection ((7e672d3...))$ ./mw-ocg-bundler/bin/mw-ocg-bundler -v -o bundle.zip --prefix enwiki -c "User:Dhaewood/Books/GNS103_NEW"
[...]
alex@alex-laptop:~/Development/MediaWiki/extensions/Collection ((7e672d3...))$ ./mw-ocg-latexer/bin/mw-ocg-latexer -v -D -o 8162159.pdf bundle.zip
[...]
! 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.51 \item[\hypertarget{cite_note-1}{{[}1{]}}]
                                              {}\textbf{\href{http://news.ha...
Output written on output.pdf (269 pages).
Transcript written on output.log.

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

** WARNING ** Can't begin an annotation when one is pending.
** WARNING ** Interpreting special command bann (pdf:) failed.
** WARNING ** >> at page="12" position="(174.117, 387.038)" (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="12" position="(100.095, 344.976)" (in PDF)
** WARNING ** >> xxx "pdf:eann"
** WARNING ** Can't begin an annotation when one is pending.
** WARNING ** Interpreting special command bann (pdf:) failed.
** WARNING ** >> at page="56" position="(338.435, 624.3)" (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="56" position="(389.822, 567.23)" (in PDF)
** WARNING ** >> xxx "pdf:eann"
** WARNING ** Can't begin an annotation when one is pending.
** WARNING ** Interpreting special command bann (pdf:) failed.
** WARNING ** >> at page="94" position="(80.1183, 410.521)" (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="94" position="(88.6575, 375.86)" (in PDF)
** WARNING ** >> xxx "pdf:eann"
libpng warning: Ignoring incorrect cHRM value when sRGB is also present
wx=0.345750, wy=0.358550, rx=0.648500, ry=0.330880
gx=0.321210, gy=0.597870, bx=0.155890, by=0.066040
libpng warning: Ignoring incorrect cHRM value when sRGB is also present
wx=0.345750, wy=0.358550, rx=0.648500, ry=0.330880
gx=0.321210, gy=0.597870, bx=0.155890, by=0.066040
libpng warning: Ignoring incorrect cHRM value when sRGB is also present
[...]
** 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)

Event Timeline

Krenair created this task.Mar 1 2015, 2:06 PM
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 added a subscriber: Krenair.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 1 2015, 2:06 PM
Krenair updated the task description. (Show Details)Mar 1 2015, 2:06 PM
Krenair set Security to None.

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.