Last modified: 2013-05-14 17:13:37 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 T34806, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32806 - Collection doesn't work at all on Indonesian (id.wikipedia): "ValueError: incomplete format in function system"
Collection doesn't work at all on Indonesian (id.wikipedia): "ValueError: inc...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: High major with 10 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-05 15:18 UTC by bennylin
Modified: 2013-05-14 17:13 UTC (History)
6 users (show)

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


Attachments

Description bennylin 2011-12-05 15:18:10 UTC
Try to make a pdf on any article, and it will generate error.
Comment 1 bennylin 2011-12-05 15:31:08 UTC
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
Comment 3 bennylin 2012-08-17 09:23:11 UTC
So, any update on this one? Just curious, because it works on en.wp, but it didn't work on id.wp.
Comment 4 Andre Klapper 2012-11-19 15:15:01 UTC
Going to http://id.wikipedia.org/ and clicking "Unduh versi PDF", this problem still exists.
Comment 5 Ralf Schmitt 2012-11-20 08:21:42 UTC
that's fixed with https://github.com/pediapress/mwlib.rl/commit/620ad729f92bab28447b3ac9aad16d9188e1a13a

still needs to be deployed though...
Comment 6 Ralf Schmitt 2012-11-20 08:23:05 UTC
and here's the rot13 encoded link:

uggcf://tvguho.pbz/crqvncerff/zjyvo.ey/pbzzvg/620nq729s92ono28447o3np9nnq16q9188r1n13n
Comment 7 bennylin 2013-04-05 14:47:01 UTC
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
Comment 8 bennylin 2013-05-14 17:13:37 UTC
As of today, it's fixed.

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


Navigation
Links