Page MenuHomePhabricator

When exporting to Linear Algebra book to PDF, I get an error
Closed, ResolvedPublic

Description

Author: ta.bu.shi.da.yu

Description:
When I visit the following URL http://en.wikibooks.org/w/index.php?title=Special:Collection/render_collection/&colltitle=Wikibooks:Collections/Linear_Algebra , I eventually get the following error:

An error occured on the render server: RuntimeError: command failed with returncode 9: ['mw-render', '-w', 'rl', '-c', 'cache/e7/e76998e81bd718d8/collection.zip', '-o', 'cache/e7/e76998e81bd718d8/output.rl', '--status', 'qserve://localhost:14311/e76998e81bd718d8: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:

r.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807414'
16.2577319588% laying out Linear Algebra/Topic: Speed of Gauss' Method17.0206185567% laying out Linear Algebra/Topic: Speed of Gauss' Method2011-01-24T21:07:03 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1970965'
17.0206185567% laying out Linear Algebra/Vector Spaces17.7835051546% laying out Linear Algebra/Vector Spaces2011-01-24T21:07:05 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807428'
17.7835051546% laying out Linear Algebra/Definition of Vector Space18.5463917526% laying out Linear Algebra/Definition of Vector Space2011-01-24T21:07:06 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=2017710'
18.5463917526% laying out Linear Algebra/Definition and Examples of Vector Spaces19.3092783505% laying out Linear Algebra/Definition and Examples of Vector Spaces2011-01-24T21:08:06 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807430'
19.3092783505% laying out Linear Algebra/Subspaces and Spanning sets20.0721649485% laying out Linear Algebra/Subspaces and Spanning sets2011-01-24T21:09:10 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807431'
20.0721649485% laying out Linear Algebra/Linear Independence20.8350515464% laying out Linear Algebra/Linear Independence2011-01-24T21:09:13 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807432'
20.8350515464% laying out Linear Algebra/Definition and Examples of Linear Independence21.5979381443% laying out Linear Algebra/Definition and Examples of Linear Independence2011-01-24T21:10:18 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807434'
21.5979381443% laying out Linear Algebra/Basis and Dimension22.3608247423% laying out Linear Algebra/Basis and Dimension2011-01-24T21:10:18 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807435'
22.3608247423% laying out Linear Algebra/Basis23.1237113402% laying out Linear Algebra/Basis2011-01-24T21:10:56 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807436'
23.1237113402% laying out Linear Algebra/Dimension23.8865979381% laying out Linear Algebra/Dimension2011-01-24T21:11:42 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807437'
23.8865979381% laying out Linear Algebra/Vector Spaces and Linear Systems24.6494845361% laying out Linear Algebra/Vector Spaces and Linear Systems2011-01-24T21:12:13 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807438'
24.6494845361% laying out Linear Algebra/Combining Subspaces25.412371134% laying out Linear Algebra/Combining Subspaces2011-01-24T21:13:30 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807440'
25.412371134% laying out Linear Algebra/Topic: Fields26.175257732% laying out Linear Algebra/Topic: Fields2011-01-24T21:13:42 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1886003'
26.175257732% laying out Linear Algebra/Topic: Crystals26.9381443299% laying out Linear Algebra/Topic: Crystals2011-01-24T21:13:45 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1951568'
26.9381443299% laying out Linear Algebra/Topic: Voting Paradoxes2011-01-24T21:13:57 rlwriter.info >> scaling down text in wide table by factor of 0.82
27.7010309278% laying out Linear Algebra/Topic: Voting Paradoxes2011-01-24T21:14:09 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807444'
27.7010309278% laying out Linear Algebra/Topic: Dimensional Analysis28.4639175258% laying out Linear Algebra/Topic: Dimensional Analysis2011-01-24T21:14:58 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807526'
28.4639175258% laying out Linear Algebra/Isomorphisms29.2268041237% laying out Linear Algebra/Isomorphisms2011-01-24T21:14:58 rlwriter.info >> rendering: u'http://en.wikibooks.org/w/index.php?oldid=1807527'
29.2268041237% laying out Linear Algebra/Definition and Examples of Isomorphisms 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: enhancement
URL: http://en.wikibooks.org/w/index.php?title=Special:Collection/render_collection/&colltitle=Wikibooks:Collections/Linear_Algebra

Details

Reference
bz26912

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:22 PM
bzimport added a project: Collection.
bzimport set Reference to bz26912.

volker.haas wrote:

Rendering of the above article collection fails since it takes too long. Currently there is a timeout of around 30 minutes after which render jobs are killed. Try splitting the collection into smaller chunks.

Unfortunately the timeout can't be increased since this increases the load on the servers too much.

  • Volker

ta.bu.shi.da.yu wrote:

This didn't go for 30 minutes, it lasted about 30 seconds...

Also, if that is the case - the servers should give a more descriptive error message.

(In reply to comment #3)

Also, if that is the case - the servers should give a more descriptive error
message.

Agreed. I've seen people complain about this *exact* same error before, and the stack trace is less than useful.

FWIW, I don't think WONTFIX is the correct answer here, but I don't know Collection so it's not my call.

ta.bu.shi.da.yu wrote:

Just a note about the error - the formatting looks fine in this bug, but because it is just spat out without any HTML formatting it all runs on to one line. At *least* put some <br/> tags after the end of the line, please!

volker.haas wrote:

The collection can now be rendered to PDF. Rendering of math formulas now uses caching which speeds up rendering of the orignal collection almost tenfold.

I agree that the error message is not helpful. Fixing this is currently not planed though.

ta.bu.shi.da.yu wrote:

Thanks Volker, much appreciated :-)