[reportlab-users] Layout problem while using KeepTogether flowable
mjf at pearson.co.uk
Mon Aug 23 06:19:39 EDT 2010
On 21/08/2010 14:04, Javier Amor García wrote:
>> You're putting your KeepTogether in a table, which doesn't work.
> Sorry, surely the ill chose name 'sectionRow' has confused you but the
> results of the method are appended to the history's elements not a
> table. So this is not the problem.
Are you sure you're not doing some later processing of the history? (Or
calling something else that does.)
The LayoutError contains a description of the flowable it had trouble
with, which is this bit printed at the bottom of the traceback:
> reportlab.platypus.doctemplate.LayoutError: Flowable <Table at 0x0A20184C 3
> rows x 1 cols> with cell(0,0) containing
> "<Table at 0x0A213A0C 1 rows x 1 cols> with cell(0,0)
> containing\n'<KeepTogether at 0xa213b0c> containing :<Paragraph at
> 0xa213'"(745.26 x 50331681) too large on page 4 in frame
> 'normal'(439.275590551 x 685.88976378*) of template 'Later'
That says it's a table containing a table containing a KeepTogether.
More information about the reportlab-users