PDF Generation fails, components are not loading in allowed time

I have a fairly complex report generator in-progress, I use a ‘base’ for that adds other forms as components. I use a background task to assemble all the data, plot figures, etc., and then call the PDFRenderer. Any experience in this realm? Can I change the base form, placement of adding those components (I was doing it in init, moved them all to form_show, to no avail. Are there simply limits I’m running into?

python
pdf = PDFRenderer(quality='original', page_size=[22,28], margins={'top':.25,'bottom':.25,'left':.25,'right':.25},filename=fname).render_form('a1_BASE', pdfmtx, pages)  

Exception: PDF generation failed: Components did not load within allowed time.

I hope this helps: Exception: PDF generation failed: Components did not load within allowed time - #3 by stefano.menci

1 Like