https://bugzilla.wikimedia.org/show_bug.cgi?id=21653

--- Comment #17 from Bawolff <bawolff...@gmail.com> 2012-01-12 15:20:15 UTC ---
Given everytime i try to create a pdf of something I end up with a giant error,
this is hard to test if it works now:

(For reference, error was from [[s:The_Panama_Canal_Controversy]] but i tried
several pages. And I didn't report on github because i don't have an account
there. Of course this is probably a totally separate issue from the <page>
issue):

An error occured on the render server: RuntimeError: command failed with
returncode 256: ['mw-render', '-w', 'rl', '-c',
'cache/e8/e866fe89f5be0acb/collection.zip', '-o',
'cache/e8/e866fe89f5be0acb/output.rl', '--status',
'qserve://localhost:14311/e866fe89f5be0acb: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: writer(env, output=tmpout,
status_callback=self.status, **writer_options) File
"/home/pp/local/lib/python2.6/site-packages/mwlib.rl-0.12.10-py2.6.egg/mwlib/rl/rlwriter.py",
line 2181, in writer r.writeBook(output=output, coverimage=coverimage,
status_callback=status_callback) File
"/home/pp/local/lib/python2.6/site-packages/mwlib.rl-0.12.10-py2.6.egg/mwlib/rl/rlwriter.py",
line 469, in writeBook art = self.buildArticle(item) File
"/home/pp/local/lib/python2.6/site-packages/mwlib.rl-0.12.10-py2.6.egg/mwlib/rl/rlwriter.py",
line 358, in buildArticle revision=item.revision) File
"/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.2-py2.6-linux-x86_64.egg/mwlib/nuwiki.py",
line 421, in getParsedArticle return uparser.parseString(title=title, raw=raw,
wikidb=self, lang=self.siteinfo["general"]["lang"]) File
"/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.2-py2.6-linux-x86_64.egg/mwlib/refine/uparser.py",
line 63, in parseString a = compat.parse_txt(input, title=title, wikidb=wikidb,
nshandler=nshandler, lang=lang, magicwords=magicwords, uniquifier=uniquifier,
expander=te) File
"/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.2-py2.6-linux-x86_64.egg/mwlib/refine/compat.py",
line 193, in parse_txt sub = core.parse_txt(raw, **kwargs) File
"/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.2-py2.6-linux-x86_64.egg/mwlib/refine/core.py",
line 1037, in parse_txt combined_parser(parsers)(tokens, xopts) File
"/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.2-py2.6-linux-x86_64.egg/mwlib/refine/core.py",
line 646, in __call__ p(x, xopts) File
"/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.2-py2.6-linux-x86_64.egg/mwlib/refine/core.py",
line 762, in __init__ tokens[i] = m(name, vlist, inner or u"", xopts) File
"/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.2-py2.6-linux-x86_64.egg/mwlib/refine/core.py",
line 887, in create_pages children = parse_txt(te.expandTemplates(True), File
"evaluate.py", line 295, in mwlib.templ.evaluate.Expander.expandTemplates
(mwlib/templ/evaluate.c:5932) File "evaluate.py", line 282, in
mwlib.templ.evaluate.Expander._expand (mwlib/templ/evaluate.c:5569) File
"evaluate.py", line 28, in mwlib.templ.evaluate.flatten
(mwlib/templ/evaluate.c:1103) File "evaluate.py", line 30, in
mwlib.templ.evaluate.flatten (mwlib/templ/evaluate.c:1134) File "nodes.py",
line 210, in mwlib.templ.nodes.Template.flatten (mwlib/templ/nodes.c:4619) File
"nodes.py", line 291, in mwlib.templ.nodes.Template._flatten
(mwlib/templ/nodes.c:5976) File "evaluate.py", line 28, in
mwlib.templ.evaluate.flatten (mwlib/templ/evaluate.c:1103) File "evaluate.py",
line 30, in mwlib.templ.evaluate.flatten (mwlib/templ/evaluate.c:1134) File
"nodes.py", line 210, in mwlib.templ.nodes.Template.flatten
(mwlib/templ/nodes.c:4619) File "nodes.py", line 291, in
mwlib.templ.nodes.Template._flatten (mwlib/templ/nodes.c:5976) File
"evaluate.py", line 30, in mwlib.templ.evaluate.flatten
(mwlib/templ/evaluate.c:1134) File "nodes.py", line 52, in
mwlib.templ.nodes.IfeqNode.flatten (mwlib/templ/nodes.c:1904) File
"evaluate.py", line 28, in mwlib.templ.evaluate.flatten
(mwlib/templ/evaluate.c:1103) File "evaluate.py", line 30, in
mwlib.templ.evaluate.flatten (mwlib/templ/evaluate.c:1134) File "nodes.py",
line 210, in mwlib.templ.nodes.Template.flatten (mwlib/templ/nodes.c:4619) File
"nodes.py", line 277, in mwlib.templ.nodes.Template._flatten
(mwlib/templ/nodes.c:5777) File
"/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.2-py2.6-linux-x86_64.egg/mwlib/templ/magics.py",
line 563, in __call__ res = m(args) or '' # FIXME: catch TypeErros File
"/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.2-py2.6-linux-x86_64.egg/mwlib/templ/magics.py",
line 209, in wrapper return f(self, pagename) File
"/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.2-py2.6-linux-x86_64.egg/mwlib/templ/magics.py",
line 239, in SUBPAGENAME return pagename.split('/')[-1] AttributeError:
'NoneType' object has no attribute 'split' in function system, file
/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.1-py2.6-linux-x86_64.egg/EGG-INFO/scripts/nslave.py,
line 63

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to