[reportlab-users] LayoutError - table doesn't fit on a page

Robin Becker robin at reportlab.com
Thu Feb 17 11:51:40 EST 2011


On 17/02/2011 16:29, Aljoša Mohorović wrote:

> i'm getting this error because table is larger than page but i don't

> know how to tell doc/table to expand to next page.

> any help appreciated.

>

> Aljosa Mohorovic

>


It appears that your Image is too large to fit on a page so no matter what the
table tries to do you'll get problems with the framework objecting that it
cannot split etc etc. Currently the cowardly Table class refuses to split cells
so it won't do that. You could try setting some reasonable sizes in the Image
creation.



> exception:

> ==========================

> Exception Type: LayoutError

> Exception Value:

> Flowable<Table at 0x01F609E0 1 rows x 2 cols> with cell(0,0) containing

.......
--
Robin Becker


More information about the reportlab-users mailing list