https://bugzilla.wikimedia.org/show_bug.cgi?id=29973
Web browser: --- Bug #: 29973 Summary: Render server error on zim output Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: normal Priority: Unprioritized Component: Collection AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: tf...@wikimedia.org CC: developm...@pediapress.com Classification: Unclassified When trying to generate the zim file for http://en.wikipedia.org/wiki/Book:Nobel_Peace_Prize i get the following. An error occured on the render server: RuntimeError: command failed with returncode 256: ['mw-render', '-w', 'zim', '-c', 'cache/f3/f39a5cb74094ca71/collection.zip', '-o', 'cache/f3/f39a5cb74094ca71/output.zim', '--status', 'qserve://localhost:14311/f39a5cb74094ca71:render-zim', '--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: 2011-07-20T04:27:31 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. 1% reading /tmp/tmpHhjGCz/revisions-1.txt 0% generating zimfile STARTING image not found http://bits.wikimedia.org/skins-1.17/common/images/magnify-clip.png /home/pp/local/lib/python2.6/urllib.py:1222: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal res = map(safe_map.__getitem__, s) 0% error removing '/tmp/tmpHhjGCz' Traceback (most recent call last): File "/home/pp/local/bin/mw-render", line 9, in <module> load_entry_point('mwlib==0.12.14', 'console_scripts', 'mw-render')() File "/home/pp/local/lib/python2.6/site-packages/mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/apps/render.py", line 214, in main return Main()() File "/home/pp/local/lib/python2.6/site-packages/mwlib-0.12.14-py2.6-linux-x86_64.egg/mwlib/apps/render.py", line 177, in __call__ writer(env, output=tmpout, status_callback=self.status, **writer_options) File "/home/pp/local/lib/python2.6/site-packages/mwlib.zim-0.1.0-py2.6.egg/mwlib/zim/zimwriter.py", line 219, in writer src = ZIPArticleSource(env, status_callback) File "/home/pp/local/lib/python2.6/site-packages/mwlib.zim-0.1.0-py2.6.egg/mwlib/zim/zimwriter.py", line 44, in __init__ self.coll = coll_from_zip(self.tmpdir, zipfn) File "/home/pp/local/lib/python2.6/site-packages/mwlib.zim-0.1.0-py2.6.egg/mwlib/zim/collection.py", line 293, in coll_from_zip wp.canonical_url = urlparse.urljoin(item._env.wiki.siteinfo['general']['base'], urllib2.quote(title.replace(' ', '_'))) File "/home/pp/local/lib/python2.6/urllib.py", line 1222, in quote res = map(safe_map.__getitem__, s) KeyError: u'\xe9' 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 I've verified that this happens on other collections as well. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. 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