Last modified: 2013-04-27 18:21:56 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 T48946, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46946 - Render server error for specific ZIM or PDF file
Render server error for specific ZIM or PDF file
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: High critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 47723
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-06 12:50 UTC by Kelson [Emmanuel Engelhart]
Modified: 2013-04-27 18:21 UTC (History)
4 users (show)

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


Attachments

Description Kelson [Emmanuel Engelhart] 2013-04-06 12:50:13 UTC
Wanted to render
http://en.wikipedia.org/wiki/User:Kelson/Books/Sovereign_states

I have tried 3 times but it crashes each time with this error message:
An error occurred on the render server: RuntimeError: RuntimeError: command failed with returncode 9: ['mw-zip', '-o', 'cache/37/37ac36ce175f47e3/collection.zip', '-m', 'cache/37/37ac36ce175f47e3/metabook.json', '--status', 'qserve://localhost:14311/37ac36ce175f47e3:makezip', '--config', 'http://en.wikipedia.org/w', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Exclude in print', '--print-template-prefix', 'Print', '--print-template-pattern', '$1/Print'] Last Output: 2013-04-06T12:38:24 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. 1% creating nuwiki in u'cache/37/37ac36ce175f47e3/tmpPIxh63/nuwiki' /home/pp/local/lib/python2.6/site-packages/mwlib/metabook.py:225: DeprecationWarning: deprecated call get('mw_license_url') if l.get('mw_license_url'): /home/pp/local/lib/python2.6/site-packages/mwlib/metabook.py:240: DeprecationWarning: deprecated call get('mw_rights_text') if l.get('mw_rights_text'): /home/pp/local/lib/python2.6/site-packages/mwlib/metabook.py:241: DeprecationWarning: deprecated __getitem__ ['mw_rights_text'] wikitext = l['mw_rights_text'] /home/pp/local/lib/python2.6/site-packages/mwlib/metabook.py:242: DeprecationWarning: deprecated call get('mw_rights_page') if l.get('mw_rights_page'): /home/pp/local/lib/python2.6/site-packages/mwlib/metabook.py:244: DeprecationWarning: deprecated call get('mw_rights_url') if l.get('mw_rights_url'): /home/pp/local/lib/python2.6/site-packages/mwlib/metabook.py:245: DeprecationWarning: deprecated __getitem__ ['mw_rights_url'] wikitext += '\n\n' + l['mw_rights_url'] /home/pp/local/lib/python2.6/site-packages/mwlib/metabook.py:250: DeprecationWarning: deprecated call get('name') retval.append(license(title=l.get('name', u'License'), in function system, file /home/pp/local/lib/python2.6/site-packages/mwlib/nslave.py, line 64 in function qaddw, file /home/pp/local/lib/python2.6/site-packages/qs/slave.py, line 66
Comment 1 Andre Klapper 2013-04-08 10:29:00 UTC
Going to http://en.wikipedia.org/w/index.php?title=Special:Book&bookcmd=render_collection&colltitle=User:Kelson/Books/Sovereign_states&writer=zim
it hangs at 78.44% for a long time but in the end I get the same error.
Also happens for PDF output.

Does this also happen with other files?
Comment 2 Andre Klapper 2013-04-23 17:41:29 UTC
Does this also happen with other files?
Comment 3 Kelson [Emmanuel Engelhart] 2013-04-23 19:47:49 UTC
I don't have tried. But probably... or I'm really unlucky.
Comment 4 Volker Haas 2013-04-26 09:12:36 UTC
The problem with the collection is it's size (and the type of articles contained). Rendering the collection is aborted due to a time-out (10 or 15 minutes I believe).
You get the time out b/c:
* the collections contains a lot of large articles
* the individual articles probably have a large edit history which slows down the fetching immensely (since the complete edit history needs to be fetched to display all contributing authors)

The only solutions is to split the collection into parts.
Comment 5 Kelson [Emmanuel Engelhart] 2013-04-27 18:21:56 UTC
OK, but then, is that possible to handle this exception properly? IMO, this is pretty bad to have such an application crashing in that way.

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


Navigation
Links