Hi.
Everything  works fine with my installation of mwlib, but when i'm trying 
to export certain pages to pdf i get the following error.

RuntimeError: command failed with returncode 256: ['mw-render', '-w', 'rl', 
> '-c', '/root/cache/f6/f61fff3f24fa3cd1/collection.zip', '-o', 
> '/root/cache/f6/f61fff3f24fa3cd1/output.rl', '--status', 
> 'qserve://localhost:14311/f61fff3f24fa3cd1:render-rl', 
> '--template-blacklist', 'MediaWiki:PDF Template Blacklist', 
> '--template-exclusion-category', 
> u'\u0418\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438\u0437 
> \u043f\u0435\u0447\u0430\u0442\u0438', '--print-template-prefix', 
> u'\u041f\u0435\u0447\u0430\u0442\u044c', '--print-template-pattern', 
> u'$1/\u041f\u0435\u0447\u0430\u0442\u044c', '--username', 'admin', 
> '--password', '{OMITTED}', '--language', 'ru'] Last Output: 
> 2013-01-16T17:37:09 mwlib.options.warn >> Both --print-template-pattern and 
> --print-template-prefix (deprecated) specified. Using 
> --print-template-pattern only. MISSING FONTS: 'AR PL UMing 
> HK','Nazli','UnBatang','Arundina Serif','Lohit 
> Telugu','Sarai','Gujarati','Lohit Punjabi','Lohit 
> Oriya','AnjaliOldLipi','Kedage','LikhanNormal','Lohit Tamil','Khmer' 1% 
> reading /tmp/tmp-mw-rendervsF2zW/tmpyRy1xu/revisions-1.txt set locale to 
> 'ru_RU.UTF-8' based on the language 'ru' 1% laying out 2013-01-16T17:37:14 
> rlwriter.info >> rendering: 
> 'http://172.16.1.41/mediawiki/index.php?oldid=372' 1% laying out 
> FormsServer0% error FormsServerremoving 
> '/tmp/tmp-mw-rendervsF2zW/tmpyRy1xu' Traceback (most recent call last): 
> File "/usr/bin/mw-render", line 6, in <module> main() File 
> "/usr/lib64/python2.6/site-packages/mwlib/apps/render.py", line 241, in 
> main return Main()() File 
> "/usr/lib64/python2.6/site-packages/mwlib/apps/render.py", line 206, in 
> __call__ writer(env, output=tmpout, status_callback=self.status, 
> **writer_options) File 
> "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 2188, in 
> writer r.writeBook(output=output, coverimage=coverimage, 
> status_callback=status_callback) File 
> "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 480, in 
> writeBook art_elements = self.writeArticle(art) File 
> "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 811, in 
> writeArticle elements.extend(self.renderMixed(article)) File 
> "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 1090, in 
> renderMixed res = self.write(c) File 
> "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 335, in write 
> res = m(obj) File "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", 
> line 662, in writeSection elements.extend(self.renderMixed(obj)) File 
> "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 1090, in 
> renderMixed res = self.write(c) File 
> "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 335, in write 
> res = m(obj) File "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", 
> line 662, in writeSection elements.extend(self.renderMixed(obj)) File 
> "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 1090, in 
> renderMixed res = self.write(c) File 
> "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 335, in write 
> res = m(obj) File "/usr/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", 
> line 1464, in writeImageLink contributors = 
> self.imgDB.getContributors(img_node.target) File 
> "/usr/lib64/python2.6/site-packages/mwlib/nuwiki.py", line 499, in 
> getContributors users = 
> getContributorsFromInformationTemplate(page.rawtext, page.title, self) File 
> "/usr/lib64/python2.6/site-packages/mwlib/nuwiki.py", line 543, in 
> getContributorsFromInformationTemplate expander = Expander(u'', title, 
> wikidb) File "evaluate.py", line 230, in 
> mwlib.templ.evaluate.Expander.__init__ (mwlib/templ/evaluate.c:4484) 
> AttributeError: 'page' object has no attribute 'revid' in function system, 
> file /usr/bin/nslave.py, line 64 


What does this error mean?

-- 


Reply via email to