still not working !! did you upload the commit to PediaPress ? thanks very much :)
On Thu, Oct 27, 2011 at 10:37 AM, Volker Haas <[email protected]>wrote: > This bug is now fixed in the latest git version with the following commit: > > https://github.com/pediapress/**mwlib.rl/commit/** > 4de17305cf31a1a7aaeef2ef7b950e**685b83ee1d<https://github.com/pediapress/mwlib.rl/commit/4de17305cf31a1a7aaeef2ef7b950e685b83ee1d> > > > On 01.10.2011 22:57, Muhammad Al-Syrwan wrote: > >> having this problem plz help >> >> RuntimeError: command failed with returncode 256: ['mw-render', '-w', >> u'rl', '-c', u'cache/87/87523f12268901ee/**collection.zip', '-o', >> u'cache/87/87523f12268901ee/**output.rl', '--status', >> u'qserve://localhost:14311/**87523f12268901ee:render-rl', >> '--template-blacklist', u'MediaWiki:PDF Template Blacklist', >> '--template-exclusion-**category', u'\u0627\u0633\u062a\u062b\**u0646 >> \u0641\u064a \u0627\u0644\u0637\u0628\**u0627\u0639\u0629', >> '--print-template-prefix', u'\u0637\u0628\u0627\u0639\**u0629', >> '--print-template-pattern', u'$1/\u0637\u0628\u0639', '--language', u'ar'] >> Last Output: >> 2011-10-01T20:54:53 mwlib.options.warn >> Both --print-template-pattern >> and --print-template-prefix (deprecated) specified. Using >> --print-template-pattern only. >> MISSING FONTS: 'Nazli','Khmer' >> 1% reading /tmp/tmpKReGkk/revisions-1.txt >> 1% laying out 2011-10-01T20:54:54 rlwriter.info <http://rlwriter.info> >> >> rendering: >> u'http://wikitechie.net/wiki/**index.php?oldid=427<http://wikitechie.net/wiki/index.php?oldid=427> >> ' >> >> 1% laying out الصفحة الرئيسية0% error الصفحة الرئيسيةremoving >> '/tmp/tmpKReGkk' >> Traceback (most recent call last): >> File "/home/tools/local/bin/mw-**render", line 8, in <module> >> load_entry_point('mwlib==0.12.**16', 'console_scripts', 'mw-render')() >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib-** >> 0.12.16-py2.6-linux-x86_64.**egg/mwlib/apps/render.py", line 215, in main >> return Main()() >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib-** >> 0.12.16-py2.6-linux-x86_64.**egg/mwlib/apps/render.py", line 178, in >> __call__ >> writer(env, output=tmpout, status_callback=self.status, **writer_options) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> rl-0.12.8-py2.6.egg/mwlib/rl/**rlwriter.py", line 2181, in writer >> r.writeBook(output=output, coverimage=coverimage, status_callback=status_ >> **callback) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> rl-0.12.8-py2.6.egg/mwlib/rl/**rlwriter.py", line 479, in writeBook >> art_elements = self.writeArticle(art) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> rl-0.12.8-py2.6.egg/mwlib/rl/**rlwriter.py", line 800, in writeArticle >> heading_para = Paragraph('<b>%s</b>%s' % (title, heading_anchor), >> heading_style("article")) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/**platypus/paragraph.py", >> line 805, in __init__ >> self._setup(text, style, bulletText, frags, cleanBlockQuotedText) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/**platypus/paragraph.py", >> line 820, in _setup >> style, frags, bulletTextFrags = _parser.parse(text,style) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/**platypus/paraparser.py", >> line 1047, in parse >> self.feed(text) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/lib/**xmllib.py", >> line 105, in feed >> self.goahead(0) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/lib/**xmllib.py", >> line 171, in goahead >> k = self.parse_starttag(i) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/lib/**xmllib.py", >> line 346, in parse_starttag >> self.finish_starttag(tag, attrdict) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/lib/**xmllib.py", >> line 383, in finish_starttag >> self.handle_starttag(tag, method, attrs) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/lib/**xmllib.py", >> line 417, in handle_starttag >> method(attrs) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/**platypus/paraparser.py", >> line 787, in start_para >> self._stack = [self._initial_frag(attr,_**paraAttrMap)] >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/**platypus/paraparser.py", >> line 781, in _initial_frag >> frag.fontName, frag.bold, frag.italic = ps2tt(style.fontName) >> File "/home/tools/local/lib/**python2.6/site-packages/mwlib.** >> ext-0.12.3-py2.6-linux-x86_64.**egg/mwlib/ext/reportlab/lib/**fonts.py", >> line 78, in ps2tt >> raise ValueError, "Can't map determine family/bold/italic for %s" % psfn >> ValueError: Can't map determine family/bold/italic for nazli >> in function system, file ./code/sandbox/nslave.py, line 37 >> >> notes: >> >> * my language is arabic >> * i don't use the fonts mentioned in the error (Nazli , Khmer) >> * how to request a specific font ? >> * i am using pediapress.net <http://pediapress.net> server >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "mwlib" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to mwlib+unsubscribe@** >> googlegroups.com <mwlib%[email protected]>. >> For more options, visit this group at http://groups.google.com/** >> group/mwlib?hl=en <http://groups.google.com/group/mwlib?hl=en>. >> > > -- > volker haas brainbot technologies ag > fon +49 6131 2116394 boppstraße 64 > fax +49 6131 2116392 55118 mainz > [email protected] http://www.brainbot.com/ > > -- > You received this message because you are subscribed to the Google Groups > "mwlib" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to mwlib+unsubscribe@** > googlegroups.com <mwlib%[email protected]>. > For more options, visit this group at http://groups.google.com/** > group/mwlib?hl=en <http://groups.google.com/group/mwlib?hl=en>. > > -- You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mwlib?hl=en.
