Last modified: 2013-08-21 11:48:33 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 T54108, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52108 - PDF export returns error
PDF export returns error
Status: RESOLVED DUPLICATE of bug 47575
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
master
All All
: Highest major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-26 18:45 UTC by dictumwiki
Modified: 2013-08-21 11:48 UTC (History)
4 users (show)

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


Attachments

Description dictumwiki 2013-07-26 18:45:45 UTC
PDF export returns permanent error since a few months on pl.wikisource.org.

For example on this page: http://pl.wikisource.org/wiki/Wyspa_tajemnicza/ca%C5%82o%C5%9B%C4%87 error is:

RuntimeError: command failed with returncode 256: ['mw-render', '-w', 'rl', '-c', 'cache/30/30259bd5a747415b/collection.zip', '-o', 'cache/30/30259bd5a747415b/output.rl', '--status', 'qserve://localhost:14311/30259bd5a747415b:render-rl', '--language', 'pl'] Last Output: MISSING FONTS: 'Gujarati' 1% reading /tmp/tmp-mw-renderYlshYn/tmp7_lCRX/revisions-1.txt set locale to 'pl_PL.UTF-8' based on the language 'pl' 1% laying out 0% error removing '/tmp/tmp-mw-renderYlshYn/tmp7_lCRX' Traceback (most recent call last): File "/home/pp/local/bin/mw-render", line 9, in <module> load_entry_point('mwlib==0.15.10', '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 2191, 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 470, in writeBook art = self.buildArticle(item) File "/home/pp/local/lib/python2.6/site-packages/mwlib/rl/rlwriter.py", line 359, in buildArticle revision=item.revision) File "/home/pp/local/lib/python2.6/site-packages/mwlib/nuwiki.py", line 418, in getParsedArticle return uparser.parseString(title=title, raw=raw, wikidb=self, lang=self.siteinfo["general"]["lang"], expandTemplates=expandTemplates) File "/home/pp/local/lib/python2.6/site-packages/mwlib/refine/uparser.py", line 62, in parseString a = compat.parse_txt(input, title=title, wikidb=wikidb, nshandler=nshandler, lang=lang, magicwords=magicwords, uniquifier=uniquifier, expander=te) File "/home/pp/local/lib/python2.6/site-packages/mwlib/refine/compat.py", line 193, in parse_txt sub = core.parse_txt(raw, **kwargs) File "/home/pp/local/lib/python2.6/site-packages/mwlib/refine/core.py", line 1037, in parse_txt combined_parser(parsers)(tokens, xopts) File "/home/pp/local/lib/python2.6/site-packages/mwlib/refine/core.py", line 646, in __call__ p(x, xopts) File "/home/pp/local/lib/python2.6/site-packages/mwlib/refine/core.py", line 762, in __init__ tokens[i] = m(name, vlist, inner or u"", xopts) File "/home/pp/local/lib/python2.6/site-packages/mwlib/refine/core.py", line 879, in create_pages pages = expander.db.select(s, e) AttributeError: 'DictDB' object has no attribute 'select' in function system, file /home/pp/local/lib/python2.6/site-packages/mwlib/nslave.py, line 64
Comment 1 Andre Klapper 2013-07-29 17:45:21 UTC
dictumwiki: Thanks for taking the time to report this!

Confirming.
After clicking "Pobierz jako PDF" it gets stuck at 1.00% and throws an error.

Does this also happen with other articles? 
Wondering if there's some pattern...
Comment 2 dictumwiki 2013-07-30 07:51:18 UTC
Andre: I could not find any working article at pl.wikisource.org. Tested on old articles as well as on new articles listed at http://pl.wikisource.org/wiki/Szablon:Nowe
Comment 3 Andre Klapper 2013-08-21 11:42:20 UTC
Stacktraces are different, but also see bug 47575
Comment 4 Ralf Schmitt 2013-08-21 11:47:57 UTC

*** This bug has been marked as a duplicate of bug 47575 ***
Comment 5 Ralf Schmitt 2013-08-21 11:48:33 UTC
it's the same bug.

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


Navigation
Links