Page MenuHomePhabricator

PDF export extension (render server) RuntimeError
Closed, ResolvedPublic

Description

Author: simon

Description:
Using the Download PDF link from http://en.wikipedia.org/wiki/Book:Michael_Jackson the system errors before completion with the error message below.

Might be similar to bug 30447 (which is marked as fixed) but has a different return code.

(For the avoidance of doubt in the historical record, I'm testing out a report made on the English wikipedia VP/T ... honest)

An error occured on the render server: RuntimeError: command failed with returncode 9: ['mw-render', '-w', 'rl', '-c', 'cache/48/4800eaaaa2d3b6af/collection.zip', '-o', 'cache/48/4800eaaaa2d3b6af/output.rl', '--status', 'qserve://localhost:14311/4800eaaaa2d3b6af:render-rl', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Exclude in print', '--print-template-prefix', 'Print', '--print-template-pattern', '$1/Print', '--language', 'en'] Last Output: 8% laying out "Black or White"2011-08-22T20:13:30 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=445173320' 79.1648351648% laying out "Remember the Time"79.1648351648% laying out "Remember the Time"2011-08-22T20:13:32 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=445173320' 79.1648351648% laying out "Remember the Time"79.1648351648% laying out "Remember the Time"2011-08-22T20:13:34 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444726830' 79.1648351648% laying out "In the Closet"79.1648351648% laying out "In the Closet"2011-08-22T20:13:35 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444726830' 79.1648351648% laying out "In the Closet"79.1648351648% laying out "In the Closet"2011-08-22T20:13:37 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446113565' 79.1648351648% laying out "Jam"79.1648351648% laying out "Jam"2011-08-22T20:13:38 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446113565' 79.1648351648% laying out "Jam"79.1648351648% laying out "Jam"2011-08-22T20:13:39 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444833686' 79.1648351648% laying out "Who Is It"79.1648351648% laying out "Who Is It"2011-08-22T20:13:40 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444833686' 79.1648351648% laying out "Who Is It"79.1648351648% laying out "Who Is It"2011-08-22T20:13:43 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444752539' 79.1648351648% laying out "Heal the World"79.1648351648% laying out "Heal the World"2011-08-22T20:13:44 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444752539' 79.1648351648% laying out "Heal the World"79.1648351648% laying out "Heal the World"2011-08-22T20:13:45 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444855398' 79.1648351648% laying out "Give In to Me"79.1648351648% laying out "Give In to Me"2011-08-22T20:13:46 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444855398' 79.1648351648% laying out "Give In to Me"79.1648351648% laying out "Give In to Me"2011-08-22T20:13:48 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444833574' 79.1648351648% laying out "Will You Be There"79.1648351648% laying out "Will You Be There"2011-08-22T20:13:49 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444833574' 79.1648351648% laying out "Will You Be There"79.1648351648% laying out "Will You Be There"2011-08-22T20:13:51 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444999506' 79.1648351648% laying out "Gone Too Soon"79.1648351648% laying out "Gone Too Soon"2011-08-22T20:13:52 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444999506' 79.1648351648% laying out "Gone Too Soon"79.1648351648% laying out "Gone Too Soon"2011-08-22T20:13:56 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444600753' 79.1648351648% laying out "Scream/Childhood"79.1648351648% laying out "Scream/Childhood"2011-08-22T20:13:58 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444600753' 79.1648351648% laying out "Scream/Childhood"79.1648351648% laying out "Scream/Childhood"2011-08-22T20:14:02 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444829243' 79.1648351648% laying out "You Are Not Alone"79.1648351648% laying out "You Are Not Alone"2011-08-22T20:14:04 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444829243' 79.1648351648% laying out "You Are Not Alone"79.1648351648% laying out "You Are Not Alone"2011-08-22T20:14:08 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446176681' 79.1648351648% laying out "Earth Song"79.1648351648% laying out "Earth Song"2011-08-22T20:14:09 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446176681' 79.1648351648% laying out "Earth Song"79.1648351648% laying out "Earth Song" in function system, file /home/pp/local/lib/python2.6/site-packages/mwlib-0.12.14-py2.6-linux-x86_64.egg/EGG-INFO/scripts/nslave.py, line 37


Version: unspecified
Severity: major

Details

Reference
bz30515

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:50 PM
bzimport added a project: Collection.
bzimport set Reference to bz30515.
bzimport added a subscriber: Unknown Object (MLST).

this error is in the Collation extension and not in the BookManager as has been marked

volker.haas wrote:

fixed with https://github.com/pediapress/mwlib.rl/commit/7073ef453d5088c17b77dd5fff3b2ca874298470

Please note: Basically I fixed a bug in the error handling. Therefore there still is (at least) one table in the PDF that can't be rendered properly and is output as plain text. I wasn't able to find the table - whoever spots it please let me know in which article the problem occurs.

I am closing this since the collection should now render.

simon wrote:

Sadly, tried it just now; same errorcode:

An error occured on the render server: RuntimeError: command failed with returncode 9: ['mw-render', '-w', 'rl', '-c', 'cache/a3/a3b456791304cdc6/collection.zip', '-o', 'cache/a3/a3b456791304cdc6/output.rl', '--status', 'qserve://localhost:14311/a3b456791304cdc6:render-rl', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Exclude in print', '--print-template-prefix', 'Print', '--print-template-pattern', '$1/Print', '--language', 'en'] Last Output: w/index.php?oldid=444725949' 79.1754147403% laying out "I Just Can't Stop Loving You"79.1754147403% laying out "I Just Can't Stop Loving You"2011-08-24T13:17:35 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444725949' 79.1754147403% laying out "I Just Can't Stop Loving You"79.1754147403% laying out "I Just Can't Stop Loving You"2011-08-24T13:17:37 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446099430' 79.1754147403% laying out "Bad"79.1754147403% laying out "Bad"2011-08-24T13:17:38 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446099430' 79.1754147403% laying out "Bad"79.1754147403% laying out "Bad"2011-08-24T13:17:42 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444725901' 79.1754147403% laying out "The Way You Make Me Feel"79.1754147403% laying out "The Way You Make Me Feel"2011-08-24T13:17:43 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444725901' 79.1754147403% laying out "The Way You Make Me Feel"79.1754147403% laying out "The Way You Make Me Feel"2011-08-24T13:17:46 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444725883' 79.1754147403% laying out "Man in the Mirror"79.1754147403% laying out "Man in the Mirror"2011-08-24T13:17:47 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444725883' 79.1754147403% laying out "Man in the Mirror"79.1754147403% laying out "Man in the Mirror"2011-08-24T13:17:49 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444727030' 79.1754147403% laying out "Dirty Diana"79.1754147403% laying out "Dirty Diana"2011-08-24T13:17:50 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444727030' 79.1754147403% laying out "Dirty Diana"79.1754147403% laying out "Dirty Diana"2011-08-24T13:17:53 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446417751' 79.1754147403% laying out "Another Part of Me"79.1754147403% laying out "Another Part of Me"2011-08-24T13:17:53 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446417751' 79.1754147403% laying out "Another Part of Me"79.1754147403% laying out "Another Part of Me"2011-08-24T13:17:54 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=445858460' 79.1754147403% laying out "Smooth Criminal"79.1754147403% laying out "Smooth Criminal"2011-08-24T13:17:56 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=445858460' 79.1754147403% laying out "Smooth Criminal"79.1754147403% laying out "Smooth Criminal"2011-08-24T13:17:59 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446282287' 79.1754147403% laying out "Leave Me Alone"79.1754147403% laying out "Leave Me Alone"2011-08-24T13:18:00 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446282287' 79.1754147403% laying out "Leave Me Alone"79.1754147403% laying out "Leave Me Alone"2011-08-24T13:18:01 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444725800' 79.1754147403% laying out "Liberian Girl"79.1754147403% laying out "Liberian Girl"2011-08-24T13:18:03 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=444725800' 79.1754147403% laying out "Liberian Girl"79.1754147403% laying out "Liberian Girl"2011-08-24T13:18:04 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=445648029' 79.1754147403% laying out "Speed Demon"79.1754147403% laying out "Speed Demon"2011-08-24T13:18:04 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=445648029' 79.1754147403% laying out "Speed Demon"79.1754147403% laying out "Speed Demon"2011-08-24T13:18:07 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446413702' 79.1754147403% laying out "Black or White"79.1754147403% laying out "Black or White"2011-08-24T13:18:09 rlwriter.info >> rendering: u'http://en.wikipedia.org/w/index.php?oldid=446413702' 79.1754147403% laying out "Black or White"79.1754147403% laying out "Black or White" in function system, file /home/pp/local/lib/python2.6/site-packages/mwlib-0.12.14-py2.6-linux-x86_64.egg/EGG-INFO/scripts/nslave.py, line 37

simon wrote:

Apologies, btw, if this is fixed in the dev environment but not rolled out to production.

volker.haas wrote:

I must apologize ;) The last "fix" unfortunately only fix one of two problems. I double checked this time and the collection should now render. I'll try to find the layout error that is still present - but as said before that is a separate issue.