Page MenuHomePhabricator

Error response to PDF creation for book
Closed, ResolvedPublic

Description

Author: zigger

Description:
Tried to create a PDF from [[User:Zigger/Books/2009 swine flu outbreak]]. First attempted book, first attempted PDF. Got a progress page, then the following error.

An error occured on the render server: traceback Traceback (most recent call last): File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.10.4-py2.5-linux-x86_64.egg/mwlib/apps.py", line 358, in render imagesize=options.imagesize, File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.10.4-py2.5-linux-x86_64.egg/mwlib/zipcreator.py", line 383, in make_zip_file z.join() File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.10.4-py2.5-linux-x86_64.egg/mwlib/zipcreator.py", line 214, in join imagedb=info['imagedb'], File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.10.4-py2.5-linux-x86_64.egg/mwlib/zipcreator.py", line 142, in parseArticle wikidb=recorddb, File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.10.4-py2.5-linux-x86_64.egg/mwlib/refine/uparser.py", line 28, in parseString te = expander.Expander(raw, pagename=title, wikidb=wikidb) File "evaluate.py", line 207, in mwlib.templ.evaluate.Expander.init (mwlib/templ/evaluate.c:3404) File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.10.4-py2.5-linux-x86_64.egg/mwlib/templ/parser.py", line 295, in parse return Parser(txt, included=included, replace_tags=replace_tags).parse() File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.10.4-py2.5-linux-x86_64.egg/mwlib/templ/parser.py", line 271, in parse self.tokens = tokenize(self.txt, included=self.included, replace_tags=self.replace_tags) File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.10.4-py2.5-linux-x86_64.egg/mwlib/templ/scanner.py", line 39, in tokenize txt = pp.remove_comments(txt) File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.10.4-py2.5-linux-x86_64.egg/mwlib/templ/pp.py", line 27, in remove_comments return commentrx.sub(repl, txt) MemoryError


Version: unspecified
Severity: major
URL: http://en.wikipedia.org/w/index.php?title=User:Zigger/Books/2009_swine_flu_outbreak&oldid=288223068

Details

Reference
bz18693

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:32 PM
bzimport added a project: Collection.
bzimport set Reference to bz18693.

zigger wrote:

From error page request:
GET /wiki/Special:Book/rendering/?return_to=User%3AZigger%2FBooks%2F2009+swine+flu+outbreak&collection_id=7460bdcff965fd74&writer=rl HTTP/1.1

From error page response headers:
Date: Wed, 06 May 2009 07:22:27 GMT

From error page source:
Served by srv209

development wrote:

This particular collection now be rendered, because the memory limit on the render server has been raised, so I'll close this ticket. We try to reduce the amount of used memory in the PDF generation code though.

Thanks for the report!

  • Johannes