Page MenuHomePhabricator

Collection doesn't work at all on Indonesian (id.wikipedia): "ValueError: incomplete format in function system"
Closed, ResolvedPublic

Description

Try to make a pdf on any article, and it will generate error.


Version: unspecified
Severity: major

Details

Reference
bz32806

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:00 AM
bzimport added projects: Collection, I18n.
bzimport set Reference to bz32806.
bzimport added a subscriber: Unknown Object (MLST).

Error message:

RuntimeError: command failed with returncode 256: ['mw-render', '-w', 'rl', '-c', 'cache/fc/fc530664e8331b5f/collection.zip', '-o', 'cache/fc/fc530664e8331b5f/output.rl', '--status', 'qserve://localhost:14311/fc530664e8331b5f:render-rl', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Halaman yang tidak turut dicetak', '--print-template-prefix', 'Cetak', '--print-template-pattern', '$1/Cetak', '--language', 'id'] Last Output: 2011-12-05T15:30:28 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. 1% reading /tmp/tmpBXphQ8/revisions-1.txt 1% laying out 0% error removing '/tmp/tmpBXphQ8' Traceback (most recent call last): File "/home/pp/local/bin/mw-render", line 9, in <module> load_entry_point('mwlib==0.13.0', 'console_scripts', 'mw-render')() File "/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.0-py2.6-linux-x86_64.egg/mwlib/apps/render.py", line 211, in main return Main()() File "/home/pp/local/lib/python2.6/site-packages/mwlib-0.13.0-py2.6-linux-x86_64.egg/mwlib/apps/render.py", line 176, in call writer(env, output=tmpout, status_callback=self.status, **writer_options) File "/home/pp/local/lib/python2.6/site-packages/mwlib.rl-0.12.9-py2.6.egg/mwlib/rl/rlwriter.py", line 2184, 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.9-py2.6.egg/mwlib/rl/rlwriter.py", line 449, in writeBook self.initReportlabDoc(output) File "/home/pp/local/lib/python2.6/site-packages/mwlib.rl-0.12.9-py2.6.egg/mwlib/rl/rlwriter.py", line 392, in initReportlabDoc version = self.getVersion() File "/home/pp/local/lib/python2.6/site-packages/mwlib.rl-0.12.9-py2.6.egg/mwlib/rl/rlwriter.py", line 341, in getVersion 'version': str(_extversion.version), ValueError: incomplete format in function system, file /home/pp/local/lib/python2.6/site-packages/mwlib-0.12.17-py2.6-linux-x86_64.egg/EGG-INFO/scripts/nslave.py, line 37

So, any update on this one? Just curious, because it works on en.wp, but it didn't work on id.wp.

Going to http://id.wikipedia.org/ and clicking "Unduh versi PDF", this problem still exists.

ralf_wikimedia wrote:

and here's the rot13 encoded link:

uggcf://tvguho.pbz/crqvncerff/zjyvo.ey/pbzzvg/620nq729s92ono28447o3np9nnq16q9188r1n13n

Still not fixed. Reopened.

error dump:

Terjadi suatu kesalahan berikut pada server pengolahan: RuntimeError: command failed with returncode 256: ['mw-render', '-w', 'rl', '-c', 'cache/70/70540dfa4567648d/collection.zip', '-o', 'cache/70/70540dfa4567648d/output.rl', '--status', 'qserve://localhost:14311/70540dfa4567648d:render-rl', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Halaman yang tidak turut dicetak', '--print-template-prefix', 'Cetak', '--print-template-pattern', '$1/Cetak', '--language', 'id'] Last Output: 2013-04-05T14:46:01 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. MISSING FONTS: 'Gujarati' 1% reading /tmp/tmp-mw-renderXkhPvY/tmpCL5STK/revisions-1.txt failed to set locale for language 'id', tried ['id_ID.UTF-8', 'id_ID'] 1% laying out 0% error removing '/tmp/tmp-mw-renderXkhPvY/tmpCL5STK' Traceback (most recent call last): File "/home/pp/local/bin/mw-render", line 9, in <module> load_entry_point('mwlib==0.15.6', 'console_scripts', 'mw-render')() File "/home/pp/local/lib/python2.6/site-packages/mwlib/apps/render.py", line 241, in main return Main()() File "/home/pp/local/lib/python2.6/site-packages/mwlib/apps/render.py", line 206, in call writer(env, output=tmpout, status_callback=self.status, **writer_options) File "/home/pp/local/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 2188, in writer r.writeBook(output=output, coverimage=coverimage, status_callback=status_callback) File "/home/pp/local/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 446, in writeBook self.initReportlabDoc(output) File "/home/pp/local/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 389, in initReportlabDoc version = self.getVersion() File "/home/pp/local/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 343, in getVersion 'version': str(_extversion.version), ValueError: incomplete format in function system, file /home/pp/local/lib/python2.6/site-packages/mwlib/nslave.py, line 64