Page MenuHomePhabricator

de.source pages with hundreds {{SeitePR}}/{{PoemPR}} don't render/fatal
Closed, DeclinedPublic

Description

Göttliche Komödie (Streckfuß 1876).pdf

Originally filed at http://web.archive.org/web/20111004142933/http://code.pediapress.com/wiki/ticket/810 "bad performance of treecleaner"

http://de.wikisource.org/wiki/G%C3%B6ttliche_Kom%C3%B6die_%28Streckfu%C3%9F_1876%29
http://de.wikisource.org/wiki/Faust_-_Der_Trag%C3%B6die_erster_Teil

The problem seems to be the fixNesting method which tries to move definition lists out of paragraphs. In the above article, there are thousands of definitionslists, therefore this process is way to slow. The treecleaner rewrite in the respective branch should fix this once it is ready.


It seems we now have the same performance problem with OCG/rdf2latex/new PDF rendering and the many <li> or <p> or whatever present there:

Die Erstellung der Dokumentendatei ist fehlgeschlagen. Status: Rendering process died with non zero code: 1 Zurück zu Faust - Der Tragödie erster Teil

from the page:

No content rendered (after "Druck und Verlag von Philipp Reclam jun.") in the attached PDF, from the page:


Version: unspecified
Severity: normal

Attached:

Details

Reference
bz71319

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:58 AM
bzimport added a project: OCG-PDF-renderer.
bzimport set Reference to bz71319.
bzimport added a subscriber: Unknown Object (MLST).
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript

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.

Aklapper removed a project: Internet-Archive.

Going to https://de.wikisource.org/wiki/Faust_-_Der_Trag%C3%B6die_erster_Teil and clicking "Download as PDF", it successfully creates a PDF file with 235 pages nowadays that we use Proton and Electron-PDFs on Wikimedia servers, instead of OCG.
Not sure how to test http://de.wikisource.org/wiki/G%C3%B6ttliche_Kom%C3%B6die_%28Streckfu%C3%9F_1876%29 as that only has five pages.

If there is still an issue with currently available PDF export on Wikimedia servers, then please file a new ticket with updated information and steps to reproduce. Thanks!