Problems trying to print a wiki-book.

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems trying to print a wiki-book.

Giuseppe Castagno-3
Hi all,

I was trying to generate a book, ODF format; this one:

http://wiki.services.openoffice.org/wiki/MediaWiki:Collections/Developer%27s_Guide_-_Writing_UNO_Components

But all I got was this bunch of error:

Render server error
 From OpenOffice.org Wiki
Jump to: navigation, search

An error occured on the render server: RuntimeError: RuntimeError:
command failed: ['mw-zip', '-o',
u'cache/c2/c20549d706f6e457/collection.zip', '-m',
u'cache/c2/c20549d706f6e457/metabook.json', '--status',
u'qserve://localhost:14311/c20549d706f6e457:makezip', '--config',
u'http://wiki.services.openoffice.org/w', '--template-blacklist',
u'MediaWiki:PDF Template Blacklist', '--template-exclusion-category',
u'Exclude in print', '--print-template-prefix', u'Print',
'--print-template-pattern', u'$1/Print'] 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

Is it expected?

--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
beppec56 at openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problems trying to print a wiki-book.

Clayton-24
On 10/11/10 15:04, Giuseppe Castagno wrote:

> Hi all,
>
> I was trying to generate a book, ODF format; this one:
>
> http://wiki.services.openoffice.org/wiki/MediaWiki:Collections/Developer%27s_Guide_-_Writing_UNO_Components
>
>
>
> But all I got was this bunch of error:
>
> Render server error From OpenOffice.org Wiki Jump to: navigation, search
>
> An error occured on the render server: RuntimeError: RuntimeError: command
> failed: ['mw-zip', '-o', u'cache/c2/c20549d706f6e457/collection.zip', '-m',
> u'cache/c2/c20549d706f6e457/metabook.json', '--status',
> u'qserve://localhost:14311/c20549d706f6e457:makezip', '--config',
> u'http://wiki.services.openoffice.org/w', '--template-blacklist',
> u'MediaWiki:PDF Template Blacklist', '--template-exclusion-category',
> u'Exclude in print', '--print-template-prefix', u'Print',
> '--print-template-pattern', u'$1/Print'] 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
>
> Is it expected?
>

Expected... No... but it can happen, and I've seen this error a few times in the
past couple of weeks.  The book rendering is done on an external server which we
have no control over (the PediaPress rendering server which is used for testing
and developing the Book extension).  Sometimes it's offline, sometimes it's
upgraded with the newest rendering server software which breaks things... and so on.

Can you generate a PDF instead of ODT?

If the error continues, we can open a ticket with PediaPress and see if we can
resolve the problem.

C.
--
Clayton Cornell       [hidden email]
OpenOffice.org Documentation Project co-lead

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problems trying to print a wiki-book.

Giuseppe Castagno-3
Clayton wrote:

> On 10/11/10 15:04, Giuseppe Castagno wrote:
>> Hi all,
>>
>> I was trying to generate a book, ODF format; this one:
>>
>> http://wiki.services.openoffice.org/wiki/MediaWiki:Collections/Developer%27s_Guide_-_Writing_UNO_Components 
>>
>>
>>
>>
>> But all I got was this bunch of error:
>>
>> Render server error From OpenOffice.org Wiki Jump to: navigation, search
>>
>> An error occured on the render server: RuntimeError: RuntimeError:
>> command
>> failed: ['mw-zip', '-o', u'cache/c2/c20549d706f6e457/collection.zip',
>> '-m', u'cache/c2/c20549d706f6e457/metabook.json', '--status',
>> u'qserve://localhost:14311/c20549d706f6e457:makezip', '--config',
>> u'http://wiki.services.openoffice.org/w', '--template-blacklist',
>> u'MediaWiki:PDF Template Blacklist', '--template-exclusion-category',
>> u'Exclude in print', '--print-template-prefix', u'Print',
>> '--print-template-pattern', u'$1/Print'] 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
>>
>> Is it expected?
>>
>
> Expected... No... but it can happen, and I've seen this error a few
> times in the
> past couple of weeks.  The book rendering is done on an external server
> which we
> have no control over (the PediaPress rendering server which is used for
> testing
> and developing the Book extension).  Sometimes it's offline, sometimes it's
> upgraded with the newest rendering server software which breaks
> things... and so on.
>
> Can you generate a PDF instead of ODT?

nope, this instead:

An error occured on the render server: RuntimeError: RuntimeError:
command failed: ['mw-zip', '-o',
u'cache/7e/7eae1c9e9b30730b/collection.zip', '-m',
u'cache/7e/7eae1c9e9b30730b/metabook.json', '--status',
u'qserve://localhost:14311/7eae1c9e9b30730b:makezip', '--config',
u'http://wiki.services.openoffice.org/w', '--template-blacklist',
u'MediaWiki:PDF Template Blacklist', '--template-exclusion-category',
u'Exclude in print', '--print-template-prefix', u'Print',
'--print-template-pattern', u'$1/Print'] 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

--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
beppec56 at openoffice.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problems trying to print a wiki-book.

Clayton-24
On 10/11/10 16:20, Giuseppe Castagno wrote:

>> Expected... No... but it can happen, and I've seen this error a few
>> times in the
>> past couple of weeks.  The book rendering is done on an external
>> server which we
>> have no control over (the PediaPress rendering server which is used
>> for testing
>> and developing the Book extension).  Sometimes it's offline, sometimes
>> it's
>> upgraded with the newest rendering server software which breaks
>> things... and so on.
>>
>> Can you generate a PDF instead of ODT?
>
> nope, this instead:
>
> An error occured on the render server: RuntimeError: RuntimeError:
> command failed: ['mw-zip', '-o',
> u'cache/7e/7eae1c9e9b30730b/collection.zip', '-m',
> u'cache/7e/7eae1c9e9b30730b/metabook.json', '--status',
> u'qserve://localhost:14311/7eae1c9e9b30730b:makezip', '--config',
> u'http://wiki.services.openoffice.org/w', '--template-blacklist',
> u'MediaWiki:PDF Template Blacklist', '--template-exclusion-category',
> u'Exclude in print', '--print-template-prefix', u'Print',
> '--print-template-pattern', u'$1/Print'] 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
>

I've looked into this a bit more, and it seems to be a timeout issue.  Short
books (less than 50 rendered pages) generate OK, but longer books fail with this
error.

I've raised a help ticket with PediaPress... so hopefully a solution can be
found.  In the mean time, you could try generating the book you want in smaller
segments.

I'll post back here any results of the help request with PediaPress.

C.
--
Clayton Cornell       [hidden email]
OpenOffice.org Documentation Project co-lead

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problems trying to print a wiki-book.

Giuseppe Castagno-3
Clayton wrote:

> On 10/11/10 16:20, Giuseppe Castagno wrote:
>>> Expected... No... but it can happen, and I've seen this error a few
>>> times in the
>>> past couple of weeks.  The book rendering is done on an external
>>> server which we
>>> have no control over (the PediaPress rendering server which is used
>>> for testing
>>> and developing the Book extension).  Sometimes it's offline,
>>> sometimes it's
>>> upgraded with the newest rendering server software which breaks
>>> things... and so on.
>>>
>>> Can you generate a PDF instead of ODT?
>>
>> nope, this instead:
>>
>> An error occured on the render server: RuntimeError: RuntimeError:
>> command failed: ['mw-zip', '-o',
>> u'cache/7e/7eae1c9e9b30730b/collection.zip', '-m',
>> u'cache/7e/7eae1c9e9b30730b/metabook.json', '--status',
>> u'qserve://localhost:14311/7eae1c9e9b30730b:makezip', '--config',
>> u'http://wiki.services.openoffice.org/w', '--template-blacklist',
>> u'MediaWiki:PDF Template Blacklist', '--template-exclusion-category',
>> u'Exclude in print', '--print-template-prefix', u'Print',
>> '--print-template-pattern', u'$1/Print'] 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
>>
>
> I've looked into this a bit more, and it seems to be a timeout issue.  
> Short books (less than 50 rendered pages) generate OK, but longer books
> fail with this error.
>
> I've raised a help ticket with PediaPress... so hopefully a solution can
> be found.  In the mean time, you could try generating the book you want
> in smaller segments.

will do.

>
> I'll post back here any results of the help request with PediaPress.

many thanks !

--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
beppec56 at openoffice.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problems trying to print a wiki-book.

Clayton-24
On 10/12/10 10:02, Giuseppe Castagno wrote:

>> I've looked into this a bit more, and it seems to be a timeout issue.  
>> Short books (less than 50 rendered pages) generate OK, but longer
>> books fail with this error.
>>
>> I've raised a help ticket with PediaPress... so hopefully a solution
>> can be found.  In the mean time, you could try generating the book you
>> want in smaller segments.
>
> will do.
>
>>
>> I'll post back here any results of the help request with PediaPress.
>
> many thanks !
>

Ok, I have received an answer.  There is a 90 second timeout on mw-zip (one of
the render server components) - that's the total time mw-zip is allowed to run
on the external rendering server.  On larger books, it takes longer than 90
seconds for mw-zip to run... so it errors out.

There also seems to be some DB connection error that is being generated... but
the error message is somewhat unhelpful (an "unknown error").

I don't see any obvious immediate solution on the server side other than to
install and run our own rendering server.  That is something I've been
discussing with the IT support guys, but there are some technical limitations to
the current server config that blocks us from installing the render server.  It
can be done, but requires a reconfiguration of the Solaris Zones to make it
work.  It might be possible to do this around the same time as when the Wiki
engine is upgraded.... but don't hold your breath waiting... it will take a
while before that happens.

The "workaround" for now (unless the PediaPress guys come up with another
suggestion) is to generate shorter books.

C.
--
Clayton Cornell       [hidden email]
OpenOffice.org Documentation Project co-lead

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]