Strange error :/

3 views
Skip to first unread message

SebASoul

unread,
Sep 7, 2010, 1:45:09 AM9/7/10
to mwlib
Hi

I try to generate more than 5 pages (in result more than ~50 PDF
pages) and my Wiki generate errors like this:

RuntimeError: RuntimeError: command failed: ['mw-zip', '-o', u'cache/
cd/cd6c6c212fbfd06e/collection.zip', '-m', u'cache/cd/cd6c6c212fbfd06e/
metabook.json', '--status', u'qserve://localhost:14311/
cd6c6c212fbfd06e:makezip', '--config', u'http://motlawa.int.com.pl/
wiki', '--template-blacklist', u'MediaWiki:PDF Template Blacklist', '--
template-exclusion-category', u'Omi\u0144 w druku', '--print-template-
prefix', u'Drukuj', '--print-template-pattern', u'$1/Wydruk', '--
username', u'user01', '--password', '{OMITTED}', '--domain', u'local']
in function system, file ./code/sandbox/nslave.py, line 36 in function
qaddw, file /home/tools/local/lib/python2.6/site-packages/
mwlib-0.12.13-py2.6-linux-x86_64.egg/mwlib/async/slave.py, line 64

When I try to generate pages simple one or two connected together...
(less then ~50 PDF pages, the same pages like in first example) then
automat generate it perfectly - what I doing wrong?
Does the external render is a limit? (I use external render
(default) ).

best regards
Sebastian

P.S. Sorry for my level of english :/

Ralf Schmitt

unread,
Sep 7, 2010, 10:53:22 AM9/7/10
to mw...@googlegroups.com
SebASoul <seba...@gmail.com> writes:

> Hi
>
> I try to generate more than 5 pages (in result more than ~50 PDF
> pages) and my Wiki generate errors like this:
>
> RuntimeError: RuntimeError: command failed: ['mw-zip', '-o', u'cache/
> cd/cd6c6c212fbfd06e/collection.zip', '-m', u'cache/cd/cd6c6c212fbfd06e/
> metabook.json', '--status', u'qserve://localhost:14311/
> cd6c6c212fbfd06e:makezip', '--config', u'http://motlawa.int.com.pl/
> wiki', '--template-blacklist', u'MediaWiki:PDF Template Blacklist', '--
> template-exclusion-category', u'Omi\u0144 w druku', '--print-template-
> prefix', u'Drukuj', '--print-template-pattern', u'$1/Wydruk', '--
> username', u'user01', '--password', '{OMITTED}', '--domain', u'local']
> in function system, file ./code/sandbox/nslave.py, line 36 in function
> qaddw, file /home/tools/local/lib/python2.6/site-packages/
> mwlib-0.12.13-py2.6-linux-x86_64.egg/mwlib/async/slave.py, line 64
>
> When I try to generate pages simple one or two connected together...
> (less then ~50 PDF pages, the same pages like in first example) then
> automat generate it perfectly - what I doing wrong?

you're probably hitting a timeout here. I think we stop fetching pages
after 90 seconds.

- Ralf

SebASoul

unread,
Sep 15, 2010, 3:39:39 AM9/15/10
to mwlib
On 7 Wrz, 16:53, Ralf Schmitt <r...@brainbot.com> wrote:
>
> you're probably hitting a timeout here. I think we stop fetching pages
> after 90 seconds.
>
> - Ralf

Ok, so I must try to install mwlib on local server to resolve this
error ?
It's the only solution?
Reply all
Reply to author
Forward
0 new messages