Skip to Content
Menu
This question has been flagged
1549 Views

Hello,

I am on Odoo 12 + Ubuntu.

I tried to print more than 1000 pages with simple qweb but it's bug (  Wkhtmltopdf a échoué (code d'erreur : -6). Message : b'' ).

<?xml version="1.0"?>
<t t-name="fondues.listing">
    <t t-call="web.html_container">
 
        <t t-foreach="range(1500)" t-as="ind">
    <div class="article">1</div>
        </t>

    </t>
</t>

Sometimes with 500 pages, it takes 1-2 minutes to output a pdf.

I have tried everything : ulimit -n up to 1048576, upground limit memory soft and hard to 2199023255552, limit time cpu to 6000, timit time real to 12000

I have already set web.report.url to "http://0.0.0.0:8069" and web.report.url.freez to "True".

web.base.url is "http://my-ip:8069" and when I want to modify it to 0:0:0:0:8069, it reset again to my-ip:8069.


What to do ?

Do you have an example of company where odoov12 is installed and where You create more than 1500 pdfs ?


Thank you.

Sincerely.

Yvan.

Avatar
Discard

Have you found the solution yet? I am facing a similar problem.

Have you found the solution yet? I am facing a similar problem.