Last modified: 2011-07-21 12:08:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31973, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29973 - Render server error on zim output
Render server error on zim output
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-20 04:34 UTC by Tomasz Finc
Modified: 2011-07-21 12:08 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tomasz Finc 2011-07-20 04:34:54 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links