Page MenuHomePhabricator

PDF rendering fails, "process died with non zero code 1" on various articles
Closed, DuplicatePublic

Description

Downloading the article "Finanztransaktionssteuer" on dewiki as a PDF file fails. The process stays at 0,00% with status "Fetching wiki configuration (Wikiseite: //de.wikipedia.org/w)". Reloading the page prompts an error message: "Rendering process died with non zero code: 1"

Not sure how this is related to bug 71993.

Steps to reproduce

  1. Go to https://de.wikipedia.org/wiki/Finanztransaktionssteuer
  2. Click "Als PDF herunterladen"/"Download as PDF"

(Originally reported by another user via email, confirmed by me.)


Version: unspecified
Severity: normal

Details

Reference
bz72002

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:50 AM
bzimport added a project: OCG-PDF-renderer.
bzimport set Reference to bz72002.
bzimport added a subscriber: Unknown Object (MLST).

It does not stay at 0% anymore (bug 71993 has been tackled) but still ends up with "Rendering process died with non zero code: 1"

While I've seen many articles where PDF creation worked fine, here's another one where it fails with the same error message:

https://de.wikipedia.org/wiki/Russland

(also reported via email and confirmed by me)

Another example: https://meta.wikimedia.org/wiki/Wikimedia_Foundation_Report,_July_2014

Error message (no percentage shown):

"Generation of the document file has failed.
Status: Rendering process died with non zero code: 1"

These bugs on different pages probably don't have a common cause, but we'll leave them lumped together for now.

The same happens with w:de:Liste von Gedenk- und Aktionstagen:

"Rendering failed

Generation of the document file has failed.

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

Aklapper renamed this task from PDF rendering fails, "process died with non zero code 1" to PDF rendering fails, "process died with non zero code 1" on various articles.Apr 29 2015, 8:18 AM
Aklapper set Security to None.

There are a number of threads on Phab for this fault

The problem is also reported about 2 or 3 times a week on the Wikipedia Helpdesk, I think the fact the problem is split over a dozen Phab threads is also diluting the importance of it.

I think having one central thread would help collate occurrences and be a central point for reporting new articles with the problem, would help find a solution quicker.

Latest occurrence is trying to create a book using https://en.wikipedia.org/wiki/JavaScript
A Helpdesk user reported that it failed with "Rendering process died with non zero code: 1"

From IRC:
<User 1>I keep getting this error when rendering a PDF ...Progress: 36.67% Status: Creating attribution page (wiki page: enwiki: [Parsoid])...it gets stuck with this message
<Me> What is the "fail-message" if any?
<User 1> the message was something like ...bundle failed code 1??
<User 1> message was (just clicked back to wait I searched on) ...Bundling process died with non zero code: 1


Given this, I'm tagging Parsoid, I may be dead-wrong. (perhaps related to T91173, I have no idea.)

I am not sure this is directly related to Parsoid. @cscott will have to look into the OCG bigs when he has more time (given that we are juggling a lot of things with a small team).