Last modified: 2013-10-08 12:13:41 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 T39868, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37868 - empty wgScriptPath make exporting to PDF fail
empty wgScriptPath make exporting to PDF fail
Status: ASSIGNED
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Normal major with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
https://github.com/pediapress/Collect...
:
: 38187 (view as bug list)
Depends on: 54950
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-23 17:01 UTC by Coiby
Modified: 2013-10-08 12:13 UTC (History)
4 users (show)

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


Attachments

Description Coiby 2012-06-23 17:01:04 UTC
The error log:
RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/b3/b33ef36ef3bb7840/collection.zip', '-m', '/b3/b33ef36ef3bb7840/metabook.json', '--status', 'qserve://localhost:14311/b33ef36ef3bb7840:makezip', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', u'\u6253\u5370\u65f6\u6392\u9664', '--print-template-prefix', u'\u6253\u5370', '--print-template-pattern', u'$1\uff0f\u6253\u5370', '--username', 'coiby', '--password', '{OMITTED}'] Last Output: 2012-06-23T23:07:32 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. 1% creating nuwiki in u'/b3/b33ef36ef3bb7840/tmpEmnFC1/nuwiki' removing tmpdir u'/b3/b33ef36ef3bb7840/tmpEmnFC1' memory used: res=11.0 virt=19.9 1% error Traceback (most recent call last): File "/usr/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.13.8', 'console_scripts', 'mw-zip')() File "/usr/lib/python2.6/site-packages/mwlib-0.13.8-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/usr/lib/python2.6/site-packages/mwlib-0.13.8-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/usr/lib/python2.6/site-packages/mwlib-0.13.8-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 152, in make_nuwiki assert x.wikiident in id2wiki, "no wikiconf for %r (%s)" % (x.wikiident, x) AssertionError: no wikiconf for None (<article {'_env': <mwlib.wiki.Environment object at 0x9fc448c>, 'content_type': u'text/x-wiki', 'title': u'\u9996\u9875', 'timestamp': u'1340295690', 'type': 'article', 'revision': u'525'}>) in function system, file /usr/lib/python2.6/site-packages/mwlib-0.13.8-py2.6-linux-i686.egg/EGG-INFO/scripts/nslave.py, line 63 in function qaddw, file /usr/lib/python2.6/site-packages/qserve-0.2.7-py2.6.egg/qs/slave.py, line 66
Comment 1 Marcin Cieślak 2012-06-23 18:47:43 UTC
Also reported in https://github.com/pediapress/Collection/issues/1 with a workaround
Comment 2 Marcin Cieślak 2012-06-23 18:48:02 UTC
Many reports
Comment 3 Coiby 2012-06-24 01:15:01 UTC
Thanks! This workaround is nice.
> Also reported in https://github.com/pediapress/Collection/issues/1 with a
> workaround
Comment 5 Gerrit Notification Bot 2013-10-02 23:56:36 UTC
Change 87293 had a related patch set uploaded by Bpetty:
Fix doc generation for use with root MediaWiki configs and short URLs.

https://gerrit.wikimedia.org/r/87293
Comment 6 Marcin Cieślak 2013-10-03 22:47:10 UTC
I think that the real bug is caused by r103208 which changed wfExpandUrl not to expand "".
Comment 7 Andre Klapper 2013-10-08 12:13:41 UTC
*** Bug 38187 has been marked as a duplicate of this bug. ***

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


Navigation
Links